Package toxi.geom.mesh
Class OBJWriter
java.lang.Object
toxi.geom.mesh.OBJWriter
Extremely bare bones Wavefront OBJ 3D format exporter. Purely handles the
writing of data to the .obj file, but does not have any form of mesh
management. See
TriangleMesh
for details.
Needs to get some more TLC in future versions.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beginSave
(OutputStream stream) void
void
endSave()
void
face
(int a, int b, int c) void
faceList()
void
faceWithNormals
(int a, int b, int c, int na, int nb, int nc) int
int
void
void
void
-
Field Details
-
VERSION
- See Also:
-
-
Constructor Details
-
OBJWriter
public OBJWriter()
-
-
Method Details
-
beginSave
-
beginSave
-
endSave
public void endSave() -
face
public void face(int a, int b, int c) -
faceList
public void faceList() -
faceWithNormals
public void faceWithNormals(int a, int b, int c, int na, int nb, int nc) -
getCurrNormalOffset
public int getCurrNormalOffset() -
getCurrVertexOffset
public int getCurrVertexOffset() -
newObject
-
normal
-
vertex
-