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

dataset fails to render (regression from 3.3.3) #19480

Open
BenWibking opened this issue May 1, 2024 · 8 comments
Open

dataset fails to render (regression from 3.3.3) #19480

BenWibking opened this issue May 1, 2024 · 8 comments
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood

Comments

@BenWibking
Copy link
Contributor

Describe the bug

My AMReX datasets fail to render with VisIt 3.4.1 and instead render as black surfaces. They worked with 3.3.3.

Also, the GUI in the main viewer window does not allow the user to stop the camera rotation, so once the user clicks inside the viewer window, the camera rotation cannot be unselected. This does not happen with 3.3.3.

Helpful additional information

  • Did VisIt crash: no
  • Did you get wrong results: yes

To Reproduce

Steps to reproduce the behavior. For example:

  1. Open the included AMReX dataset using it's 'Header' file.
  2. Apply the Extrude operator.
  3. Create a Pseudocolor plot of the "temperature" field.
  4. See the incorrect rendering. It is also impossible to "unselect" the camera rotation in the viewer window.

3.4.1 screenshot (incorrect):
Screenshot 2024-05-01 at 3 08 48 PM

Expected behavior

The rendering should look like this:
Screenshot 2024-05-01 at 3 10 38 PM

Attachments

  • Can you reproduce the bug on our test data? No
    • If so, which file?
    • If not, access to your data would be very helpful. If the data set is small, please zip and upload it as an attachment. If it is large, please provide instructions for how we can contact you to obtain this data.
  • Please attach a (zipped) sessionfile to easily reproduce (In the viewer, use File->Save Session).
  • Please attach any screenshots relevant to understanding the issue.

Zipped sessionfile and dataset:
visit_341_reproducer.tar.gz

Desktop

  • OS and version: macOS Sonoma 14.4.1
  • VisIt Version: 3.4.1
  • Server info (if applicable): N/A

Additional context

The incorrect rendering may be related to: #17602.
However, this issue happens even without volume rendering, which is a regression from 3.3.3.

@BenWibking BenWibking added bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood labels May 1, 2024
@cyrush
Copy link
Member

cyrush commented May 1, 2024

Thanks for this report, I an reproduce the black render both on macOS and Linux, so it's not macOS specific.

VTK-9 may be the source of the rendering difference.

I can see the field if I elevate with zero height, but that won't be a workable solution.

@cyrush
Copy link
Member

cyrush commented May 1, 2024

I can't reproduce the rotation issue, can you describe that a bit more?

@BenWibking
Copy link
Contributor Author

I can't reproduce the rotation issue, can you describe that a bit more?

It's a bit hard to describe, so here is a screen recording. I restored the session, and then moved my cursor in and around the main viewer window. It behaves as if I immediately click the left mouse button as soon as my cursor enters the viewer window (which I am not doing). This means that whenever the pan/zoom tool is activated, I can't move the cursor across the viewer window without causing a camera rotation. The same is true of the zoom tool and the pick tool: if I activate either of these as I did in the screen recording, it then acts as if I pressed the left mouse button as soon as the cursor enters the viewer.

VisIt.Screen.Recording.2024-05-01.at.5.50.25.PM.mov

@biagas
Copy link
Contributor

biagas commented May 2, 2024

@BenWibking The spatial extents are very large. As a workaround until we can sort out the internal problem with very large extents there is a workaround: Apply the Transform operator with the Scale option. 1e-10 worked well for me for both x and y.

@BenWibking
Copy link
Contributor Author

@BenWibking The spatial extents are very large. As a workaround until we can sort out the internal problem with very large extents there is a workaround: Apply the Transform operator with the Scale option. 1e-10 worked well for me for both x and y.

That fixes the scaling issue, but VisIt is still unusable due to the camera rotation bug:

Screen.Recording.2024-05-01.at.10.21.38.PM.mov

As you can see above, on my internal laptop display, there also appears to be an issue with font sizes. That issue goes away when I use an external display (used for the previous screen recording).

@biagas
Copy link
Contributor

biagas commented May 9, 2024

@BenWibking The spatial extents are very large. As a workaround until we can sort out the internal problem with very large extents there is a workaround: Apply the Transform operator with the Scale option. 1e-10 worked well for me for both x and y.

The black window seen when rendering data with large spatial extents can be duplicated with a very simple VTK dataset.
I created VTK issue 18467 a couple of years ago.

@BenWibking
Copy link
Contributor Author

My viewer window bug appears to be the same as this issue: #19506, although I don't have an external USB-C mouse to test immediately on my Mac to confirm.

@BenWibking
Copy link
Contributor Author

My cursor issue is fixed by using an external mouse.

@BenWibking BenWibking changed the title dataset fails to render + viewer window bug with 3.4.1 (regression from 3.3.3) dataset fails to render (regression from 3.3.3) May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood
Projects
None yet
Development

No branches or pull requests

3 participants