The road geometrical model


Several elements in this model may not be fully available or operational yet (sideways, roadsigns). We'll do our best to deliver them as soon as possible.

Visualizing roads areas

The structure of a road is illustrated below:

The road view has buttons that allow the control of every part of the road model. A word on each category:

No edge on the left and an edge geometry on the right

A road that has no edge geometry is granted an extra 15 cm width for the round cap on its sides.

Edges and sides are using geometries and plain meshes. These meshes are lofted along edge paths. Roadway and markings are just using materials mapped onto the main mesh or ad-hoc polygons created purposely.

Defining a road geometry

A road geometry used in a network must be defined with the Z axis heading up, and must be defined to be lofted along the +Y axis as shown below:

Up to three geometries can be used in the definition of edges and sides. A start geometry (used once at the beginning of the edge or side contour), a body geometry that gets repeated and an end geometry (also used once).

It's important to dimension these geometries usin a few meters per geometry as they'll get repeated an integer number of times to cover the edge contour they must adapt to. For instance if we have 100 meters of road to cover with geometries that are 5 meters long, we'll use 20 instances. If we have 99 meters to cover, we'll also use 20 instances of the geometries, but they'll get slightly stretched so that 20 x 5 meters = 100 meters is scaled to fit into 99 meters.

The system also avoids generating back flipped triangles for geometries that are too wide and follow a path curvature that is too high for their dimensions.

Using geometries or markings per road point

Side geometries and markings can be enabled and disabled per road point. This is illustrated below: