
Thu, 10/26/2006 - 02:42
Forums:
I have a custom shape class derived from AIS_Shape that allows me to assign either a color or texture to each face. If all faces are colored (not texture mapped) my length dimensions display correctly. However, the moment I apply a texture map to any face the text of the length dimensions displays as a solid yellow rectangle instead of readable text. Has anyone experienced this problem?
Thanks for any help,
Chris
Thu, 11/02/2006 - 08:13
hi Chris,
I am facing the same problem refer
http://www.opencascade.org/org/forum/thread_10355/
May be it is a bug in opencascade6.1. if you get any solution then please share.
Regards,
Anjul
Wed, 02/28/2007 - 23:29
I was able to fix the problem by commenting out lines 526 & 527 in OpenGl_TextureBox.c:
526:
if ((current_texture_data!=textab[ID].data)||
527:
(current_context!=Context))
This forces the texture to always bind.