Skip to content

Fix picking index for volume#1253

Merged
almarklein merged 2 commits intomainfrom
fix-picking-im-vol
Dec 18, 2025
Merged

Fix picking index for volume#1253
almarklein merged 2 commits intomainfrom
fix-picking-im-vol

Conversation

@almarklein
Copy link
Copy Markdown
Member

Closes #1251

The problem was that the encoded value was exactly at the edge of the volume, causing the index to become invalid. Fixed with a well-placed max.

I was a bit confused at first at what the value of the subpixel/subvoxel should be, I clarified this in the docs.

I took the paint_to_texture.py example to test the behavior, modifying it to paint to a mip-volume to make sure that the image and volume picking are consistent.

@almarklein almarklein merged commit 63b1a42 into main Dec 18, 2025
32 of 35 checks passed
@almarklein almarklein deleted the fix-picking-im-vol branch December 18, 2025 15:54
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.

How to interpret index pick info for MIP volume rendering

2 participants