Extracting a Point Feature as a Prop (Adding a SpeedTree)

In the tutorial “Adding Feature Data to a GDB Terrain“ on page 504, we explain how to add a point feature to a GDB terrain and add the terrain as a feature layer. In this tutorial, we extract the point feature and map it to a SpeedTree model. This tutorial assumes that you have completed the companion tutorial. Once the GDB file is added as a feature layer, you can extract the feature as a prop and map it to a model.

Procedure 211: Extracting a Feature as a Prop

  1. Load the LittlePond terrain.

  2. Choose Settings > Terrain. The Terrain Settings dialog box opens.

  3. Select the Add Props page.

  4. Click the Add icon (Add icon) next to the list of Feature Layers.

  5. Select myLittlePondFeatures.gdb.

  6. In the Build Rule group box, click the Add icon (Add icon). The Build Field/Value Pair dialog box opens.

  7. In the Field list, select DtFeatureName. The Value should be automatically set to Trees (Figure 229).

    Figure 229: Build Field/Value Pair dialog box

    Build Field/Value Pair dialog box

  8. Click OK.

  9. In the Prop Type list, select Tree.

  10. In the Model Definition list, select the type of tree that you want to add, such as TreesGiantRedwoodSt (Figure 230).

    Figure 230: Full build rule specified

    Full build rule specified

  11. Click Execute Rule. The tree is added to the scene where the point feature was located in the GDB file (Figure 231).

    Figure 231: New tree in Little Pond

    New tree in Little Pond