Export Object3D into a .obj file

Started by Pignic, September 12, 2014, 05:50:37 PM

Previous topic - Next topic

Pignic

Hi,

Is it possile to create a .obj file and write some Object3D in it ?

Thanks.

EgonOlsen

Yes, it is possible, but it's not built-in. You would have to use a PolygonManager and at least basic understanding of the OBJ-format to extract the data and write it into a file. If you want to tackle this, here's a thread that contains some example code to write a basic ASC format file based on an Object3D's data. It might help as a starting point: http://www.jpct.net/forum2/index.php/topic,1216.msg10649.html#msg10649