Build A Trimmed Mesh
Slide 3
Create the constraint relationship.
Create The Trimming Relationship
This series of instructions teaches you to create the trimming relationship.
- Examine the hierarchy.
- Let click the mesh node named Terrain_1x1.
- Hold down CTRL and left click the group node named Constraints.
- Both nodes are highlighted.
- Right click and select Create Trimming Relationship from the listed options.
- The hierarchy looks like this:
The software adds a DelaunayTrimModifier and links the trim modifier to
the Constraints group. The software also adds a link to RoadMaterial to the
palette group. Notice that the DelaunayTrimModifier is at the end of the construction history,
coming after the PlanarProjectModifier.
- The worksheet looks like this:
You can see the UV parameters for the mesh have been destroyed. This
is because of the way trimming performs mesh integration. This is relatively easy to fix
in this example.
- Examine the hierarchy and left click DelaunayTrimModifier.
- Now drag it up and to the left of PlanarProjectModifier.
- Release the left mouse button when PlanarProjectModifier highlights.
- The hierarchy looks like this:

- The worksheet looks like this:
The UV values have been restored. This is because the PlanarProjectModifier
is linked to TrailMaterial. The PlanarProjectModifier automatically applies UV values to
any faces using TrailMaterial but not faces using the road material. This works for a single
material - if your mesh has multiple materials before trimming you will have to do some "fixing".
However best modeling practice involves setting up all your constraint trimming before moving on
to perform other modeling operations.
- Save your work.
- Right click over the group node named Constraints and select Toggle Visible from the listed options.
- Select Worksheet » Global Edges from the listed options.
- Feel free to move around the scene.
Create Additional Trimming Relationships
Use the exact same procedure to create trimming relationships for
TERRAIN_1x2, TERRAIN_2x1, and TERRAIN_2x2. This allows you to use one
road mesh to trim against all the terrain meshes. The road mesh is neatly
clipped, including UV values, to each terrain mesh. Changes to the road
mesh can be easily propagated into each terrain mesh. Or you can skip this part and
move on to the next stage of this exercise.