WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-15-2012, 02:37 PM
AySz88 AySz88 is offline
Member
 
Join Date: Aug 2011
Posts: 13
The code always does the following at the same time as calling <window>.ortho(). (Testing it just now, doing it just before or just after makes no difference.)
Code:
cave.setTracker(pos=None, ori=None)
view.setView(viz.NullLinkable) # disassociate CaveView and tracker
viz.cam.reset()
This should cause the cave object to stop calling <window>.frustum, correct?
Reply With Quote
  #2  
Old 02-15-2012, 03:10 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
That should stop the cave object from automatically changing the frustum. Try adding the following line as well:
Code:
viz.MainWindow.ipdVector(None)
I noticed the IPD values changes drastically from trial to trial. Are you sure this isn't causing the problem?
Reply With Quote
  #3  
Old 02-15-2012, 03:24 PM
AySz88 AySz88 is offline
Member
 
Join Date: Aug 2011
Posts: 13
Yes - the center of the object is at the same distance as the screendistance used for the orthographic projection. Thus the square mark should always have zero disparity, so it shouldn't move no matter what the IPD is.

Does that line of code force the IPD value to zero? That wouldn't work for my purposes, since I do need stereo - it is adjusting the IPD value so as to "turn up" or "turn down" the stereo cue on demand, as needed by the rest of the experiment.
Reply With Quote
  #4  
Old 02-15-2012, 04:13 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The IPD vector is used by vizcave to change the direction the IPD shift is applied to the view matrix. I think adding that line should fix your problem.
Reply With Quote
Reply

Tags
bug, heisenbug, orthographic, stereo


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
orthographic projection in a head-tracked cave environment michaelrepucci Vizard 5 12-14-2011 10:29 AM
vizcave and quad-buffered stereo michaelrepucci Vizard 7 11-29-2011 11:15 AM
Stereo Projection Moh200jo Vizard 3 06-10-2009 06:33 PM
Stereo problems on 3D monitor timbo Vizard 3 08-13-2008 02:07 PM
stereo projection issue asimbh Vizard 3 10-05-2007 10:22 AM


All times are GMT -7. The time now is 08:20 PM.


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