WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   screen reference frame for stereo (https://forum.worldviz.com/showthread.php?t=1088)

cade_mccall 05-17-2007 11:54 AM

screen reference frame for stereo
 
Hi-

I've got a program where I stick a texture quad to the screen, but when I run it in stereo it only appears in one eye. Is there a way to around that?

Thanks,
Cade

Jerry 05-18-2007 10:49 AM

Here is one way:

Code:

from viz import *

go(STEREO)

scene(1, LEFT_EYE)
scene(2, RIGHT_EYE)

x = add(TEXT3D,'duck',SCREEN,1)
x1 = add(TEXT3D,'duck',SCREEN,2)

g = add('duck.wrl',WORLD,1)
g.duplicate(2)

g.translate(0,1.8,4)

Here the text message is added to the screen in both scene 1 and scene 2.
Any objects added to the world must be duplicated, as shown, in order to
appear in both eyes.


All times are GMT -7. The time now is 05:58 PM.

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