com.jmex.model.ogrexml.anim
Class BoneAnimationLoader

java.lang.Object
  extended by com.jmex.model.ogrexml.anim.BoneAnimationLoader

public class BoneAnimationLoader
extends java.lang.Object


Constructor Summary
BoneAnimationLoader()
           
 
Method Summary
static java.lang.String applySkinningShader(java.lang.String shader, int numBones, int maxWeightsPerVert)
           
static GLSLShaderObjectsState createSkinningShader(int numBones, int maxWeightsPerVert)
           
static BoneAnimation loadAnimation(org.w3c.dom.Node animationNode, Skeleton skeleton)
           
static void loadAnimations(org.w3c.dom.Node animationsNode, Skeleton skeleton, java.util.Map<java.lang.String,Animation> store)
           
static WeightBuffer loadWeightBuffer(org.w3c.dom.Node assignmentsNode, int vertexCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoneAnimationLoader

public BoneAnimationLoader()
Method Detail

applySkinningShader

public static java.lang.String applySkinningShader(java.lang.String shader,
                                                   int numBones,
                                                   int maxWeightsPerVert)

createSkinningShader

public static GLSLShaderObjectsState createSkinningShader(int numBones,
                                                          int maxWeightsPerVert)

loadAnimation

public static BoneAnimation loadAnimation(org.w3c.dom.Node animationNode,
                                          Skeleton skeleton)

loadAnimations

public static void loadAnimations(org.w3c.dom.Node animationsNode,
                                  Skeleton skeleton,
                                  java.util.Map<java.lang.String,Animation> store)

loadWeightBuffer

public static WeightBuffer loadWeightBuffer(org.w3c.dom.Node assignmentsNode,
                                            int vertexCount)