WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-04-2008, 07:51 AM
michaelrepucci michaelrepucci is offline
Member
 
Join Date: Jul 2008
Posts: 53
vizcave and quad-buffered stereo

I'm running a single Power Wall setup with a head-tracker, and having difficulty setting up stereo for this environment. I'm using an NVidia Quadro FX 3700, and setting Vizard to use quad-buffered stereo.

The key pieces of my code are:
Code:
#setup tracker
vrpn = viz.add('vrpn7.dle')
head = vrpn.addTracker('Tracker0@hiball')
#head = viztracker.add() #simulated tracker

#setup cave
cave = vizcave.Cave()
cave.addWall(wall,viz.MASTER)

#setup viewpoint
cave.setTracker(pos=head,ori=head)
view = vizcave.CaveView(tracker)
link = viz.link(view,viz.MainView)
link.setDstFlag(viz.LINK_POS_RAW)

#start application
viz.go(viz.QUAD_BUFFER)
#viz.go() #non-stereo setup
If I run this without stereo the application starts with the viewpoint looking in the right direction. But when I start the application with quad-buffered stereo, the viewpoint is skewed off to a funny part of the scene. I tried to debug this using a simulated keyboard tracker (see commented line above), and the same thing happens: without stereo the viewpoint looks correct; with stereo the viewpoint is skewed in an odd direction.

I suppose that I can correct for this skewness by using setPosition and setEuler on the view, but I fundamentally don't understand why stereo should cause the viewpoint to be grossly different. Shouldn't it be approximately the same view, with slightly shifted frustums for the left and right eyes?
Reply With Quote
 

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 02:42 AM.


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