Z-fighting problem??

Hello.
I am searching evidence about Z-fighting of OpenCASCADE.
As you know, this is difficult item of Modeling tools.

To this problem(Z-fighting), do you have some way??
If not, Does OpenCASCADE have the solutions for this??

Thanks,
Edward Cho.

Forum supervisor's picture

Dear Edward,
The term Z-fighting usually refers to interference effects appearing in visualization techniques using z-buffer test (as in standard OpenGL), see http://en.wikipedia.org/wiki/Z-fighting.
These effects naturally may appear in OCCT viewer if you have overlapping objects. You should design your application so as to avoid simultaneous display of overlapping objects, if possible.
If this is not possible, in some cases adjustment of rendering parameters such as polygon offsets can help.
Also you can switch to ray tracing visualization which suffers less from this effect.

Best regards
FSR