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,
Commenter-1
Archived discussion
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
Discussion
Posts are displayed in their archived order.
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,
Commenter-1
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.