Skip to content

Added support in the glTF codegen to force optional props as required#1310

Merged
j9liu merged 4 commits intomainfrom
gsplat-rc-autogen
Feb 19, 2026
Merged

Added support in the glTF codegen to force optional props as required#1310
j9liu merged 4 commits intomainfrom
gsplat-rc-autogen

Conversation

@weegeekps
Copy link
Contributor

With the new KHR_gaussian_splatting specification we're recommending that writers include the optional values projection and sortingMethod for maximum interoperability. Both of these values are marked optional because they can be ignored by renderers in some cases, but we should follow this advice despite not using them ourselves.

This PR adds support so we can mark optional props as required in the code generator configuration file. It also includes an updated ModelJsonWriter.cpp with this already applied for KHR_gaussian_splatting.

@weegeekps weegeekps requested review from azrogers and j9liu February 18, 2026 21:43
Copy link
Contributor

@j9liu j9liu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @weegeekps ! This looks great to me, just one comment about conventions for our codebase.

@j9liu j9liu added this to the March 2026 Release milestone Feb 18, 2026
@j9liu
Copy link
Contributor

j9liu commented Feb 19, 2026

Merging now, thanks @weegeekps !

@j9liu j9liu merged commit 7413afb into main Feb 19, 2026
28 checks passed
@j9liu j9liu deleted the gsplat-rc-autogen branch February 19, 2026 14:55
@j9liu j9liu restored the gsplat-rc-autogen branch February 19, 2026 14:55
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