RenderKit / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
997 stars 182 forks source link

gradient shading of volume #410

Closed iamkang2 closed 3 years ago

iamkang2 commented 4 years ago

I am trying to visualize a structured volume using scivis renderer. But I couldn't find any way to enable gradient shading. Where can I find a description of gradientShadingEnabled? I already checked the document.

johguenther commented 4 years ago

Sorry for the huge delay. With version 2.0 we removed the option for gradient-based shading of volumes. You can still visualized structured volumes, maybe try the pathtracer (which supports volume rendering now)?

johguenther commented 4 years ago

FYI: we are evaluating if and how to re-add gradient shading for the SciVis renderer in OSPRay v2.x

johguenther commented 3 years ago

Gradient shading is now back (since v2.3). Set gradientShadingScale to 1.0f on the VolumetricModel to enable it for that volume.