2D programming in OpenGL

Started by
1 comment, last by Shadx 17 years, 1 month ago
This is a shortie, but I've heard that using the third dimension in 2D OpenGL programs isn't so great thing and I had a bookmark to a site which had useful information about 2D opengl programming. But I lost it! :) Any good sources for 2D opengl help?
The important thing is to never stop questioning. - Albert Einstein
Advertisement
Look for tutorials on orthographic projection.
Here's one at NeHe:
Lesson 21
it's not exclusivly about 2D but in that tut he makes a 2D game.
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the internet, we know this is not true." -- Professor Robert Silensky
Check the following link:

http://www.gamedev.net/community/forums/topic.asp?topic_id=104791

I'm currently doing some 2D opengl project and it works well. One major problem that you could run into is when doing too much animation using textures only. Drawing a full screen animation, even at 30 FPS, will take out alot of texture memory. It really depends on what your needs are though, but a 2D project in opengl will allow you to do hardware transparency, scaling, rotating. Plus you can spice it up as much as you want later on by adding a particle system or any other 3D effects mixed in with your 2D.

Cheers,

Shadx

This topic is closed to new replies.

Advertisement