PDA

View Full Version : Rotated Text in 2d world



marcelo_g_souza
06-19-2003, 12:11 PM
How Can I write a text in OpenGL in any angle?

thx, rgds,

Marcelo

06-20-2003, 03:36 AM
Depends how you're writing your text!

If you're using glBitmap or glDrawPixels, then you can't - you're writing rectangular arrays of pixels directly onto the framebuffer.

If you're drawing stroke text, or using textured quads then no problem - any OpenGL transformations will process these correctly.