PDA

View Full Version : OpenGL in 2D



Ztyx
03-18-2001, 11:17 PM
Hi,
I'm looking for any examples on how to program OpenGL in 2D. Any ideas would be appreciated.

Jens

Bob
03-19-2001, 01:54 AM
2D only does not exists in OpenGL. 2D is just a "special case" of a 3D environment. Use glOrtho to setup an orthographic view. That is about the closest to 2D you get.

Ztyx
03-21-2001, 06:28 AM
Okey, thanx. http://www.opengl.org/discussion_boards/ubb/biggrin.gif