jjdh.java.resource.loader
Class MD2Loader
java.lang.Object
jjdh.java.resource.Loader<MD2Mesh>
jjdh.java.resource.loader.MD2Loader
public class MD2Loader
- extends Loader<MD2Mesh>
Loads 3D-Models given in the MD2 (Quake 2) Format.
- Author:
- Malte Mathiszig, Dennis Heidsiek
Field Summary |
protected com.sun.opengl.util.texture.Texture |
texture
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
texture
protected com.sun.opengl.util.texture.Texture texture
MD2Loader
public MD2Loader()
MD2Loader
public MD2Loader(String shortcut)
load
public final MD2Mesh load(String regex)
- Description copied from class:
Loader
- Loads and decode a resource.
- Overrides:
load
in class Loader<MD2Mesh>
- Parameters:
regex
- a reference to the resource
- Returns:
- the loaded resource
load
public final MD2Mesh load(String md2Regex,
String textureRegex)
decode
protected MD2Mesh decode(InputStream in)
throws Exception
- Specified by:
decode
in class Loader<MD2Mesh>
- Throws:
Exception
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.