How do I print some text to the screen?
(Not in 3D! just simple text something like printf XD )
(windows,dev c++)
thanks
How do I print some text to the screen?
(Not in 3D! just simple text something like printf XD )
(windows,dev c++)
thanks
gavra.
There are lots of ways, but OpenGL itself has no clue what 'text is' nor how to draw it.
See the OpenGL FAQ: http://www.opengl.org/resources/faq/technical/fonts.htm
If you don't want fancy 3d then GDI will work just fine.
This works on many platforms and was easy to use the few times I have:
http://www.libsdl.org/