• Advertisement

Archived

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

Ortho mode

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

How do I switch out of ortho mode back to (perspective?) mode. Can I do this in the middle of rendering a scene? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
how do u mean in the middle of rendering?

if u mean just switching to ortho to do some overlay type stuff then switching back for the scene render then all u have to do is this:


  

glMatrixMode(GL_PERSPECTIVE);
glPushMatrix();
glOrtho(.......);

render overlay crap...


glPopMatrix();

back to scene render




sorry if this is wrong but i''m a total noob

Share this post


Link to post
Share on other sites

  • Advertisement