Package com.ardor3d.extension.model.md2
Class Md2Header
java.lang.Object
com.ardor3d.extension.model.md2.Md2Header
Header of MD2: see also http://tfc.duke.free.fr/coding/md2-specs-en.html
-
Field Summary
Modifier and TypeFieldDescription(package private) final int
size in bytes of a frame(package private) final int
identifier of the file: magic number: "IDP2"(package private) final int
number of animation frames(package private) final int
number of gl commands(package private) final int
number of textures associated with the model(package private) final int
number of texture coordinates(package private) final int
number of triangles(package private) final int
number of vertices per frame(package private) final int
offset of EOF(package private) final int
offset in the file for the frames data(package private) final int
offset in the file for the gl commands data(package private) final int
offset in the file for the texture data(package private) final int
offset in the file for the texture coords(package private) final int
offset in the file for the face data(package private) final int
texture height in pixels(package private) final int
texture width in pixels(package private) final int
version number of the file (must be 8) -
Constructor Summary
ConstructorDescriptionMd2Header
(int magic, int version, int skinWidth, int skinHeight, int frameSize, int numSkins, int numVertices, int numTexCoords, int numTriangles, int numGlCommands, int numFrames, int offsetSkins, int offsetTexCoords, int offsetTriangles, int offsetFrames, int offsetGlCommands, int offsetEnd) -
Method Summary
-
Field Details
-
magic
identifier of the file: magic number: "IDP2" -
version
version number of the file (must be 8) -
skinWidth
texture width in pixels -
skinHeight
texture height in pixels -
frameSize
size in bytes of a frame -
numSkins
number of textures associated with the model -
numVertices
number of vertices per frame -
numTexCoords
number of texture coordinates -
numTriangles
number of triangles -
numGlCommands
number of gl commands -
numFrames
number of animation frames -
offsetSkins
offset in the file for the texture data -
offsetTexCoords
offset in the file for the texture coords -
offsetTriangles
offset in the file for the face data -
offsetFrames
offset in the file for the frames data -
offsetGlCommands
offset in the file for the gl commands data -
offsetEnd
offset of EOF
-
-
Constructor Details
-
Md2Header
Md2Header(int magic, int version, int skinWidth, int skinHeight, int frameSize, int numSkins, int numVertices, int numTexCoords, int numTriangles, int numGlCommands, int numFrames, int offsetSkins, int offsetTexCoords, int offsetTriangles, int offsetFrames, int offsetGlCommands, int offsetEnd)
-