The SEDRIS Data Representation Model
APPENDIX A - Classes Primitive Geometry |
---|
An instance of this DRM class specifies data to describe a <Geometry Representation> instance.
A <Primitive Geometry> instance can be used to represent the surface geometry of a vehicle.
One way of doing this is by attaching the <Primitive Geometry> components of U in the order in which they are to be consumed, and setting ordering_reason field of U to SE_ORDREAS_FIXED_LISTED.
As a constraint, <Union Of Primitive Geometry> components of <Continuous LOD Related Geometry> instances are not allowed to have other <Union Of Primitive Geometry> instances within the scope of any of their <Primitive Geometry> components, a mechanism provided to allow a data provider to specify subfacing information. A terrain <Polygon> instance usually does not have subfaces. If there is a terrain <Polygon> instance within another coplanar <Polygon> instance, a <Rendering Priority Level> instance can be provided to determine the correct drawing order. This is usually a layering issue, wherein soil is usually rendered first, then vegetation, then water, and so on.
The <Rendering Priority Level> instance should be handled normally. The siblings for P should be examined and those siblings with a lower rendering priority should be processed before those with a higher rendering priority.
The ordering_reason could still be valid for any of the enumerants currently in SE_Ordering_Reason. The actual drawing order is explicitly defined using a depth-first search for <Primitive Geometry> instances.
EXAMPLE A <Polygon> instance can be decomposed into multiple <Polygon> instances representing subfaces.
|