-
Notifications
You must be signed in to change notification settings - Fork 439
[WIP - DONT MERGE] fix(fov): fov was not working correctly for other planes #2334
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable
|
This fix seems to break the stack viewports in many cases, and I am not sure if it would work for volumes with oblique orientation. Using the legacy FOV calculation method for volume viewports could possibly be a quick fix: |
Yeah this is broken thats why we changed the title to WIP. We could do legacy for Volume viewport but I believe it still doesn't always make the image take the full canvas. I'm leaving it up until we figure out something consistent |
|
That's definitely true. Using the legacy scaling as fallback might still make sense for the interim time because the current release version is often cropping a significant number of slices in volume viewports (thus, the legacy scaling should be preferable - even if not perfect). |
|
can you send us some screenshots of how much is it missing? |
|
I think this is related issue #2168 |

Context
The old code was not determining correctly which extent dimensions to use based on the view plane normal, now its fixed to use: