Getting Started Guide (Version 1.10)

Adding Terrain Vegetation

You can use the Vegetation tool to paint 3D mesh objects like trees, shrubs, and grasses onto the terrain. Various settings help you to build organic environments using any type of 3D models you define.

The Vegetation tool offers the following settings:

  • Toolbar – Tools to create, modify, and organize vegetation types 

  • Brush Radius – Size of the brush used to paint vegetation into the level

  • Paint Objects – Switch that enables painting in the level 

  • Objects – List of vegetation objects

  • Table of attributes – List of attributes that can be modified for each vegetation object


In the previous steps, you modified your terrain and added texture. Now you'll use the Vegetation tool to add some trees.

To add trees

  1. In the Rollup Bar, on the Terrain tab, click Vegetation.

  2. In the tools list, click Add Vegetation Category.

  3. When prompted to name the New Category, type Trees. Click OK.

  4. In the Objects list, select the Trees category you just created.

  5. In the tool list, click Add Vegetation Object.

  6. In the Pick Geometry dialog box, expand StarterGame\Objects\Natural\Vegetation.

  7. In the list of .cgf files, use Ctrl+click to select all the .cgf files that refer to trees. Click Open.

    If you paint trees into the environment at this point, every tree would appear with the default brush settings, providing no variation on size, rotation, or spread of the trees.

  8. To create variation in tree size, rotation, and spread, select all the trees in the list and then change the following settings in the attributes list.

    +- Size Var = 0.2

    Amount of variation in tree size

    Random Rotation = Selected (checked)

    Random rotation of trees as they're placed

    Density = 100

    Density of the trees

    Sprite Distance = 50

    Distance from the camera view that vegetation transitions from a mesh to a sprite of that object

  9. Click the Trees group name. Adjust the Brush Radius to 50 (this size is appropriate for filling the terrain space quickly).

  10. Click Paint Objects.

  11. Place your pointer in the Perspective viewport and then click or drag to paint your trees.

    Depending on the tree density you want, you can click once to place a random group of trees. Or you can drag through the space and paint them along a path. Adjust the Brush Radius and Density settings to change the number of trees painted.

    You can repeat these steps to place rocks, bushes, flowers, and grass.

  12. Save your level file.

    Congratulations, you have created your first level environment.