Structure that describes basic entities per face for solid or surface mesh representations. More...
Structure that describes basic entities per face for solid or surface mesh representations.
In the context of solid or surface mesh representations, an entity can be a triangle, a fan, or a strip, with all declinations described for the the A3DTess3DData structure.
The m_uiStyleIndexesSize member has these values:
The following A3DTessFaceData members are for wireframe faces:
Consider an example of an A3DTessFaceData structure in which both loops describe closed wire edges:
For this example, the m_puiSizesWires array has these entries: [0x0010, 0x4020, 0x4012]. The second and third array entries are the number of edges ANDed with the kA3DTessFaceDataWireIsNotDrawn (0x4000). Notice that the indexes for each edge's extremity are always stored. Therefore, the tenth point of the first edge is followed by the first point of the second edge.
The following A3DTessFaceData members are for solid representations:
Consider an example of an A3DTessFaceData structure that describes five triangles, two fans of 5 and 7 points respectively, and one strip of 11 indexes. For this example, set m_usUsedEntitiesFlags to kA3DTessFaceDataTriangle & kA3DTessFaceDataTriangleFan & kA3DTessFaceDataTriangleStripe
m_puiSizesTriangulated is [5,2,5,7,1,11].
In case of the tessellation type kA3DTessFaceData*OneNormal, the number of points can bear the flag kA3DTessFaceDataNormalSingle, modifying the way of reading normals information. In such a case, you must use kA3DTessFaceDataNormalSingle to characterize status and kA3DTessFaceDataNormalMask to access to real value.
The following A3DTessFaceData members also apply to solid representations:
A3DUns16 A3DTessFaceData::m_usStructSize |
Reserved; must be initialized with A3D_INITIALIZE_DATA.
A3DUns32 A3DTessFaceData::m_uiStyleIndexesSize |
Size of next array.
A3DUns32* A3DTessFaceData::m_puiStyleIndexes |
Array of display styles. See explanations above.
A3DUns32 A3DTessFaceData::m_uiStartWire |
See explanations above.
A3DUns32 A3DTessFaceData::m_uiSizesWiresSize |
Size of next array.
A3DUns32* A3DTessFaceData::m_puiSizesWires |
See explanations above.
A3DUns16 A3DTessFaceData::m_usUsedEntitiesFlags |
Bit field containing list of used entities in current face tessellation. See explanations above.
A3DUns32 A3DTessFaceData::m_uiStartTriangulated |
See explanations above.
A3DUns32 A3DTessFaceData::m_uiSizesTriangulatedSize |
Size of next array.
A3DUns32* A3DTessFaceData::m_puiSizesTriangulated |
See explanations above.
A3DBool A3DTessFaceData::m_bIsRGBA |
A value of true specifies that the array is made of RGBA. A value of false indicates that it is made of RGB.
A3DUns32 A3DTessFaceData::m_uiRGBAVerticesSize |
Size of next array.
A3DUns8* A3DTessFaceData::m_pucRGBAVertices |
See explanations above.
A3DUns16 A3DTessFaceData::m_usBehaviour |
See explanations above.
A3DUns32 A3DTessFaceData::m_uiTextureCoordIndexesSize |
See explanations above.