Skip to content

Fix build-lod SH degree clamping logic#359

Open
asundqui wants to merge 1 commit into
mainfrom
asundqui/fix-build-lod-clamp-sh
Open

Fix build-lod SH degree clamping logic#359
asundqui wants to merge 1 commit into
mainfrom
asundqui/fix-build-lod-clamp-sh

Conversation

@asundqui
Copy link
Copy Markdown
Contributor

@asundqui asundqui commented Jun 1, 2026

Renamed confusing set_max_sh_degree to better clamp_sh_degree and fix logic. Added the clamping vs. final max_sh_degree to the RAD file annotations.

This fixes #352 . Tested for both Gsplat and Csplat on SOG files with fewer degrees than the max-sh cmdline setting.

…logic. Update build-lod to include clamping and final max_sh in RAD comments.
@mrxz
Copy link
Copy Markdown
Collaborator

mrxz commented Jun 2, 2026

LGTM, clamp_sh_degree is a lot clearer and the options.max_sh argument is only handled once.

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.

build-lod panics on SOG inputs when --max-sh exceeds bundled meta.shn.bands

2 participants