glPrint
When I use glPrint to display text on the screen and also have something else on the screen it won''t display the text. I''m putting it in the DrawGLScene function and I know I''m putting it in the right place on the screen and I changed the color but it still won''t show up. Any suggestions on how to get it to work?
First make sure that you are initiating it. Next, I would recommend that you switch to Ortho view, and then try positioning the font, as Ortho view is *MUCH* easier to position things in. Thats all I could think of.
------------------------------
Trent (ShiningKnight)
NovaStorm Games
Project: OpenGL baby. None of that new-fangled Die-rect Three Dee
------------------------------
Trent (ShiningKnight)
NovaStorm Games
Project: OpenGL baby. None of that new-fangled Die-rect Three Dee
just a thought, but why not put glOrtho in the print function with some matrix pushes and pops? Sure it''s not a good idea if you display a lot of text in seperate calls, but it''s so much simpler...
Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
Alex BroadwinA-Tronic Software & Design-----"if you fail in life, you were destined to fail. If you suceed in life, call me.""The answer is out there.""Please help, I'm using Windows!"
No, that''s gonna be too slow
I''d encourage a func that sets up the view
InitText()
and one
Init3D() to get back to parspective
then do
Init3D()
Draw
InitText()
DrawText
I''d encourage a func that sets up the view
InitText()
and one
Init3D() to get back to parspective
then do
Init3D()
Draw
InitText()
DrawText
(you can find me on IRC : #opengl on undernet)
Makes good sense... I should do that. Thanks SKSlayer!
Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
Alex BroadwinA-Tronic Software & Design-----"if you fail in life, you were destined to fail. If you suceed in life, call me.""The answer is out there.""Please help, I'm using Windows!"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement