#1
|
|||
|
|||
Left and Right Eye Stereo
Hi,
I am trying to use two computers to render a simulation with Vizard. Is there any way to use one computer to render the left eye and one computer to render the right eye? Right now if I try to render the simulation this way only half of the screen has an image on it. Here is the code I am using to do this: viz.ipd(0.06) viz.go(viz.STEREO | viz.FULLSCREEN | viz.HMD) viz.pushmask(viz.MASTER) viz.setscene(2, viz.RIGHT_EYE) viz.popmask() viz.pushmask(viz.CLIENT1) viz.setscene(3, viz.LEFT_EYE) viz.popmask() |
#2
|
|||
|
|||
You should use the viz.STEREO_RIGHT/viz.STEREO_LEFT modes for each computer. Here is some sample code:
Code:
viz.ipd(0.06) viz.go(viz.FULLSCREEN) viz.pushmask(viz.MASTER) viz.stereo(viz.STEREO_RIGHT|viz.HMD) viz.popmask() viz.pushmask(viz.CLIENT1) viz.stereo(viz.STEREO_LEFT|viz.HMD) viz.popmask() |
#3
|
|||
|
|||
Never mind. I figured it out.
viz.pushmask(viz.MASTER) viz.go(viz.STEREO_RIGHT | viz.FULLSCREEN | viz.HMD) viz.popmask() viz.pushmask(viz.CLIENT1) viz.go(viz.STEREO_LEFT | viz.FULLSCREEN | viz.HMD) viz.popmask() |
|
|