Going through the documentation, I read this on the OSPGroup definition:
All geometries and volumes assigned to geometry or volume will be clipped. All clipping geometries from all groups and Instances will be combined together – a union of these areas will be applied to all other objects in the world.
I made a test scene to confirm the statement so that, even though I added the clipping geometry to a group, other group instances are clipped as well.
In our visualization tool, based on OSPRay, some of the use cases that we have require that some geometry is clipped, while other remains non clipped at all.
Is there a way to achieve this in the current version of OSPRay (2.8.0) or is it possible to have it?
Currently, to bypass this limitation, we have to implement our own renderers, adding a custom parameter to the material so that when we hit a primitive, depending on the aforementioned parameter and the clipping planes on the scene, we clip the geometry or not.
We are on the process of updating the version of OSPRay we use to the latest release, and this is the only bit that prevent us from using OSPRay out of the box.
Hello,
Going through the documentation, I read this on the OSPGroup definition:
I made a test scene to confirm the statement so that, even though I added the clipping geometry to a group, other group instances are clipped as well.
In our visualization tool, based on OSPRay, some of the use cases that we have require that some geometry is clipped, while other remains non clipped at all.
Is there a way to achieve this in the current version of OSPRay (2.8.0) or is it possible to have it?
Currently, to bypass this limitation, we have to implement our own renderers, adding a custom parameter to the material so that when we hit a primitive, depending on the aforementioned parameter and the clipping planes on the scene, we clip the geometry or not.
We are on the process of updating the version of OSPRay we use to the latest release, and this is the only bit that prevent us from using OSPRay out of the box.
Kind regards.