Skip to content

Fix the derivation of the number of cameras in the rasterization kernels that would be incorrect when in packed mode.#412

Merged
swahtz merged 1 commit into
openvdb:mainfrom
swahtz:fix/rasterize_packed_num_cameras
Jan 14, 2026
Merged

Fix the derivation of the number of cameras in the rasterization kernels that would be incorrect when in packed mode.#412
swahtz merged 1 commit into
openvdb:mainfrom
swahtz:fix/rasterize_packed_num_cameras

Conversation

@swahtz

@swahtz swahtz commented Jan 14, 2026

Copy link
Copy Markdown
Contributor

I noticed that the value for the number of cameras was being incorrectly taken from the batch dimension of means2d but when in packed mode, this would be the number of gaussians, not the number of cameras. Fixed up this logic, made comments about dimensions more complete and added some tests.

Signed-off-by: Jonathan Swartz jonathan@jswartz.info

…els that would be incorrect when in packed mode.

Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
@swahtz swahtz requested a review from a team as a code owner January 14, 2026 04:51
@swahtz swahtz requested review from blackencino and sifakis January 14, 2026 04:51
@harrism harrism added the bug Something isn't working label Jan 14, 2026

@harrism harrism left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the fix, and adding those tests is a big improvement in coverage!

@swahtz swahtz merged commit ca3b81f into openvdb:main Jan 14, 2026
39 of 40 checks passed
@swahtz swahtz deleted the fix/rasterize_packed_num_cameras branch January 14, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants