splitting a view into multiple views?

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

Use glViewport to limit what area is going to be used to render into for each of your views. When you render each view, use a different projection and view matrix to create the view you want.

Warning. Any buffer clears will still clear the entire image even if you have use glViewport. If you need to do this, use scissoring setup to match your glViewport call.

Thanks T! Your advice is very helpful, especially the scissor test, coz I will need to implement picking. I will look into those.

Godach

http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/012077.html

Thanks Oliii for your sample code! I will dig into it soon.

Godach