|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimogl.model.modelloader.MD2Importer
public class MD2Importer
The MD2Importer can be used to load models in Quake2 file format
| Constructor Summary | |
|---|---|
MD2Importer()
|
|
| Method Summary | |
|---|---|
static MeshVA |
importModel(java.io.File file,
int keyframe,
int preferredSkin,
com.sun.opengl.util.texture.Texture texture,
float scale)
Loads a model from a md2 file and makes a mesh of it. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MD2Importer()
| Method Detail |
|---|
public static MeshVA importModel(java.io.File file,
int keyframe,
int preferredSkin,
com.sun.opengl.util.texture.Texture texture,
float scale)
file - md2 model file from the resource folderkeyframe - number of the keyframe that ought to be importedpreferredSkin - number of the skin that ought to be importedtexture - the texture for the modelscale - a scale factor that effects the size of the model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||