WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-28-2003, 09:59 AM
FlyingWren FlyingWren is offline
Member
 
Join Date: Mar 2003
Location: Fargo, North Dakota, USA
Posts: 48
Viewpoint transforms

In the middle of our keyboard-handling definition is the following:


elif key == '65366': # Page Down
viz.translate (viz.HEAD_POS, 0, -0.1, 0)
elif key == '65365': # Page Up
viz.translate (viz.HEAD_POS, 0, 0.1, 0)


(There are indentations before those viz.translate() functions, but they aren't showing up due to the formatting here.)

Anyway, this works fine when our code doesn't initialize any tracking systems, but when our trackers are enabled, pressing the key has the effect of seeming to translate the user's position before immediately snapping them back to where the tracker is reporting they are. Funny, because I thought I was able to transform the viewpoint like this earlier. Do you have a suspicion what it might be? (I can paste more of the code, if you need it.)

Also, we have a script that runs fine on two machines, but not on another-- I'll see if I can determine what is making things crash by commenting out portions of the code until it works again.
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 03:53 AM.


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