CesiumGS / obj2gltf

Convert OBJ assets to glTF
Apache License 2.0
1.71k stars 307 forks source link

Blender OBJ #17

Closed Peters69 closed 7 years ago

Peters69 commented 8 years ago

How to export OBJ file from Blender to keep meshes separated. If I use OBJ2GLTF -e all meshes will be combined using only one material.

node bin/obj2gltf.js test.obj -e

Thanks for help! Peter

lilleyse commented 8 years ago

Unfortunately there is no option to keep the meshes separate right now, but this is something I've been planning to add for a while. I'll let you know when I've added support for it.

Peters69 commented 8 years ago

This would be great! TX

plandem commented 8 years ago

need separate too or info how to use 'pick' feature to get correct mesh.

emackey commented 8 years ago

Some people use Python scripting to export separate OBJ files which could be used to automate this task.

lilleyse commented 7 years ago

Fixed in #49

The converter no longer combines by material unless optimize is set.