WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Left and Right Eye Stereo (https://forum.worldviz.com/showthread.php?t=1406)

wouters 03-18-2008 11:23 AM

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()

farshizzo 03-18-2008 11:34 AM

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()


wouters 03-18-2008 11:34 AM

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()


All times are GMT -7. The time now is 08:36 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC