PDA

View Full Version : code help



vanitha
03-13-2006, 01:33 AM
hi!
how can i zoom a portion of a opengl window and i want to display the zoomed portion in the same window(splitting view) but in different place.
please anyone help me to solve this problem.

thanks in advance,
vanitha

mikael_aronsson
03-13-2006, 05:15 AM
You can use glViewport to setup more then one view of your scene and then it is just a question of setting up the modelview matrix for each view.