How to convert object to json file for three.js model loader

后端 未结 6 1823
臣服心动
臣服心动 2021-02-04 05:41

I am building a browser game with three.js and I want to load a model from Maya 2013 into my scene. I have exported the model as an obj file.

Now I need to

6条回答
  •  清歌不尽
    2021-02-04 05:45

    Note: the python converter script has been updated to a js based tool https://github.com/mrdoob/three.js/tree/dev/utils/converters

    Usage:

    node obj2three.js model.obj

提交回复
热议问题