Serialized Form


Package md3.md3model

Class md3.md3model.MD3BoneFrame implements Serializable

Serialized Fields

creator

java.lang.String creator

maxs

Vec3 maxs

Upper extrema of the bounding box of this bone animation frame.


mins

Vec3 mins

Lower extrema of the bounding box of this bone animation frame.


position

Vec3 position

Coordinate origin within the bounding box.


scale

float scale

tags

MD3Tag[] tags

Array of tags size tagNum, as defined in the MD3Model object that owns this bone frame.

See Also:
MD3Model

Class md3.md3model.MD3Mesh implements Serializable

Serialized Fields

id

java.lang.String id

meshFrameNum

int meshFrameNum

Number of animation frames of mesh, same as boneFrameNum in MD3Model.

See Also:
MD3Model

meshFrames

Vec3[][] meshFrames

2d array of size meshFrameNum * vertexNum that stores mesh frame triangle vertices.


meshSize

int meshSize

meshVertexNormals

int[][][] meshVertexNormals

3d array of size meshFrameNum * vertexNum * 2 with spherical coordinates giving the direction of the vertex normal. They are both unsigned byte values. The first one is the inclination, and the second the rotation in the horizontal plane. Both actually run 0..255 for full rotation.


name

java.lang.String name

textureCoord

float[][] textureCoord

U/V texture coordinates of vertices. Size vertexNum * 2.


textureNum

int textureNum

textures

MD3Texture[] textures

Array of textures of size textureNum. In most cases, there's only 1 texture per mesh.


textureStart

int textureStart

texVecStart

int texVecStart

triangleNum

int triangleNum

triangles

int[][] triangles

Indices into meshFrames array of the triangle vertices. Size triangleNum * 3.


triangleStart

int triangleStart

vertexNum

int vertexNum

vertexStart

int vertexStart

Class md3.md3model.MD3Model implements Serializable

Serialized Fields

boneFrameNum

int boneFrameNum

Number of animation key frames in the model.


boneFrames

MD3BoneFrame[] boneFrames

Array of bone frames size boneFrameNum. The contains the metadata (bounding box, tags, ..,) for each of the bone animation frames in the model.


boneFrameStart

int boneFrameStart

Starting position of bone frame data structures.


filename

java.lang.String filename

Filename as recorded in the .md3 file. This might be empty.


fileSize

int fileSize

id

java.lang.String id

linkedModels

java.util.SortedMap linkedModels

Map used to store the models linked to this model. The map is indexed by tag index number and also ordered by index number.


loadFilename

java.lang.String loadFilename

Filename of actual file from which data was loaded.


maxTextureNum

int maxTextureNum

Maximum number of unique textures used in an md3 file.


meshes

MD3Mesh[] meshes

Array of meshes in the model size meshNum. Each mesh contains the data of that mesh for each of the animation frames in the model.


meshNum

int meshNum

meshStart

int meshStart

Starting position of mesh structures.


parent

MD3Model parent

parentTagIndex

int parentTagIndex

tagNum

int tagNum

tagStart

int tagStart

Starting position of tag-structures.


version

int version

Class md3.md3model.MD3Tag implements Serializable

Serialized Fields

matrix

float[][] matrix

3x3 rotation matrix.


name

java.lang.String name

Name of 'tag' as it's usually called in the md3 files. Try to see it as a sub-mesh/seperate mesh-part.


position

Vec3 position

Position of tag relative to the model that contains the tag.

Class md3.md3model.MD3Texture implements Serializable

Serialized Fields

data

byte[] data

Actual texture bitmap data. These are unsigned bytes in RGBA order.


height

int height

loadFilename

java.lang.String loadFilename

Filename of actual file from which data was loaded.


name

java.lang.String name

Name as specified in the originating .md3 model or .skin file.


width

int width


Package md3.md3view

Class md3.md3view.MD3GLCanvas implements Serializable

Serialized Fields

animation

MD3Animation animation

interpolate

boolean interpolate

m_x

int m_x

m_y

int m_y

mode

int mode

model

MD3Model model

nextVisitor

MD3GLModelChangeCurrentFrameVisitor nextVisitor

oldrendermode

int oldrendermode

prevVisitor

MD3GLModelChangeCurrentFrameVisitor prevVisitor

quickManipulations

boolean quickManipulations

rendermode

int rendermode

rewindVisitor

MD3GLModelChangeCurrentFrameVisitor rewindVisitor

rotAngleX

float rotAngleX

rotAngleY

float rotAngleY

showBoneFrame

boolean showBoneFrame

showVertexNormals

boolean showVertexNormals

texture

MD3GLTexture texture

xPos

float xPos

yPos

float yPos

zPos

float zPos

Class md3.md3view.MD3GLMesh implements Serializable

Serialized Fields

GLDepthMask

boolean GLDepthMask

Parameter to DepthMask function.


GLDstBlendFunc

int GLDstBlendFunc

Destination parameter to BlendFunc function.


GLSrcBlendFunc

int GLSrcBlendFunc

Source parameter to BlendFunc function.

Class md3.md3view.MD3GLModel implements Serializable

Serialized Fields

currentFrame

int currentFrame

Currently rendered animation key frame of this model. Note that this model could actually be only a part of a larger model. Every part has its own current frame!


nextFrame

int nextFrame

Next animation key frame of the model.

Class md3.md3view.MD3GLTexture implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Serialized Fields

bind

int bind

OpenGL id the texture is bound to. 0 if unbound.

Class md3.md3view.MD3View implements Serializable

Serialized Fields

animationControl

MD3ViewAnimationControl animationControl

applyTextureToMeshMenu

java.awt.Menu applyTextureToMeshMenu

attachFileMenu

java.awt.Menu attachFileMenu

baseOpenPath

java.lang.String baseOpenPath

Base open path of the application. This is the directory from which the last file was opened.


baseSavePath

java.lang.String baseSavePath

Base save path of the application. This is the directory to which the last file was saved.


currentDataSource

int currentDataSource

Data source from which last file was opened.


detachPartMenu

java.awt.Menu detachPartMenu

md3canvas

MD3GLCanvas md3canvas

The OpenGL canvas to render on.


openDialog

java.awt.FileDialog openDialog

optionsControl

MD3ViewOptions optionsControl

pakFileControl

MD3ViewPakFileControl pakFileControl

saveDialog

java.awt.FileDialog saveDialog

splashScreen

SplashScreen splashScreen

textViewer

MD3ViewTextViewer textViewer

Class md3.md3view.MD3ViewAnimationControl implements Serializable

Serialized Fields

animateCheckbox

java.awt.Checkbox animateCheckbox

animationChoice

java.awt.Choice animationChoice

anims

AnimationCfg anims

viewFrame

MD3View viewFrame

Class md3.md3view.MD3ViewApplet implements Serializable

Serialized Fields

md3v

MD3View md3v

Class md3.md3view.MD3ViewOptions implements Serializable

Serialized Fields

applyButton

java.awt.Button applyButton

autoAssemblePlayerModelsCheckbox

java.awt.Checkbox autoAssemblePlayerModelsCheckbox

autoExportTexturesCheckbox

java.awt.Checkbox autoExportTexturesCheckbox

autoLoadSkinCheckbox

java.awt.Checkbox autoLoadSkinCheckbox

tryAltTexTypesCheckbox

java.awt.Checkbox tryAltTexTypesCheckbox

warningOnTexLoadCheckbox

java.awt.Checkbox warningOnTexLoadCheckbox

Class md3.md3view.MD3ViewPakFileControl implements Serializable

Serialized Fields

applyToMeshMenu

java.awt.Menu applyToMeshMenu

attachToMenu

java.awt.Menu attachToMenu

basePakFileOpenPath

java.lang.String basePakFileOpenPath

Path of last file loaded from the current pak file.


pakFileTree

Tree pakFileTree

shaderIcon

java.awt.Image shaderIcon

skinIcon

java.awt.Image skinIcon

textIcon

java.awt.Image textIcon

textureIcon

java.awt.Image textureIcon

unknownIcon

java.awt.Image unknownIcon

viewFrame

MD3View viewFrame

zipFile

java.util.zip.ZipFile zipFile

Class md3.md3view.MD3ViewTextViewer implements Serializable

Serialized Fields

textArea

java.awt.TextArea textArea


Package md3.util

Class md3.util.Vec3 implements Serializable

Serialized Fields

x

float x

y

float y

z

float z


Package widgets.awt

Class widgets.awt.MessageDialog implements Serializable

Class widgets.awt.Panel3D implements Serializable

Serialized Fields

type

int type

Class widgets.awt.SplashScreen implements Serializable

Class widgets.awt.TabbedPane implements Serializable

Serialized Fields

fontMetric

java.awt.FontMetrics fontMetric

selectedTab

int selectedTab

tabContents

java.awt.Component[] tabContents

tabCount

int tabCount

tabEnabled

boolean[] tabEnabled

tabHeight

int tabHeight

tabLeftBorder

int[] tabLeftBorder

tabNames

java.lang.String[] tabNames

tabPanelHeight

int tabPanelHeight

tabPanelWidth

int tabPanelWidth

tabRightBorder

int[] tabRightBorder

Class widgets.awt.Tree implements Serializable

Serialized Fields

actionListeners

java.util.ArrayList actionListeners

backBuffer

java.awt.Image backBuffer

closeImg

java.awt.Image closeImg

DELTAX

int DELTAX

DELTAY

int DELTAY

IMG_HEIGHT

int IMG_HEIGHT

IMG_VERT_GAP

int IMG_VERT_GAP

IMG_WIDTH

int IMG_WIDTH

maxLineLength

int maxLineLength

openImg

java.awt.Image openImg

PARENT_LINE_OFFSET

int PARENT_LINE_OFFSET

popupMenuListeners

java.util.ArrayList popupMenuListeners

RECT_VERT_GAP

int RECT_VERT_GAP

root

TreeNode root

selectedNode

TreeNode selectedNode

showNodeIcons

boolean showNodeIcons


Package widgets.awt.event

Class widgets.awt.event.PopupMenuEvent implements Serializable

Serialized Fields

x

int x

y

int y