PDA

View Full Version : SeeReal stereo with separate scenes


Jerry
10-18-2005, 11:11 AM
Normal Vizard worlds work well in stereo using a SeeReal 3D monitor with the viz.INTERLACE go() option. However a world which uses a different scene in each eye, e.g., the Stereo Album demo, does not work. Is there a way to make the two-scene version appear in stereo on the SeeReal monitor? We need this capability in order to display stereo photos where we have a left and right eye picture.

farshizzo
10-18-2005, 11:47 AM
Hi Jerry,

Can you verify that the following script works. It adds a blue square to scene 1 and a red square to scene 2. Also, what doesn't work about it when you tried?import viz
viz.go(viz.INTERLACE|viz.FULLSCREEN)

viz.scene(2,viz.RIGHT_EYE)

ground = viz.add('tut_ground.wrl')
ground.duplicate(2)

quad = viz.add(viz.TEXQUAD)
quad.translate(0,1.8,5)
quad.color(viz.BLUE)

quad2 = viz.add(viz.TEXQUAD,viz.WORLD,2)
quad2.translate(0,1.8,5)
quad2.color(viz.RED)

viz.clearcolor(viz.SKYBLUE)

Jerry
10-18-2005, 12:02 PM
It works now. Must be your magic touch.
Thanks, Jerry