Skip to content

Enable parsing comments when using the TinyGLTF or RapidJSON loaders - #3

Merged
NBickford-NV merged 2 commits into
nv/all-fixesfrom
nbickford/parse-comments
Sep 3, 2026
Merged

NBickford-NV merged 2 commits into
nv/all-fixesfrom
nbickford/parse-comments

Conversation

@NBickford-NV

@NBickford-NV NBickford-NV commented Sep 3, 2026 •

Copy link
Copy Markdown

Although comments are non-standard JSON (it's often added in extensions of JSON like JSON5), there's a glTF file that exists out there that uses comments. We'd like to handle that, and thankfully this is a one-line change for each parser TinyGLTF supports.

Tiny repro case: https://gitlab-master.nvidia.com/nbickford/test-gltf-with-comments

Thanks!

Signed-off-by: Nia Bickford <nbickford@nvidia.com>
@NBickford-NV
NBickford-NV force-pushed the nbickford/parse-comments branch from c99ce3f to dfeae22 Compare September 3, 2026 00:12
Comment thread tiny_gltf.h Outdated
Signed-off-by: Nia Bickford <nbickford@nvidia.com>
@NBickford-NV
NBickford-NV force-pushed the nbickford/parse-comments branch from 9155fac to 74ce471 Compare September 3, 2026 11:53
@NBickford-NV
NBickford-NV merged commit 2314b0e into nv/all-fixes Sep 3, 2026
14 checks passed
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