Ortho Switching Expensive??
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???
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement