org.jagatoo.loaders.models.md2
Class MD2File

java.lang.Object
  extended by org.jagatoo.loaders.models.md2.MD2File

public class MD2File
extends java.lang.Object

A Loader to load Quake 2 model MD2 model files. If the texture filename is not provided, assumes that it is the same as the MD2 filename but with the filename extension ".jpg", e.g., example.md2 and example.jpg.


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

Method Detail

load

public static final void load(java.io.InputStream in,
                              java.net.URL baseURL,
                              AppearanceFactory appFactory,
                              java.lang.String skin,
                              GeometryFactory geomFactory,
                              boolean convertZup2Yup,
                              float scale,
                              NodeFactory nodeFactory,
                              AnimationFactory animFactory,
                              SpecialItemsHandler siHandler,
                              NamedObject rootGroup)
                       throws java.io.IOException,
                              IncorrectFormatException,
                              ParsingException
Throws:
java.io.IOException
IncorrectFormatException
ParsingException