-
Notifications
You must be signed in to change notification settings - Fork 334
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
[Bug] MIP Viewport Loses LABELMAP_EDGE_PROJECTION_BLEND Effect After resize #1814
Comments
Hi, |
It seems like the issue is related to If you comment out this section, it works fine: viewports.forEach((viewport, idx) => {
viewport.setViewPresentation(presentations[idx]);
}); My guess is that |
i uncommented the part of code you provided. it still breaks? i checked it with the pr link, stada526 provided. if you just do this, it breaks
more specifically, i found out that resetting camera is what's causing this.
i would like to provide more info if you think i'm on the right path. |
providing some context obtained from the office hours: problem might stem from i forgot what else was discussed on this :) |
Describe the Bug
With
LABELMAP_EDGE_PROJECTION_BLEND
, calling the resize function causes an issue where the MIP viewport changes, and it appears thatLABELMAP_EDGE_PROJECTION_BLEND
is no longer applied.Steps to Reproduce
I've prepared an example to reproduce this issue.
yarn run example labelmapMIP
2025-02-05.14.31.08.mov
The current behavior
After calling the
resize
function, it appears thatLABELMAP_EDGE_PROJECTION_BLEND
is no longer applied.The expected behavior
LABELMAP_EDGE_PROJECTION_BLEND
remains applied.OS
maxOS 15.1
Node version
v21.7.1
Browser
Chrome 130.0.6723.117
The text was updated successfully, but these errors were encountered: