Creating .obj files in Java

Is there a Java library for creating .obj files. There is a lot to download .obj files for use with APIs like JOGL, but I cannot find anything to do with creating a .obj file.

+4
source share
1 answer

Perhaps this can help, citing ObjWriter , with an example use:

 // Open the OBJ file "MyObject.obj" OBJWriter writer = new OBJWriter("MyObject.obj"); // Write one node or more if you want writer.writeNode(java3DNode1); writer.writeNode(java3DNode2); // ... // Close file. This will create the MTL file and texture files in same directory writer.close(); 
+4
source

All Articles