urgent font and md3 problem....
Hi,
I''m having this problem:
I load a md3 model in my app, but when I load fonts the model turns the color of my font and the font disappears.... what could be wrong?
Thanks
You need to pop the push a new matrix onto the stack for use. Otherwise when you change the colour it will affect all the objects drawn.
To push and pop, you do
This should do it.
Hope this helps
Broni
[edited by - Broni on October 20, 2002 3:10:07 PM]
To push and pop, you do
glPushMatrix(); //..draw the objectglPopMatrix();glPushMatrix(); //..draw fontglPopMatrix();
This should do it.
Hope this helps
Broni
[edited by - Broni on October 20, 2002 3:10:07 PM]
Sorry, I didn''t explain myself very well... so... what''s better than a picture to explain it?
Click Here For The Picture!
Click Here For The Picture!
Sorry I didn''t explain myself well.
PUT THIS
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
BEFORE YOU DRAW YOUR MODEL.
PUT THIS
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
BEFORE YOU DRAW YOUR MODEL.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement