WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-17-2007, 12:54 PM
cade_mccall cade_mccall is offline
Member
 
Join Date: Sep 2004
Posts: 61
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
Reply With Quote
  #2  
Old 05-18-2007, 11:49 AM
Jerry Jerry is offline
Member
 
Join Date: Jun 2004
Posts: 105
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 12:57 PM.


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