|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.loaders.discreet.MaxUtils
public class MaxUtils
Utility class for working on the parsed 3DS objects to create additional data structures.
This class can be used to take the mesh structure and generate appropriate normals, bi normals and tangent space information.
Constructor Summary | |
---|---|
MaxUtils()
|
Method Summary | |
---|---|
void |
calcAllNormals(ObjectMesh mesh)
Do all the parsing work. |
void |
calcBiNormalsAndTangents(TriangleMesh mesh)
Calculate the binormals tangents for a given tri-mesh. |
void |
calcNormals(TriangleMesh mesh)
Calculate the normals for a given tri-mesh. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaxUtils()
Method Detail |
---|
public void calcAllNormals(ObjectMesh mesh)
calcNormals()
. Binormal and tangent space
information are not calculated.
mesh
- The mesh to process for normalspublic void calcBiNormalsAndTangents(TriangleMesh mesh)
public void calcNormals(TriangleMesh mesh)
mesh
- The mesh to use the data from
|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |