How to use multiple viewports in OpenGL


I need to show the same object in OpenGL in two different viewports, for instance, one using ortographic projection and the other using perspective. In order to do this, do I need to draw again the object after each call to glViewport()?

Best Solution

Nehe has a good tutorial on how to do this, and his site is generally a good resource for OpenGL questions.

Related Question