#1
|
|||
|
|||
vizconnect getMovementScale
Hello
We are trying to use vizconnect's <WrappedAvatar>.setMovementScale() but we don't see any changes in the behavior of the avatar when it is moving. The vizconnect configuration uses Microsoft Kinect/FAAST as a tracker. I have confirmed that I can change the movement scale VALUES: Code:
SCALE = .1 myAvatar = vizconnect.getAvatar() print 'Original movement scale: ' , myAvatar.getMovementScale() myAvatar.setMovementScale([SCALE , SCALE , SCALE ]) print 'New movement scale: ' , myAvatar.getMovementScale() What does this method do, exactly? Am I missing some critical step to get it to work? Thank you! Any guidance would be greatly appreciated! |
#2
|
|||
|
|||
It looks like this command is not working with all avatar types. I just tested and it works with the head and hand avatar but not the mark avatar. You should be able to get the same result by applying a scale factor to the tracker links instead:
Code:
trackerLink = vizconnect.getTracker('head_tracker').getLink() # Scale movements along ground plane by factor of 5 trackerLink.postScale([5,1,5]) |
#3
|
|||
|
|||
great thanks.. we will check that out. Two questions:
1) if we want to use the vcc_male avatar, how do I figure out what the named key should be for the tracker in line 1 of your code? 'head_tracker' doesn't seem to work. 2) Can you give me a little more detail on the scaling function? I'm assuming that, if the tracker moves x units (let's say in the z-plane), then postScale([1,1,5]) would move the rendered avatar 5x units. Is that true? Also, can the scaling constant be less than zero? Thanks! |
#4
|
|||
|
|||
Hope you had a nice New Year. Just following up on this post. Any advice? Thanks!
|
#5
|
|||
|
|||
Quote:
Quote:
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3D monitor display with Vizconnect | rdkirkden | Vizard | 2 | 09-14-2017 02:17 AM |
Regarding changing &using multiple tools at same time through vizconnect | rajnishv | Vizard | 7 | 09-08-2016 04:48 AM |
Zspace display in Vizconnect | JB_HP_Viz | Vizard | 5 | 06-05-2015 03:28 PM |
Switching between input devices setup in vizconnect and not using vizconnect | JB_HP_Viz | Vizard | 1 | 01-20-2015 05:19 AM |
Vizconnect Save As Dialog | Jeff | Vizard | 0 | 05-01-2014 09:45 AM |