#1
|
|||
|
|||
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 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? |
Thread Tools | |
Display Modes | Rate This Thread |
|
|