hmi.animation
Class JointSidConverter

java.lang.Object
  extended by hmi.animation.JointSidConverter

public final class JointSidConverter
extends Object

a convertor for renaming the sids of all joints in an avatar to Hanim standard, from sources such as 3ds max joint names

Author:
dennisr

Field Summary
private static org.slf4j.Logger logger
           
 
Constructor Summary
JointSidConverter()
           
 
Method Summary
static void rename3DSMaxIdsToHanimSids(VJoint theJoint, String prefix)
          The joints in a default collada export of 3dsmax have SIDs "Bone", but I am not sure whether these numbers mean anything.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.slf4j.Logger logger
Constructor Detail

JointSidConverter

public JointSidConverter()
Method Detail

rename3DSMaxIdsToHanimSids

public static void rename3DSMaxIdsToHanimSids(VJoint theJoint,
                                              String prefix)
The joints in a default collada export of 3dsmax have SIDs "Bone", but I am not sure whether these numbers mean anything. Therefore I rely on the names, which have a format of -- I remove the prefix, take the remainder, and look it up in a list; take the found hanim name and assign it to the joint's sid NOTE: method not yet complete, not all conversions have been added yet