You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next version of Potree will have a new single-file format with *.potree ending.
It uses color-filtered voxels for lower LODs, and original point cloud data for the highest LOD.
The voxel geometry is hierarchically compressed to about 2 bit per voxel. The filtered colors are compressed via a BC-ish compression. Voxels will take about 10 bit per voxel.
Points will be compressed with Brotli, which usually gets it down to ~30%.
Overview
The format comprises four main sections
first 4 bytes: uint32 byte size of metadata
Metadata as JSON string
A hierarchy buffer
Geometry buffers
Metadata
Metadata contains descriptions of point attributes, byte offsets to the hierarchy and geometry blocks, bounding box, and several other infos about the point cloud.
Inner nodes will contain voxel data, leaf nodes will contain point data
Voxel positions are encoded relative to the voxels in the parent node (~2bit per voxel)
Voxel colors are encoded BC-ish (8 bit per voxel)
All children of a node are stored in contiguous memory, allowing us to load all of them in one fetch.
Voxel data is stored in a way that allows us to load the most important attributes of multiple nodes in a single fetch. We first store position and filtered colors of all child nodes in contiguous memory, followed by all the remaining attributes. If we are not using the remaining attributes, we do not have to fetch them. [pos] is an array of all positions, and [color] an array of all colors.
TODOs
Add lots of padding to the metadata section, so that metadata can be altered afterwards without rewriting the entire file.
E.g. capacity for 128kb json? 128kb do not matter much with files that are expected to be GBs large.
Users will need command line tools that can extract the json from a *.potree file, allowing them to modify it in a text editor; and a tool that replaces the metadata of a potree file with a provided json file.
The text was updated successfully, but these errors were encountered:
About
Overview
The format comprises four main sections
Metadata
Metadata contains descriptions of point attributes, byte offsets to the hierarchy and geometry blocks, bounding box, and several other infos about the point cloud.
Example metadata JSON
Hierarchy
Geometry
TODOs
The text was updated successfully, but these errors were encountered: