PDA

View Full Version : please help me ..



supreeth
04-18-2012, 10:19 AM
hey.. i am a beginner to opengl.. i have to do a mini project. in that i want to display the project details in the front screen.. i am not able to find a function to display the text... please help me.. :sorrow:

menzel
04-18-2012, 10:37 AM
OpenGL has no textrendering. You can use 3rd party libraries for that. A static text could get displayed as a texture.

BionicBytes
04-18-2012, 12:37 PM
Please don't just post open ended questions or pleas like " help me".
Have you read the posting guide?
Ask specific questions.

Now you could just draw your text in a bitmap image using MS Paint or other art package. Then just display the bitmap on the front screen. Great if you don't need dynamic printing.

V-man
04-19-2012, 04:27 AM
http://www.opengl.org/archives/resources/faq/technical/#indx0170

supreeth
04-19-2012, 06:14 AM
ok.. can you please tell me more about displaying bitmap

V-man
04-19-2012, 08:07 AM
Setup an orthographic projection.
http://www.opengl.org/wiki/FAQ#How_to_render_in_pixel_space

and disable depth testing.
and render some quads on your screen.

But if you are confused an need to learn things, try the old NeHe tutorials
http://nehe.gamedev.net/tutorial/lessons_11__15/28001/