org.jagatoo.loaders.models.md5
Class MD5AnimationReader

java.lang.Object
  extended by org.jagatoo.loaders.models.md5.MD5AnimationReader

public class MD5AnimationReader
extends java.lang.Object

Loads MD5ANIM files and pushes them through JAGaToo's factory interfaces to generate model-animation-data on the implementing scenegraph's side. Some basic ideas are taken from The kman's MD5 loader.


Constructor Summary
MD5AnimationReader()
           
 
Method Summary
static void load(java.io.InputStream in, java.lang.String filename, java.net.URL baseURL, AppearanceFactory appFactory, GeometryFactory geomFactory, boolean convertZup2Yup, float scale, NodeFactory nodeFactory, NamedObject[] shapes, java.lang.Object[][][] boneWeights, AnimationFactory animFactory, SpecialItemsHandler siHandler, NamedObject rootGroup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MD5AnimationReader

public MD5AnimationReader()
Method Detail

load

public static void load(java.io.InputStream in,
                        java.lang.String filename,
                        java.net.URL baseURL,
                        AppearanceFactory appFactory,
                        GeometryFactory geomFactory,
                        boolean convertZup2Yup,
                        float scale,
                        NodeFactory nodeFactory,
                        NamedObject[] shapes,
                        java.lang.Object[][][] boneWeights,
                        AnimationFactory animFactory,
                        SpecialItemsHandler siHandler,
                        NamedObject rootGroup)
                 throws java.io.IOException,
                        IncorrectFormatException,
                        ParsingException
Parameters:
in -
filename -
baseURL -
appFactory -
geomFactory -
convertZup2Yup -
scale -
nodeFactory -
shapes -
boneWeights -
animFactory -
siHandler -
rootGroup -
Throws:
java.io.IOException
IncorrectFormatException
ParsingException