Menu
Forums
Login | Register

Home > Forums > OpenGL > How can i show text with opengl?? Page :  1 
How can i show text with opengl??
please help me with that i have followed all the tutorials of opengl but it is not mentioned thanks
Hi,

You basically have to render textured quads onto the screen, with each quad containing a letter of the text you require to be printed.

Regards,
Grant
Hmm ok thanks but im new in this so i dont know what is a quad, can you explain me more, or give me a piece of code? thank you very much
Hi,

If you have a look at the tutorial :

http://www.zeuscmd.com/tutorials/opengl/05-Primitives.php

It will show you how to render a quad (bottom left shape). A quad is essentially a 2D shape with 4 sides e.g. square / rectangle.

Regards,
Grant
ok thx but the letter?? do i have to draw it?? thank your for your patience
Hi,

You will need to use a texture. There are not yet tutorials for OpenGL on this but you can have a look at the OpenGL ES tutorials which are very similar :

http://www.zeuscmd.com/tutorials/opengles/17-TextureMapping.php

Regards,
Grant
Ok i will check it thanks

Home > Forums > OpenGL > How can i show text with opengl?? Page :  1 

You need to be logged in to reply to this topic.


All Rights Reserved, © Zeus Communications, Multimedia & Development 2004-2005

Read the Disclaimer

Links