4 viewports
Hello,
I am about to make a 3d editor for a little engine I made. Now my question is how do I setup 4 viewports that can render the same things under another corner (along x,y,z,perspective axis). And also use selection in this viewports.
Thanks in advance.
try to with GLscissors
Cut so you have the size of a viewport, draw
Cut so you have the size of an other viewport, draw
do it like that for all of em
OR
use glViewport
Cut so you have the size of a viewport, draw
Cut so you have the size of an other viewport, draw
do it like that for all of em
OR
use glViewport
(you can find me on IRC : #opengl on undernet)
Why not simply create four windows? Just create four custom controls on the window with the classname of the opengl window class.
Hello,
Yes, that could work, but can I update all four windows at the same time and under another angle? Also I came to another program, I need four windows wich are actualy 2d, and 1 that''s perspective (like in most 3d editors), how would I do that?
Thanks.
Yes, that could work, but can I update all four windows at the same time and under another angle? Also I came to another program, I need four windows wich are actualy 2d, and 1 that''s perspective (like in most 3d editors), how would I do that?
Thanks.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement