Skip to main content

Point Cloud

Asset ID:point_cloud

A point cloud stored as a kd-tree with per-attribute layer files

Asset schema properties

uuid

uuid

Unique identifier for the asset

name

string

Name of the asset

bounds

object

{

max,

min,

}

Axis aligned bounding box of the entire point cloud

channels

array[object]

Description of the per-point attributes (position, color, etc.)

Channel

A channel is a collection of attributes with some meaning (semantic) for a 3D renderer. An attribute is a constant sized collection of elements (e.g. 3 for vec3, 16 for mat4, etc.). An element is the smallest piece of data manipulated (float32, int8, etc.).

dataOffset

uint64

Offset in bytes from the beginning of the associated buffer where the first element of the first attribute can be found

dataSize

uint64

Size of this channel in bytes

elementCount

uint8

Number of elements that make one attribute. 2 for vec2, 3 for vec3, 16 for mat4, etc.

elementSize

uint8

Size in bytes of a single element (1, 2, 4, 8) for integers, (4, 8) for floats

elementType

uint8

0dt_signed1dt_unsigned2dt_float

Can be either (signed/unsigned) integer or float

semantic

string

indexIndex bufferpositionPositionnormalNormaluvTexture coordinatescolorColorbone_idBone id for skinningweightWeight for skinning

Semantic of the attribute

layerCount

uint32

Number of layers in the kd-tree. The root node is at layer 0

nodeCount

uint32

Number of nodes in the kd-tree

originalPointCount

uint64

Number of points in the original point cloud before any spatial partitioning or filtering was applied

pageSize

uint32

Page size in bytes used for sparse buffer alignment. Each node occupies a multiple of this size per attribute

payloadTotalSize

uint64

Total size in bytes of all attribute layer files. Sum of sizeof(payload.pointCloud.layer<N>-<attribute>.<uuid>) for all layers and attributes

pcasSize

uint32

Size in bytes of the acceleration structure at bake time.

totalPointCount

uint64

Total number of points across all nodes in the tree, including intermediary nodes. Greater than or equal to originalPointCount