Skip to content

Adds glTF 2.1 features and GLB v3 (64-bit) support#2

Open
mklefrancois wants to merge 4 commits into
nv/all-fixesfrom
mkl/gltf2.1
Open

Adds glTF 2.1 features and GLB v3 (64-bit) support#2
mklefrancois wants to merge 4 commits into
nv/all-fixesfrom
mkl/gltf2.1

Conversation

@mklefrancois

@mklefrancois mklefrancois commented Jul 13, 2026

Copy link
Copy Markdown

Description

This PR introduces comprehensive support for several new features specified in glTF 2.1. It also adds compatibility for GLB (glTF Binary) version 3, which utilizes 64-bit length fields, allowing for larger binary assets.

Key additions include:

  • glTF 2.1 Features: Implements support for unique IDs (uid) for various top-level glTF entities (Animations, Skins, Samplers, Images, Textures, Materials, Cameras, Meshes, Nodes, Scenes, Lights). Adds structures and parsing/serialization for implicit shapes (Box, Sphere, Capsule, Cylinder, Plane) and bounding volumes attached to nodes. Integrates new accessor component types (HALF_FLOAT, INT64, UNSIGNED_INT64) and asset thumbnails.
  • GLB v3 (64-bit) Support: Updates the GLB loader and writer to handle version 3 of the GLB format, which uses 64-bit length fields for chunks. This change enables the processing and creation of glTF binary files exceeding the previous 4GB limit imposed by 32-bit lengths.
  • Type Safety: Updates internal function signatures to use size_t for buffer lengths, enhancing type safety and consistency, especially when dealing with potentially large 64-bit sizes.

Type of Change

  • Bug fix
  • New feature
  • Refactoring (no functional changes)
  • Documentation update
  • Other (please describe):

Signed-off-by: mlefrancois@nvidia.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants