Archived

This topic is now archived and is closed to further replies.

Cherub

urgent font and md3 problem....

Recommended Posts

Cherub    122
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

Share this post


Link to post
Share on other sites
Broni    122
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

    
glPushMatrix();
//..draw the object

glPopMatrix();

glPushMatrix();
//..draw font

glPopMatrix();



This should do it.

Hope this helps

Broni


[edited by - Broni on October 20, 2002 3:10:07 PM]

Share this post


Link to post
Share on other sites