For a simpler trihedron you can choose V3d_WIREFRAME instead of V3d_ZBUFFER as last parameter to TriedronDisplay. Then ZBufferTriedronSetup() should not be necessary.
Kind regards,
Commenter-1
02Author
Thanks a lot, Timo.
03Author
Hi, Timo:
I did see beautiful 3-color triedron, but the weird thing is, when I pan the object in the view, triedron will follow.
Any advices?
04Commenter-1
This behaviour was fixed in the maintenance release 6.3.1 of Open Cascade.
So, either you contact OCC company to get this release.
Or you wait for the public release of OCC 6.4 in December 2010.
Or you look at http://sourceforge.net/projects/opencascade/files/
There is also a Fix (fix235) for this problem.
It says in readme.txt:
- Summary: Incorrect placement of ZBuffer trihedron
- Detailed description: OpenGl_triedron.c used weird check isWithinView and correctly placed ZBuffer trihedron only when the model went out of the view. Fix ignores this check. Sergey Anikin claimed this must have been fixed in 6.3.1.
Commenter-1
05Commenter-2
"Wait for half a year to get a fix for a solved problem"
I do not know whether to laugh or weep when I read this.
06Author
Thank you so much, Timo. You are so kind. I will get fix from Sourceforge.