how can i make a picture in picture window??
Easy, use the following function :
glMakePicture(&pictureWindow);
Seriously, can you reformulate you question in a more specific way ?
If you need simple GL tutorials, check NeHe
i want to show another angle of my scene, if you see nehe’s contest of lotr 2, take a look at mirko teran 's demo, the stairs scene, thats what i want.
I see now.
Basically, there is first a fullscreen rendering of the scene, then a second rendering (before swapbuffers and clear), with a different glViewport(x,y,dx,dy) (and glScissor too !) to restrict to a small portion of the screen.
Download the code of the lotr demo, have a look at Lotr_SceneStairs.h, methods DrawSceneStairs() and RenderStairsCam2().
ok, thanks, btw i was checking nehe’s tutorial for multiple viewports, is that it ??