Want mutilple views of a scene

hi all
I wanna have different views of an air craft(top view,front view,side view).For example in the 1st view i only want my model to show its rotation abt z-axis(roll) in second pitch & in third only yaw.
okay now the problem. For this thing to work i have to make three differnet windows for each view or is it possible to make it work with one window only(may be by using different view ports).
All ideas are welcomed but Pls write to me the full idea.
thanks in advance bye bye

glViewport(0, 0, w/2, h/2);
glMatrixMode(GL_PROJECTION);
//set projection matrix
glMatrixMode(GL_MODELVIEW);
//set modelview
renderscene();
glViewport(0, h/2, w/2, h);
glMatrixMode(GL_PROJECTION);
//set projection matrix
glMatrixMode(GL_MODELVIEW);
//set modelview
renderscene();
glViewport(w/2, 0, w, h/2);
glMatrixMode(GL_PROJECTION);
//set projection matrix
glMatrixMode(GL_MODELVIEW);
//set modelview
renderscene();
glViewport(w/2, h/2, w, h);
glMatrixMode(GL_PROJECTION);
//set projection matrix
glMatrixMode(GL_MODELVIEW);
//set modelview
renderscene();

carl

ps: not really an advanced question

not really an advanced answer eighter
at least here i have to enable scissoring then…
glEnable(GL_SCISSOR_TEST);
glScissor(left,top,right,bottom); //or other way around
glViewport(left,top,right,bottom); //or other way around, too
glMatrixMode(GL_PROJECTION);
if(thisview->perspective) {
gluPerspective(blahblah);
} else {
gluOrtho(blahblah);
}

that should do the trick…

Try not to create seperate windows for the different views - context switching is really expensive, and will significantly impact your performance.

>>>>>DavePerman<<<<<<<<<<
Hi
What this Scissor test is for. Pls tell me. waiting Dave

You have an internet connection?
Go to this site:- www.google.com

and type “scissor test” into the box.