An Introduction to World Machine

Written December 26th, 2008
Categories: Articles, Modeling

Hello, and welcome to my World-Machine 2 Primer.  During this tutorial, you’ll learn about how the World-Machine interface works, how you can manipulate the node-graph, and how you can export the resultant terrain to 3dsMax or Vue d’Esprit.  My goal is to get you up and running with the program as quickly as possible, so I’ll be showing you the very core fundamentals so that you can get output from the program.  More advanced features and techniques will be discussed in the next few sections of this primer.  If you don’t already have World-Machine, consider downloading the trial version so that you can follow along!

The World Machine Startup Screen

World-Machine Start Screen

The startup screen shows you the node graph; the diagram representation of how your terrain will be built.  The left group is the terrain creation group.  It contains a single terrain generator.  Notice beneath the node, it reads “Advanced Perlin”.  This means that this node is generating advanced Perlin noise.  Similarly, you’ll notice the other nodes read “Terrace” and “Height Output”.  The terrace filter creates a stair-stepped look in the terrain, while the height output node allows you to save the resultant terrain to a file.  You don’t have to put your nodes inside these groups; they’re optional.  They are included in the startup screen to help you visualize what’s going on in this simple graph.

Terrain Preview

World-Machine Terrain Preview

Notice on the top left of your screen, there’s a small terrain preview.  This shows you what your terrain looks like at a given part of the node graph.  Try selecting the “Advanced Perlin” node, and look at the preview.  Then select the “Terrace” node and notice the difference.  You should see something similar to the image on the right.  When you select a node, World-Machine displays the terrain you would get if you exported from that node in the graph.  This is very useful when you’re inserting new nodes into the graph to achieve certain effects.

This also has an impact on rendering or “building” your terrain.  Notice the green and yellow round buttons along the top toolbar.

Build Control

These control the build.

The green button, when clicked, builds all nodes, regardless of whether they’re before or after of the node you’ve selected.  The yellow button, however, builds only the nodes up to (and including) the node you currently have selected.  For example, if you select the “Advanced Perlin” node and click the yellow button, World-Machine will only render the heightfield generator, and ignore the “Terrace” node.  You’ll realize the value of this button when you start working with terrains so complex that they bog down your machine if you try to render the entire solution every time.

Let’s try that now.  Click the green button to render the entire hieghtfield.  You’ll notice a window appear that displays the build process.  This progress window is miles above what it used to be now that it includes a device breakdown.  When the build is complete, you can click “OK” to close the dialog.  If you find it annoying for smaller builds, you can choose to have it auto-hide in the dialog found in World Commands >> Preferences.

Now that the build is complete, you can preview the landscape in the 3d view!

Terrain Preview

See your terrain in the 3d preview.

Notice that instead of the node graph highlighted in the button bar, I now have the 3d view button highlighted.  Give it a click, and you’ll see the high resolution version of the terrain.  This view is useful for getting a bird’s eye view of your landscape.  Note that if you’ve made changes to your terrain after building, and then try to use this view, you’ll only get a super-low resolution preview image.


Key World-Machine Controls.

The 3d view is controlled by the left mouse button (rotate), the right mouse button (zoom), and the Up/Down/Left/Right arrows (move the camera on the X/Z plane).  You’ll want to inspect your landscape like this before exporting it to your favorite rendering program.

Alright!  We’ve covered the default scene, as well as building and viewing terrains.  Now we’ll have a quick look at how you can modify the terrain, and then we’ll export the scene.
First, let’s try editing an existing node.  Go back to the node graph by clicking on the graph icon in the button toolbar.  Double click on the “Terrace” node to open a dialog that will alter its properties.  I encourage you to play around with these settings.  For now, I’ll reduce “Terrace Layering” down to 1, which will drastically lower the number of ‘steps’ in the terrain.

Fewer Steps

There are fewer steps now.

I’ve included an example of what my terrain now looks like on the right.  It’s looking pretty good, but it’s still got that fresh terrain feel.  We need to weather the landscape procedurally in order to make it appear more natural.  In addition, we’ll want a more sweeping vista in order to get a good image after the terrain is rendered.

Let’s get to it. Go ahead and click on the “Natural” tab, and click on the very first button on the left called “Erosion”. Click next to the terrace to create a new “Erosion” node. You’ll notice that the color below the new node is red; that is because it is not connected to any other nodes, and will not be included next time you build the terrain. In order for it to have any effect, you’ll need to connect an input to the left side, and an output to the right side of the node.

To do this, just click on the little dark box on the right side of the “Terrace” node and then click on the lighter box on the left of the “Erosion” node. This will link the two together. Now do the same for the output of the Erosion node to the input of the “Height Output” node. It’ll look like the image below when you’re done.


Erosion takes place after the terrace effect.

You should also notice a change in the preview on the upper right of the user interface. It looks like it’s undergoing a kind of melting process. That’s the erosion in action. Because the Erosion and Height Output nodes haven’t been built yet (and have a yellow status icon), you’ll want to click the green “Build All” button and have a look at the full-resolution terrain in the 3d view again. You’ll probably notice at this point that the build takes longer this time. That’s because erosion is an intense process and should be used carefully. If you use too many erosion nodes, you’ll start running into trouble!

I’m going to double click on my Erosion node, and, Under the “Presets” group, I’m going to select ‘A Flood of Slurry’. This step is, of course, optional.

The last step in this tutorial is to increase the size of the terrain and get a broader landscape represented. World-Machine is excellent, in part, because it can create vast landscapes that all adhere to the same procedural rules.

Click the world extents and resolution button.

The “World Extents and Resolution” button is pretty self explanatory. You use this dialogue to alter the resolution of the terrain and how large the single terrain should be when it’s built. If you are using the trial version of the software, you will be unable to select a terrain size larger than 512×512. However, if you’ve already bought the software, go ahead and use 1024×1024 for this demonstration. Under the “Render Extents” group, change the “Width” and “Height” parameters to read 16.00 km each. This will make World-Machine render a larger area over the same amount of pixels. Note that this reduces the resolution per square meter, so keep in mind how big you want your scene when finished.

One final note. The terrain altitude scaling in the upper right corner of the dialogue allows you to set the overall height of the terrain in the preview and 3d view. If you find your terrain looking vertically stretched or squashed, this is the parameter you’re looking for.

That said, let’s take one more full build using the green button, and this terrain should be ready for export.

In order to export the heightfield, we just have to set the right parameters in the “Height Output” node at the end of the graph. Double click on that last, red node, and pick a file format. Generally speaking, you’ll want to use TIFF unless you’re using Terragen in which case .ter is what you need. The other types are for convenience, and if they fit your situation (i.e. BMP/TGA for dame engines) feel free to select those. Once you’ve picked a format, click the “set” button at the top of the dialogue and select an output directory. This directory will be saved, and you can even elect to have World-Machine automatically save the map every time you build. This is a real timesaver!

Our final heightfield!

And that’s it! You now have the very basics you need to understand, manipulate, and save a terrain in World-Machine. There are tons of features to this program, and you’ll discover them most effectively through playing around with parameters and filters. I’ll be writing more tutorials in the future (and maybe even doing a Monday Movie) discussing techniques in World-Machine and how you can use this handy program to boost your pipeline.

5 Responses to An Introduction to World Machine

Leave a reply