PDA

View Full Version : multiple views


durf
05-05-2009, 12:06 PM
Hi,

I am displaying a program across 4 projector screens. One of the projectors is going to be hung above a stage pointing towards the stage(so the image will be on the floor). I was planning on using FOV. projector 1-3 would be using :

viz.MainView.setPosition([0,10,-35]) #sets camera position
viz.MainView.setEuler([0,2,0]) #sets camera pitch

I want the fourth projector(the one pointing at the floor) to have:

viz.MainView.setPosition([0,50,0]) #sets camera position
viz.MainView.setEuler([0,90,0]) #sets camera pitch

Is there a way to have multiple views in a single program?

I can clarify more if need be.

Thanks

farshizzo
05-05-2009, 12:40 PM
Yes, have a look at the Windows & Views tutorial in the documentation. It shows how to create a birds eye view of the scene that is displayed in the corner of the main window.

durf
05-07-2009, 09:18 AM
I looked at the tutorial. Thanks. Is there a way to make that subwindow equal to the size of what being displayed on the screen. Like I said Im going to be running 4 projectors, and I want that top view to show up on a projector by itself.

IE. Projector 1 is going to contain (example) anything thats < -30 on the x plane.

projector 2 is going to contain (example) anything that is >-30 and < -10

projector 3 is going to contain (example) anything that is > -10 and < +10

projector 4 is going to contain (example) anything that is > 10 and < 30
projector 4 is the one that I want to have a top view of.

I am running 4 video cards. So I can have 4 screens.

I can clarify more if need be.
Thanks

farshizzo
05-07-2009, 11:26 AM
If you can setup horizontal span across the 4 screens, then you would create a subwindow for each monitor and set its size/position to take up the entire monitor. Have a look at the documentation for the window objects, it shows how to set the size and position.