Skip to content

Expose spherical harmonics per splat - #429

Open
hybridherbst wants to merge 1 commit into
sparkjsdev:mainfrom
needle-tools:feature/expose-splat-data
Open

hybridherbst wants to merge 1 commit into
sparkjsdev:mainfrom
needle-tools:feature/expose-splat-data

Conversation

@hybridherbst

Copy link
Copy Markdown

PackedSplats and ExtSplats store spherical harmonics in separate extra buffers, while the public CPU-side packing/unpacking APIs only work with the core splat attributes and not SH.

This PR includes decoded sphericalHarmonics in the result of unpackSplat, getSplat, setSplat.
Also fixes a bug with SH2 RGB indexing in encodeExtSh12Rgb.

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.

1 participant