View Full Version : splitting a view into multiple views

03-19-2003, 08:41 PM
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!


03-20-2003, 06: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.


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