PDA

View Full Version : splitting a view into multiple views



godach
03-19-2003, 09:41 PM
Hello,
I was wondering if I would like to make a modeller such that a single OGL buffer can draw multiple views of an object from different perspectives, is that possible? Any help are appreciated. If you know any examples or tutorials please let me know. Thank you!

Godach

Won
03-20-2003, 07:33 AM
Short answer: yes. If you want to cram them all in one window, you can get away with partitioning the client area with calls to glViewport. If you want seperate windows, you'll probably need to manage multiple contexts and enable display list/texture object sharing across them. Check out the wgl/glX APIs. It's really all very basic, once you know where to look.

-Won

godach
03-20-2003, 08:20 PM
Thanks Won! I think I will stick with glViewport first, coz it looks easier (hopefully).

Godach