Archived

This topic is now archived and is closed to further replies.

2D

This topic is 6028 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I apologize for my lack of research before asking this, but ... Is OpenGl good for basic 2D stuff, or does it only do 3D operations? Does it have bitmap blitting and the like? The question is not "why a talking monkey," but rather, "why not a talking monkey." -Monkey Island 4

Share this post


Link to post
Share on other sites
Yes, you *can* do 2D with OpenGL. Its basically simulated 2d, where you essentially ignore the z coordinate plane. It doesn''t have bitmap ''blitting'' per say, but you can just apply a texture onto a 2D quad, and have the same functionality.

------------------------------
Trent (ShiningKnight)
E-mail me
ShiningKnight Games (I had to make one up, to fit in with the rest of you )
Project: Writing tutorials and code for my OpenGL Game Programming series
OpenGL Game Programming Tutorials

Share this post


Link to post
Share on other sites
quote:
Original post by The Kid

You could always use orthographic projection. (I think I spelled it right ;-)


That''s the most common method, and that is probably what ShiningKnight was refering to in his own post.

Resist Windows XP''s Invasive Production Activation Technology!
http://druidgames.cjb.net/ (If my website isn''t down, it''s a miracle!)

Share this post


Link to post
Share on other sites
I''m currently making a *2D* Engine using OpenGL. Of course everything seems to be simulated, but it''s really-really fast because everything is helped by the hardware. And blendng effects are no problem.
If you want to make 2D Engine with OepnGL. Go for it. Its Great. Use Ortho View and some textured quads (but I prefer triangle strip).

Share this post


Link to post
Share on other sites