com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles
Class TDSFile
java.lang.Object
com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.ChunkerClass
com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.TDSFile
- All Implemented Interfaces:
- com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.MaxChunkIDs
- public class TDSFile
- extends com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.ChunkerClass
Started Date: Jul 2, 2004
type=4d4d=MAIN_3DS
parent=nothing
- Author:
- Jack Lindamood
|
Constructor Summary |
TDSFile(java.io.DataInput myIn)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myIn
public java.io.DataInput myIn
NULL_CHUNK
public static final int NULL_CHUNK
- See Also:
- Constant Field Values
UNKNOWN1
public static final int UNKNOWN1
- See Also:
- Constant Field Values
TDS_VERSION
public static final int TDS_VERSION
- See Also:
- Constant Field Values
COLOR_FLOAT
public static final int COLOR_FLOAT
- See Also:
- Constant Field Values
COLOR_BYTE
public static final int COLOR_BYTE
- See Also:
- Constant Field Values
CLR_BYTE_GAMA
public static final int CLR_BYTE_GAMA
- See Also:
- Constant Field Values
CLR_FLOAT_GAMA
public static final int CLR_FLOAT_GAMA
- See Also:
- Constant Field Values
PRCT_INT_FRMT
public static final int PRCT_INT_FRMT
- See Also:
- Constant Field Values
PRCT_FLT_FRMT
public static final int PRCT_FLT_FRMT
- See Also:
- Constant Field Values
MASTER_SCALE
public static final int MASTER_SCALE
- See Also:
- Constant Field Values
BACKGRD_BITMAP
public static final int BACKGRD_BITMAP
- See Also:
- Constant Field Values
BACKGRD_COLOR
public static final int BACKGRD_COLOR
- See Also:
- Constant Field Values
USE_BCK_COLOR
public static final int USE_BCK_COLOR
- See Also:
- Constant Field Values
V_GRADIENT
public static final int V_GRADIENT
- See Also:
- Constant Field Values
SHADOW_BIAS
public static final int SHADOW_BIAS
- See Also:
- Constant Field Values
SHADOW_MAP_SIZE
public static final int SHADOW_MAP_SIZE
- See Also:
- Constant Field Values
SHADOW_MAP_RANGE
public static final int SHADOW_MAP_RANGE
- See Also:
- Constant Field Values
RAYTRACE_BIAS
public static final int RAYTRACE_BIAS
- See Also:
- Constant Field Values
O_CONSTS
public static final int O_CONSTS
- See Also:
- Constant Field Values
GEN_AMB_COLOR
public static final int GEN_AMB_COLOR
- See Also:
- Constant Field Values
FOG_FLAG
public static final int FOG_FLAG
- See Also:
- Constant Field Values
FOG_BACKGROUND
public static final int FOG_BACKGROUND
- See Also:
- Constant Field Values
DISTANCE_QUEUE
public static final int DISTANCE_QUEUE
- See Also:
- Constant Field Values
LAYERED_FOG_OPT
public static final int LAYERED_FOG_OPT
- See Also:
- Constant Field Values
DQUEUE_BACKGRND
public static final int DQUEUE_BACKGRND
- See Also:
- Constant Field Values
DEFAULT_VIEW
public static final int DEFAULT_VIEW
- See Also:
- Constant Field Values
VIEW_CAMERA
public static final int VIEW_CAMERA
- See Also:
- Constant Field Values
EDIT_3DS
public static final int EDIT_3DS
- See Also:
- Constant Field Values
MESH_VERSION
public static final int MESH_VERSION
- See Also:
- Constant Field Values
NAMED_OBJECT
public static final int NAMED_OBJECT
- See Also:
- Constant Field Values
OBJ_TRIMESH
public static final int OBJ_TRIMESH
- See Also:
- Constant Field Values
VERTEX_LIST
public static final int VERTEX_LIST
- See Also:
- Constant Field Values
VERTEX_OPTIONS
public static final int VERTEX_OPTIONS
- See Also:
- Constant Field Values
FACES_ARRAY
public static final int FACES_ARRAY
- See Also:
- Constant Field Values
MESH_MAT_GROUP
public static final int MESH_MAT_GROUP
- See Also:
- Constant Field Values
TEXT_COORDS
public static final int TEXT_COORDS
- See Also:
- Constant Field Values
SMOOTH_GROUP
public static final int SMOOTH_GROUP
- See Also:
- Constant Field Values
COORD_SYS
public static final int COORD_SYS
- See Also:
- Constant Field Values
MESH_COLOR
public static final int MESH_COLOR
- See Also:
- Constant Field Values
MESH_TEXTURE_INFO
public static final int MESH_TEXTURE_INFO
- See Also:
- Constant Field Values
LIGHT_OBJ
public static final int LIGHT_OBJ
- See Also:
- Constant Field Values
LIGHT_SPOTLIGHT
public static final int LIGHT_SPOTLIGHT
- See Also:
- Constant Field Values
LIGHT_ATTENU_ON
public static final int LIGHT_ATTENU_ON
- See Also:
- Constant Field Values
LIGHT_SPOT_SHADOWED
public static final int LIGHT_SPOT_SHADOWED
- See Also:
- Constant Field Values
LIGHT_LOC_SHADOW
public static final int LIGHT_LOC_SHADOW
- See Also:
- Constant Field Values
LIGHT_SEE_CONE
public static final int LIGHT_SEE_CONE
- See Also:
- Constant Field Values
LIGHT_SPOT_OVERSHOOT
public static final int LIGHT_SPOT_OVERSHOOT
- See Also:
- Constant Field Values
LIGHT_SPOT_ROLL
public static final int LIGHT_SPOT_ROLL
- See Also:
- Constant Field Values
LIGHT_SPOT_BIAS
public static final int LIGHT_SPOT_BIAS
- See Also:
- Constant Field Values
LIGHT_IN_RANGE
public static final int LIGHT_IN_RANGE
- See Also:
- Constant Field Values
LIGHT_OUT_RANGE
public static final int LIGHT_OUT_RANGE
- See Also:
- Constant Field Values
LIGHT_MULTIPLIER
public static final int LIGHT_MULTIPLIER
- See Also:
- Constant Field Values
CAMERA_FLAG
public static final int CAMERA_FLAG
- See Also:
- Constant Field Values
CAMERA_RANGES
public static final int CAMERA_RANGES
- See Also:
- Constant Field Values
MAIN_3DS
public static final int MAIN_3DS
- See Also:
- Constant Field Values
KEY_VIEWPORT
public static final int KEY_VIEWPORT
- See Also:
- Constant Field Values
VIEWPORT_DATA
public static final int VIEWPORT_DATA
- See Also:
- Constant Field Values
VIEWPORT_DATA3
public static final int VIEWPORT_DATA3
- See Also:
- Constant Field Values
VIEWPORT_SIZE
public static final int VIEWPORT_SIZE
- See Also:
- Constant Field Values
XDATA_SECTION
public static final int XDATA_SECTION
- See Also:
- Constant Field Values
MAT_NAME
public static final int MAT_NAME
- See Also:
- Constant Field Values
MAT_AMB_COLOR
public static final int MAT_AMB_COLOR
- See Also:
- Constant Field Values
MAT_DIF_COLOR
public static final int MAT_DIF_COLOR
- See Also:
- Constant Field Values
MAT_SPEC_CLR
public static final int MAT_SPEC_CLR
- See Also:
- Constant Field Values
MAT_SHINE
public static final int MAT_SHINE
- See Also:
- Constant Field Values
MAT_SHINE_STR
public static final int MAT_SHINE_STR
- See Also:
- Constant Field Values
MAT_ALPHA
public static final int MAT_ALPHA
- See Also:
- Constant Field Values
MAT_ALPHA_FAL
public static final int MAT_ALPHA_FAL
- See Also:
- Constant Field Values
MAT_REF_BLUR
public static final int MAT_REF_BLUR
- See Also:
- Constant Field Values
MAT_TWO_SIDED
public static final int MAT_TWO_SIDED
- See Also:
- Constant Field Values
MAT_SELF_ILUM
public static final int MAT_SELF_ILUM
- See Also:
- Constant Field Values
MAT_WIREFRAME_ON
public static final int MAT_WIREFRAME_ON
- See Also:
- Constant Field Values
MAT_WIRE_SIZE
public static final int MAT_WIRE_SIZE
- See Also:
- Constant Field Values
IN_TRANC_FLAG
public static final int IN_TRANC_FLAG
- See Also:
- Constant Field Values
MAT_SOFTEN
public static final int MAT_SOFTEN
- See Also:
- Constant Field Values
MAT_WIRE_ABS
public static final int MAT_WIRE_ABS
- See Also:
- Constant Field Values
MAT_SHADING
public static final int MAT_SHADING
- See Also:
- Constant Field Values
TEXMAP_ONE
public static final int TEXMAP_ONE
- See Also:
- Constant Field Values
MAT_REFLECT_MAP
public static final int MAT_REFLECT_MAP
- See Also:
- Constant Field Values
MAT_FALLOFF
public static final int MAT_FALLOFF
- See Also:
- Constant Field Values
MAT_TEX_BUMP_PER
public static final int MAT_TEX_BUMP_PER
- See Also:
- Constant Field Values
MAT_TEX_BUMPMAP
public static final int MAT_TEX_BUMPMAP
- See Also:
- Constant Field Values
MAT_REFL_BLUR
public static final int MAT_REFL_BLUR
- See Also:
- Constant Field Values
MAT_TEXNAME
public static final int MAT_TEXNAME
- See Also:
- Constant Field Values
MAT_SXP_TEXT_DATA
public static final int MAT_SXP_TEXT_DATA
- See Also:
- Constant Field Values
MAT_SXP_BUMP_DATA
public static final int MAT_SXP_BUMP_DATA
- See Also:
- Constant Field Values
MAT_TEX2MAP
public static final int MAT_TEX2MAP
- See Also:
- Constant Field Values
MAT_TEX_FLAGS
public static final int MAT_TEX_FLAGS
- See Also:
- Constant Field Values
MAT_TEX_BLUR
public static final int MAT_TEX_BLUR
- See Also:
- Constant Field Values
TEXTURE_V_SCALE
public static final int TEXTURE_V_SCALE
- See Also:
- Constant Field Values
TEXTURE_U_SCALE
public static final int TEXTURE_U_SCALE
- See Also:
- Constant Field Values
MAT_BLOCK
public static final int MAT_BLOCK
- See Also:
- Constant Field Values
KEYFRAMES
public static final int KEYFRAMES
- See Also:
- Constant Field Values
KEY_AMB_LI_INFO
public static final int KEY_AMB_LI_INFO
- See Also:
- Constant Field Values
KEY_OBJECT
public static final int KEY_OBJECT
- See Also:
- Constant Field Values
KEY_CAMERA_OBJECT
public static final int KEY_CAMERA_OBJECT
- See Also:
- Constant Field Values
KEY_CAM_TARGET
public static final int KEY_CAM_TARGET
- See Also:
- Constant Field Values
KEY_OMNI_LI_INFO
public static final int KEY_OMNI_LI_INFO
- See Also:
- Constant Field Values
KEY_SPOT_TARGET
public static final int KEY_SPOT_TARGET
- See Also:
- Constant Field Values
KEY_SPOT_OBJECT
public static final int KEY_SPOT_OBJECT
- See Also:
- Constant Field Values
KEY_SEGMENT
public static final int KEY_SEGMENT
- See Also:
- Constant Field Values
KEY_CURTIME
public static final int KEY_CURTIME
- See Also:
- Constant Field Values
KEY_HEADER
public static final int KEY_HEADER
- See Also:
- Constant Field Values
TRACK_HEADER
public static final int TRACK_HEADER
- See Also:
- Constant Field Values
TRACK_PIVOT
public static final int TRACK_PIVOT
- See Also:
- Constant Field Values
BOUNDING_BOX
public static final int BOUNDING_BOX
- See Also:
- Constant Field Values
MORPH_SMOOTH
public static final int MORPH_SMOOTH
- See Also:
- Constant Field Values
TRACK_POS_TAG
public static final int TRACK_POS_TAG
- See Also:
- Constant Field Values
TRACK_ROT_TAG
public static final int TRACK_ROT_TAG
- See Also:
- Constant Field Values
TRACK_SCL_TAG
public static final int TRACK_SCL_TAG
- See Also:
- Constant Field Values
KEY_FOV_TRACK
public static final int KEY_FOV_TRACK
- See Also:
- Constant Field Values
KEY_ROLL_TRACK
public static final int KEY_ROLL_TRACK
- See Also:
- Constant Field Values
KEY_COLOR_TRACK
public static final int KEY_COLOR_TRACK
- See Also:
- Constant Field Values
KEY_HOTSPOT_TRACK
public static final int KEY_HOTSPOT_TRACK
- See Also:
- Constant Field Values
KEY_FALLOFF_TRACK
public static final int KEY_FALLOFF_TRACK
- See Also:
- Constant Field Values
NODE_ID
public static final int NODE_ID
- See Also:
- Constant Field Values
TDSFile
public TDSFile(java.io.DataInput myIn)
throws java.io.IOException
processChildChunk
protected boolean processChildChunk(com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.ChunkHeader i)
throws java.io.IOException
- Throws:
java.io.IOException
buildScene
public Node buildScene()
throws java.io.IOException
- Throws:
java.io.IOException
initializeVariables
protected void initializeVariables()
throws java.io.IOException
- Throws:
java.io.IOException
readChunk
protected void readChunk(com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.ChunkHeader inChunk)
throws java.io.IOException
- Throws:
java.io.IOException
skipSize
protected void skipSize(int length)
throws java.io.IOException
- Throws:
java.io.IOException
chunk
public void chunk()
throws java.io.IOException
- Throws:
java.io.IOException
readcStr
protected final java.lang.String readcStr()
throws java.io.IOException
- Throws:
java.io.IOException
readcStrAndDecrHeader
protected final java.lang.String readcStrAndDecrHeader()
throws java.io.IOException
- Throws:
java.io.IOException
readcStr
protected final java.lang.String readcStr(int byteLen)
throws java.io.IOException
- Throws:
java.io.IOException
setHeader
protected void setHeader(com.jme.scene.model.XMLparser.Converters.TDSChunkingFiles.ChunkHeader header)
decrHeaderLen
protected void decrHeaderLen(int length)