CesiumGS / obj2gltf

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

Add support for Nodes #22

Closed laurensdijkstra closed 8 years ago

laurensdijkstra commented 8 years ago

It seems that currently the obj2gltf conversion does not include the transforms / pivots / matrices of the obj file. Adding this would make this tool a whole lot more useful.

lilleyse commented 8 years ago

I haven't seen this too often in the obj's I run across. Can you send over an example file?

laurensdijkstra commented 8 years ago

It seems that obj does not support a hierarchy of models. We use this in 3ds Max with linking and pivots for each submodel so they can be rotated with respect to eachother. Perhaps it is not possible to do with obj then. It would make our workflow a lot smoother though, instead of going from Max to Blender to collada -> glTF.

lilleyse commented 8 years ago

Yeah sorry, I've had to deal with pipelines like that before too and it's not fun. Hopefully we will see some direct glTF exporters in these programs eventually.