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

Particle volume rendering becomes very slow for nonuniform particles #593

Open
ansnanzhang opened this issue Jul 19, 2024 · 1 comment
Open

Comments

@ansnanzhang
Copy link

We use OSPRay version 2.10. The purpose is visualizing SPH based fluid simulation results, so we import the particles as a particle volume and specify an isosurface as the fluid surface. When we use fixed size of particles, the rendering is good. When we modulate the particle radii with a variable, the raytracer becomes very slow, even though the surface is set to be opaque. For example, in a dataset, the average particle size is 2e-3, while the smallest size is 1e-8. In such a situation, it even hangs. Filtering out the small particles is helpful, but it is hard to set a perfect threshold.

@johguenther
Copy link
Contributor

It may help to tune the particle volume parameters radiusSupportFactor and clampMaxCumulativeValue. Pinging @gregjohnson for additional suggestions or insights.

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

No branches or pull requests

2 participants