• Advertisement

Archived

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

Ortho Switching Expensive??

This topic is 6000 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 want to put some text in my screen It is said that switching to ortho for that is really good But is switchning from your normal 3d view to Ortho view and back every frame expensive???

Share this post


Link to post
Share on other sites
Advertisement
No, not actually

all that the glOrtho does is modify the projection matrix, which means it''s only replacing the 16 floats or doubles. You can even save your perspective/ortho matrix in a buffer and load it back when you want to switch.

Share this post


Link to post
Share on other sites

  • Advertisement