RenderKit / ospray

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

Restrict clipping to group / subtree #504

Open johguenther opened 2 years ago

johguenther commented 2 years ago

Follow-up of #467 and #500. Currently, clipping is global, affecting all objects in the world. For some use cases this is not optimal, or those cannot be achieved at all. Thus, optionally have means to restrict clipping to a group, for example by introducing OSPGeometricModel[] localClippingGeometry to the Group.