Click to See Complete Forum and Search --> : OpenGL and Text


Oliver Kinne
June 29th, 1999, 05:19 PM
I'm trying to use text in OpenGL, but somehow it messes up the rendering. I've figured out how to create call lists for the characters that I want to display in OpenGL, and I've got another call list for the actual 3D model that I want to display alongside the text.

When I draw the 3D model on its own or when I draw the text on its own, everything is fine. But if I draw the 3D model and the text, the model becomes very dark, while the text still displays fine.

Any ideas? Any help would be much appreciated.
Oliver.

S_Rao
August 8th, 1999, 10:54 AM
I' also trying to do something like that. Can you please tell how you got it done or give some sample code?
Are you using Windows fonts?
Re: your question, that you've been able to draw it when there's no 3d model, that might have something to do with the scaling.
Try changing the scale with glScalef(x,y,z);

-SR