Archived

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

2d with OGL?

This topic is 5019 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

somebody told me that there are 2d functions in OGL available (like drawing a line, a rectangle or a bitmap). the only one i found was the rectangle function. where are those 2d functions? or is it only a trick 3d?

Share this post


Link to post
Share on other sites
so you mean for drawing a line i just use the GL_LINE type (or whatever it''s like, i''m too lazy to ''man'' it ^_^) and so forth... well... i gonna try this. have not thought about complety 3d all but why not.

Share this post


Link to post
Share on other sites
There is also glOrtho to set the view to a 2D-ish one rather than the typical deep/depth-full view.

-----------------------
"In reality God is a comedian but his audience are too afraid to laugh."

Share this post


Link to post
Share on other sites