-
Notifications
You must be signed in to change notification settings - Fork 20
Generative multiresolution demo #597
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
|
On Zulip I was mentioning some thoughts on this PR: https://imagesc.zulipchat.com/#narrow/stream/327495-scenery.2Bsciview/topic/generative.20multires Here is a video that shows the mandelbulb with
sciview_mandelbulb_scale5_v001.mp4[@skalarproduktraum or... is that actually just far plane??] |

This PR provides an entry point for stress testing multiresolution volume rendering.
It provides this multiresolution generative volume:
You can run it with the
mainin this class: https://github.com/scenerygraphics/sciview/blob/bd9530a987765b238d0ae0ac818f134f1a4eea5c/src/main/java/sc/iview/mandelbulb/MultiResolutionMandelbulb.javaAdjust
maxScaleat the top of that main function to increase the resolution pyramid. I have been able to get tomaxScale=4comfortably and5works as well on my M1.Please note that when testing this mandelbulb dataset in pure BigVolumeViewer I was able to go up to
maxScale=18without significant issues.The current limitations that I see are related to how many blocks are loaded into memory (per frame and in total).
VolumeManager.updateBlocksfor the way fillTasks are created to see where this is happening and how the scenery camera is used to determine which blocks to fetch.The mandelbulb can be slow because it is a fractal, too test larger volumes try this in MandelbulbCacheArrayLoader:
This simply changes the intensity value to match the scale that is being rendered. When testing this way I was able to get
maxScale = 9.