| Data
| Type
| Description
|
| NPOINTS
| uint32
| Number of points
|
| NVERTICES
| uint32
| Number of vertices
|
| SIZE_VERTICES
| uint32
| Total size of vertices data
|
| NLINES
| uint32
| Number of lines
|
| SIZE_LINES
| uint32
| Total size of line data
|
| NPOLYGONS
| uint32
| Number of polygons
|
| SIZE_POLYGONS
| uint32
| Total size of polygon data
|
| NTRIANGLE_STRIPS
| uint32
| Number of triangle strips
|
| SIZE_TRIANGLE_STRIPS
| uint32
| Total size of triangle strips data
|
| NATTRIBUTES
| uint32
| Number of dataset attributes
|
| POINTS
| float32 * NPOINTS * 3
| Coordinates of points (P0x, P0y, P0z, P1x, P1y, P1z, ... P(n-1)x, P(n-1)y, P(n-1)z
|
| VERTICES
| uint32 * ((NPOINTS_0+1) + (NPOINTS_1+1) + (NPOINTS_(N-1)+1))
| array of vertices ((NPOINTS_0, index_0_0, index_0_1, ....), (NPOINTS_1, index_1_0, index_1_1, ....), ..., (NPOINTS_(N-1), index_(N-1)_0, index_(N-1)_1, ....))
|
| LINES
| uint32 * ((NPOINTS_0+1) + (NPOINTS_1+1) + (NPOINTS_(N-1)+1))
| array of vertices ((NPOINTS_0, index_0_0, index_0_1, ....), (NPOINTS_1, index_1_0, index_1_1, ....), ..., (NPOINTS_(N-1), index_(N-1)_0, index_(N-1)_1, ....))
|
| POLYGONS
| uint32 * ((NPOINTS_0+1) + (NPOINTS_1+1) + (NPOINTS_(N-1)+1))
| array of vertices ((NPOINTS_0, index_0_0, index_0_1, ....), (NPOINTS_1, index_1_0, index_1_1, ....), ..., (NPOINTS_(N-1), index_(N-1)_0, index_(N-1)_1, ....))
|
| TRIANGLE_STRIPS
| uint32 * ((NPOINTS_0+1) + (NPOINTS_1+1) + (NPOINTS_(N-1)+1))
| array of vertices ((NPOINTS_0, index_0_0, index_0_1, ....), (NPOINTS_1, index_1_0, index_1_1, ....), ..., (NPOINTS_(N-1), index_(N-1)_0, index_(N-1)_1, ....))
|
| TYPE_ATTRIBUTE0
| uint16
| Type of dataset attribute 0 (including number of components for scalar type)
|
| NATTRIBUTE0
| uint32
| Number of data for attribute 0
|
| TYPE_ATTRIBUTE1
| uint16
| Type of dataset attribute 1 (including number of components for scalar type)
|
| NATTRIBUTE1
| uint32
| Number of data for attribute1
|
| ...
| ...
| ...
|
| TYPE_ATTRIBUTE(NATTRIBUTES-1)
| uint16
| Type of dataset attribute 1 (including number of components for scalar type)
|
| NATTRIBUTE(NATTRIBUTES-1)
| uint32
| Number of data for attribute2
|
| NAME_ATTRIBUTE0
| char * (name length)
| Name of attribute 0
|
| (null)
| char
| (null)
|
| NAME_ATTRIBUTE1
| char * (name length)
| Name of attribute 1
|
| (null)
| char
| (null)
|
| ...
| ...
| ...
|
| NAME_ATTRIBUTE(NATTRIBUTES-1)
| char * (name length)
| Name of attribute (NATTRIBUTES-1)
|
| (null)
| char
| (null)
|
| (Padding)
| char or 0
| Padding (inserted if (NAMESIZE_ATTRIBUTE0+1+NAMESIZE_ATTRIBUTE1+1+...NAMESIZE_ATTRIBUTE(NATTRIBUTES-1)+1) % 2 == 1)
|
| ATTRIBUTE0
| SIZE_ATTRIBUTE0 * (number of components) * (float32)
| Actual attribute data
|
| ATTRIBUTE1
| NATTRIBUTE0 * (number of components) * (float32)
| Actual attribute data
|
| ...
| ...
| ...
|
| ATTRIBUTE(NATTRIBUTES-1)
| NATTRIBUTE(NATTRIBUTES-1) * (number of components) * (float32)
| Actual attribute data
|