Drawing Models Through Application Layer¶
In Gemini Terrain, we can draw internal models such as roads, intersections, and excavation pits using the presentation rules of an application layer. This method gives us access to advanced presentation options.
How It Works¶
All lines and triangle nets in the models receive a code for the LTYPE property that we can link to a presentation rule in the application layer.
Ready-made Presentation Template
A template with presentation rules linked to the LTYPE property has been created. The template is called ModellPresentasjon.al_ and is a good starting point for further adaptations to individual projects.
For more detailed information about presentation rules and setup, see the application layer documentation.
Codes for Model Objects¶
Below we describe which codes the objects in the different models receive.
Road Body¶
Lines

Illustration of line types (LTYPE) for road model
Surfaces (represented by triangle nets)

Illustration of surface types for road model
Intersections and Excavation Pits¶
For lines and triangles in intersections and excavation pits, we set the line type with the following rules:
- Triangles: 10,000 + LayerID (only the main triangle net is used)
- Lines: 1,000,000 + LayerID × 10,000 + lineID (lineIDs are fixed when they come from intersection models)
Presentation Examples¶
The examples below show what we can achieve by drawing road models through application layer.
Presentation in Plan View¶
In plan view, we can have different hatching on all road surfaces:

Example of road model in plan view with different hatching for the various surfaces
Presentation in 3D View¶
In 3D view, we can assign different materials to all surfaces:

Example of road model in 3D view with different materials on the various surfaces