Tess3D
Types
Functions
Detailed Description
- group a3d_tess3d
Tessellation for solids and surfaces.
Entity type is kA3DTypeTess3D.
An A3DTess3D is a tessellation dedicated to solids and surfaces. This structure is a derivation of A3DTessBase and can be obtained by using the A3DTessBaseGet function on any A3DRiRepresentationItem. This structure may contain collections of points that define mesh vertices, normals (per vertex, per entity), and UV coordinates if textures are stored.
Function Documentation
-
A3DStatus A3DTess3DGet(const A3DTess3D *pTess, A3DTess3DData *pData)
Populates the A3DTess3DData structure.
- Version
2.0
- Return values:
A3D_INITIALIZE_NOT_CALLED –
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_INVALID_ENTITY_NULL –
A3D_INVALID_ENTITY_TYPE –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure
-
A3DStatus A3DTess3DCreate(const A3DTess3DData *pData, A3DTess3D **ppTess)
Creates an A3DTess3D from an A3DTess3DData structure.
- Version
2.0
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_TESS3D_NORMALS_INCONSISTENT_DATA –
A3D_TESS3D_NORMALS_BAD_SIZE –
A3D_TESS3D_FACE_INCONSISTENT_DATA –
A3D_TESSFACE_TRIANGULATED_INCONSISTENT_DATA –
A3D_TESSFACE_TRIANGULATED_INCONSISTENT_EMPTY –
A3D_TESSFACE_USEDENTITIES_BAD_TYPE –
A3D_TESSFACE_STARTTRIANGULATED_INCONSISTENT_DATA –
A3D_TESSFACE_STARTWIRE_INCONSISTENT_DATA –
A3D_TESSFACE_STYLEINDEXESSIZE_INCONSISTENT_DATA –
A3D_TESSFACE_RGBAVERTICESSIZE_INCONSISTENT_DATA –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure