I’m having some problems with my Viewports.
I have a window with 2 viewports in it. The main viewport draws the scene, then the 2nd viewport draws the world orientation.
My problem is that after a rotation/translate, I immediately call my draw routine to redraw the views. When I do this, the main scene is now drawn in the world orientation viewport, and the main viewport is blank.
Here’s the pseudo:
//Setup small overlapping viewport in lower corner. (glOrtho)
glPopMatrix(); //Reset to large viewport
Am I missing something? Let me know if this needs clarification.