Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exporting Threejs Scene to Obj Format

Tags:

three.js

It seems that Three.js allows loading geometry from OBJ files (Blender, 3DsMax, etc), but is there any support for exporting a Three.js scene into an OBJ file (or any other formats)?

like image 369
Sam Avatar asked Oct 13 '13 23:10

Sam


1 Answers

By looking extensively at the GitHub repository, I found an OBJ exporter (not shipped with three.js):

var exporter = new THREE.OBJExporter();
exporter.parse(mesh);
like image 104
Sam Avatar answered Oct 09 '22 21:10

Sam