PDA

View Full Version : Multiple Views



ddoucett
09-01-2000, 01:22 PM
Hi,
I'm curious as to how I can set up opengl in fullscreen win32 mode, to draw 4 different views. So like a top, front, side and camera point of view in each window which is 320x240?

Any ideas?

- Derek

Gorg
09-01-2000, 04:25 PM
You have two choices. You can work with 4 viewports. Or you can create 4 child windows and get their DC.

Don't Disturb
09-02-2000, 02:38 AM
glutFullScreen();
.
.
.
//use all of screen to draw four views:
glViewPort(0, 0, halfScreenWidth, halfScreenHeight);
drawViewOne();
glViewPort(halfScreenWidth, 0, halfScreenWidth, halfScreenHeight);
drawViewTwo();
... etc.