2D programming in OpenGL
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?
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.
Here's one at NeHe:
Lesson 21
it's not exclusivly about 2D but in that tut he makes a 2D game.
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
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
Popular Topics
Advertisement