O'Reilly logo

Grome Terrain Modeling with Ogre3D, UDK, and Unity3D by Richard A. Hawley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example – volcano island

As we have a blank project ready to roll, the first thing we need for it (or any new project) is some terrain to play with. Terrain grids are constructed from zones and we are going to start with the first button on the toolbar Create. To create terrain for our game we must start with zones.

Our volcano project will need a high level of detail, we're going to make an island of approximately 10 square kilometers. Since we want it to be reasonably detailed, we'll create it with the following values for a 5 square kilometer zone:

Size=5120, Tile no.=512, Tile size=10

Note that our map is not exactly 5 km since we like to use nice computing numbers which are a power of 2. The map measures exactly 5.12 km.

Next we'll mark out ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required