Archived discussion

issue transparency / z-ordering OCC 6.8.0

pythonOCCWed, 10/12/2016 - 16:021 reply

Browse this forum
QuestionAuthor

Hi All,

I'm having issues working with transparency in pythonocc, which is wrapping OCC 6.8.0.
In the image you see that the larger box is at 90% transparency, while the smaller darker grey shell lies within the box, but is rendered on top of it.

Is there a flag in ( V3d_View? ) that I need to set such that depth-sorting is performed / transparency is rendered correctly.
I dont recall having bumped into this issue in earlier OCC versions.

Thanks,

-jelle

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Hello Author,

I don't exactly understand what are you trying to do from description or from the screenshot, but here are two short-cuts:
- In general, transparent object should be displayed on top of opaque objects.
This might be achieved by handling priorities and Z-Layers in OCCT.
- Order-independent transparency is currently available only within Ray-Tracing output in OCCT. You might refer to the following feature request on a bug tracker #27716.