测试积点老人 发表于 2019-1-15 10:36:34

3D模型obj文件转换json

D:\Program Files (x86)\Python\Python35-32>python "d:\Program Files (x86)\obj-convert-js\convert_obj_three.py" -i *.obj -o result.js
File "d:\Program Files (x86)\obj-convert-js\convert_obj_three.py", line 815
print "WARNING: skipping morph [%s] with different number of vertices [%d] than the original model [%d]" % (name, n_morph_vertices, n_vertices)
^
SyntaxError: invalid syntax
D:\Program Files (x86)\Python\Python35-32>以上就是我的转换运行命令,一直转换不了,求大神解答!

海海豚 发表于 2019-1-16 10:13:38

https://blog.csdn.net/xidaliran/article/details/39050129?spm=a2c4e.11155472.blogcont.5.5fe3b06eupMKx4参考下这个

qqq911 发表于 2019-1-16 11:22:26

检查下代码

jingzizx 发表于 2019-1-16 12:18:31

提示语法错误了
页: [1]
查看完整版本: 3D模型obj文件转换json