Skip to content
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

Fix VolumeVisual artifacts with mip/minip if nothing was found #2115

Merged
merged 2 commits into from Jun 29, 2021

Conversation

brisvag
Copy link
Collaborator

@brisvag brisvag commented Jun 29, 2021

This fixes #2114. While this does not affect anything currently, it will cause problems in the future (such as with clipping planes).

Copy link
Contributor

@alisterburt alisterburt left a comment

Choose a reason for hiding this comment

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

good stuff, works perfectly!

Copy link
Member

@almarklein almarklein left a comment

Choose a reason for hiding this comment

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

Thanks! How do you mean that this change will affect clipping planes in the future? I guess we'll deal with it then?

vispy/visuals/volume.py Outdated Show resolved Hide resolved
Co-authored-by: Almar Klein <almar@almarklein.org>
@brisvag
Copy link
Collaborator Author

brisvag commented Jun 29, 2021

Thanks! How do you mean that this change will affect clipping planes in the future? I guess we'll deal with it then?

This change will affect them in the sense that it preemptively solves a bug that was uncovered by a tentative implementation of clipping planes (see this comment)

@djhoese
Copy link
Member

djhoese commented Jun 29, 2021

Looks good. Thanks for porting this so quickly.

@djhoese djhoese merged commit 7e7aecd into vispy:main Jun 29, 2021
@djhoese djhoese changed the title Do not refine mip/minip if nothing was found Fix VolumeVisual artifacts with mip/minip if nothing was found Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VolumeVisual max/min intensity projection failure mode
4 participants