gestalt.model
Class ModelLoaderOBJ

java.lang.Object
  extended by gestalt.model.ModelLoaderOBJ

public class ModelLoaderOBJ
extends java.lang.Object


Field Summary
static int GET_NORMALS_CCW
           
static int GET_NORMALS_CW
           
static int GET_NORMALS_DIRECTION
           
static int NUMBER_OF_VERTEX_COMPONENTS
           
static int PRIMITIVE
           
static boolean VERBOSE
           
 
Constructor Summary
ModelLoaderOBJ()
           
 
Method Summary
static void createNormalsTRIANGLE(float[] theVertices, float[] theNormals)
           
static ModelData getModelData(java.io.InputStream theModelFile)
           
static ModelData[] getModelDataAsDiscreteModels(java.io.InputStream theModelFile)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

public static boolean VERBOSE

GET_NORMALS_CCW

public static int GET_NORMALS_CCW

GET_NORMALS_CW

public static int GET_NORMALS_CW

GET_NORMALS_DIRECTION

public static int GET_NORMALS_DIRECTION

NUMBER_OF_VERTEX_COMPONENTS

public static int NUMBER_OF_VERTEX_COMPONENTS

PRIMITIVE

public static int PRIMITIVE
Constructor Detail

ModelLoaderOBJ

public ModelLoaderOBJ()
Method Detail

getModelData

public static ModelData getModelData(java.io.InputStream theModelFile)

getModelDataAsDiscreteModels

public static ModelData[] getModelDataAsDiscreteModels(java.io.InputStream theModelFile)

createNormalsTRIANGLE

public static void createNormalsTRIANGLE(float[] theVertices,
                                         float[] theNormals)


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009