View Single Post
  #2  
Old 05-18-2009, 05:17 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
The 5DT plugin expects the glove to be connected to a local serial port. The port variable specifies the serial port COM number. So using the 5DT plugin is not going to work.

What you can do is grab the joint rotations off the network and apply it to the hand bones yourself. Check out Vizards hand.py file for how Vizard uses 5DT data to animate the hand.

If you want, you can use the hand.py file's sensor framework for creating your network driven hand. To do this, it looks like you will want to create a class derived from the InputSensor class. If you make your InputSensor classes getData method return a 15 element list in the same format as the 5DT plugin, then you can reuse the _5DTRenderer class.
__________________
Paul Elliott
WorldViz LLC
Reply With Quote