Expand description
The support preview chunk (SPEC.md, section 9): for support leaves,
which are stored with an empty mesh, the mesh of the supports as they were
when the file was written, so that any reader can show them.
Each mesh is a whole mesh chunk payload, so it is checked, and kept, like any other mesh.
previews u32 count, then per preview:
u32 the support leaf's node index in the scene chunk
u32 length, mesh chunk payload (version 1)Structs§
- Support
Preview - What a reader that skips the supports chunk can show for one support leaf.
Enums§
- Decode
Previews Error - Why a support preview payload could not be decoded.
- Encode
Previews Error - Why a list of support previews could not be encoded.
Constants§
- SUPPORT_
PREVIEW_ TAG - The tag of the support preview chunk.
- SUPPORT_
PREVIEW_ VERSION - The support preview payload layout this build writes and reads. It holds meshes of mesh chunk version 1.
Functions§
- decode_
previews - Decodes a support preview payload, checking it against
scene, the scene of the same file. - encode_
previews - Encodes
previewsas a support preview payload, checking them againstscene.