How can i show text with opengl?? |
Author :
blackevanuz
Post Date :
2008-02-22 01:05
Posts :
4
|
please help me with that i have followed all the tutorials of opengl but it is not mentioned thanks |
Author :
grant
Post Date :
2008-02-22 06:08
Posts :
117
|
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 |
Author :
blackevanuz
Post Date :
2008-02-25 23:41
Posts :
4
|
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 |
Author :
grant
Post Date :
2008-02-26 06:12
Posts :
117
|
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 |
Author :
blackevanuz
Post Date :
2008-02-26 12:01
Posts :
4
|
ok thx but the letter?? do i have to draw it?? thank your for your patience |
Author :
grant
Post Date :
2008-02-26 12:03
Posts :
117
|
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 |
Author :
blackevanuz
Post Date :
2008-02-26 14:14
Posts :
4
|
Ok i will check it thanks |
All Rights Reserved, © Zeus Communications, Multimedia & Development 2004-2005