-
Notifications
You must be signed in to change notification settings - Fork 246
Implement support for KHR_gaussian_splatting and KHR_gaussian_splatting_compression_spz_2
#1262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
One random thing to note, might be a concern might not, the SPZ decoding rewrites the color channel to always be a float. This is because I was having some issues with handling conversions to the |
|
Some things I'd like to fix with the
|
It now matches the official vcpkg one as of `2025.09.17`, plus it adds the `loadSpz.patch` patch to add an overload of loadSpz taking a raw pointer.
This overlay port comes directly from this PR into vcpkg: microsoft/vcpkg#47983
|
@kring Looks like we are held up by the 2.1.0 release of spz not yet propagating to whatever source the runners are using, but besides that I think it's good to go. |
Closes #1219. This PR adds support for the new
KHR_gaussian_splattingextension and theKHR_gaussian_splatting_compression_spz_2extension. The latter is the majority of this PR - it implements SPZ decoding using the spz library, allowing glTFs with SPZ payloads to be read. It also implements backwards compatibility for theKHR_spz_gaussian_splats_compressionandKHR_gaussian_splatting_compression_spzextensions, previous iterations that have already had some tilesets created using them.