Skip to content

Conversation

@WeiqunZhang
Copy link
Member

By default, regions with higher density region have higher opacity. In the current implementation, there is no option to change this behavior. At least, I cannot find it. So I added a checkbox for inverting the opacity mapping. This is useful when the high-density region is outside the main volume.

By default, regions with higher density region have higher opacity. In the
current implementation, there is no option to change this behavior. At
least, I cannot find it. So I added a checkbox for inverting the opacity
mapping. This is useful when the high-density region is outside the main
volume.
@chiehjen
Copy link

It works after adding the lines in /Amrvis files and recompile. Thanks a lot !
Screenshot from 2025-10-16 15-02-50

@WeiqunZhang WeiqunZhang merged commit d9d128d into AMReX-Codes:main Oct 16, 2025
1 check passed
@WeiqunZhang WeiqunZhang deleted the invert_opactiy branch October 16, 2025 17:04
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.

2 participants