glmodel
Class GL_3DS_Reader

java.lang.Object
  extended by glmodel.GL_3DS_Reader

public class GL_3DS_Reader
extends java.lang.Object

Reads a 3DS file (3D Studio Max) into ArrayLists. Data is read into vertex, normal, texture coodinate and face lists. Rendering and mesh manipulation are done by calling classes.

See Also:
GL_3DS_Importer.java

Field Summary
 java.util.ArrayList faces
           
 java.util.ArrayList normals
           
 java.util.ArrayList textureCoords
           
 java.util.ArrayList vertices
           
 
Constructor Summary
GL_3DS_Reader()
           
GL_3DS_Reader(java.lang.String filename)
           
 
Method Summary
 boolean load3DSFromStream(java.io.InputStream inStream)
           
 void loadobject(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vertices

public java.util.ArrayList vertices

normals

public java.util.ArrayList normals

textureCoords

public java.util.ArrayList textureCoords

faces

public java.util.ArrayList faces
Constructor Detail

GL_3DS_Reader

public GL_3DS_Reader()

GL_3DS_Reader

public GL_3DS_Reader(java.lang.String filename)
Method Detail

loadobject

public void loadobject(java.lang.String filename)

load3DSFromStream

public boolean load3DSFromStream(java.io.InputStream inStream)