hmi.animation
Class JointSidConverter
java.lang.Object
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
|
|
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 |
logger
private static org.slf4j.Logger logger
JointSidConverter
public JointSidConverter()
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