As we add more tile formats, 3D Tiles needs to stay consistent.
- Tiles are composed of
sections
such asheader
andbody
. Sections are composed offields
such asmagic
andversion
. - "Feature" - indicates one model in a batch of models (b3dm), one instance in a collection of instances (i3dm), one point in a point cloud (pnts), one polygon in a vector tile (vctr), etc.
- Field names are in camelCase.
Length
- aLength
suffix on a field name indicates the number of elements in an array.ByteLength
- aByteLength
suffix indicates the number of bytes, not to be confused with justLength
.
- Each tile format starts with a header that starts with the following fields:
magic // uchar[4], indicates the tile format
version // uint32, 1
byteLength // uint32, length, in bytes, of the entire tile.
- All binary data, e.g., tile formats, are in little endian.