splitting a view into multiple views

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!


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.


Thanks Won! I think I will stick with glViewport first, coz it looks easier (hopefully).