WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-07-2004, 03:55 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi Jeb,

Line 4 is telling the ppt to scale the incoming position values by 2
Line 5 is telling the ppt to average the position values over the last 5 samples.

Line 4 will affect line 12 because the y value of the ppt will be scaled by a factor of 2, so the height of the viewer will be taller. Here's a list of all the available ppt commands. Let me know if you have any more questions.

PPT Commands

3 - Set the scale factor for each axis.
ppt.command(3,'',2,1,2) #Scale x and z axis by 2, but leave y axis alone

4 - Set the scale factor for all axis.
ppt.command(4.002) #Scale position value by 2

5 - Average position value by given number of samples
ppt.command(5,'',3) #Average position over previous 3 samples

6 - Set the reset mask for each axis
ppt.command(6,'',0,1,0) #Reseting ppt will only reset the y axis

7 - Manually set the offset for the ppt
ppt.command(7,'',2,0,3) #Set the virtual center of the ppt at (2,0,3)
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 10:14 AM.


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