我一直在尝试使用pandas3D创建游戏,但我发现load model函数只能使用x、bam和egg文件。但是我只有obj文件。我该如何将obj模型加载到pandas中呢?我已经尝试将.obj转换为.x,但出现了错误。使用Obj2Egg后,我得到了以下错误:C:\Users\inbar\Desktop\t>obj2egg.py -n30 -b -t -s OBJ.obj option -t未被识别。
This Version: $Id: obj2egg.py,v 1.7 2008/05/26 17:42:53 andyp Exp $
Info: info >at< pfastergames.com
Extended from: http://panda3d.org/phpbb2/viewtopic.php?t=3378
.___..__ .___.___.___.__..__ . .
| [__)[__ [__ [__ | |[__)|\/|
| | \[___[___| |__|| \| |
obj2egg.py [n##][b][t][s] filename1.obj ...
-n regenerate normals with # degree smoothing
exaple -n30 (normals at less 30 degrees will be smoothed)
-b make binarmals
-t make tangents
-s show in pview
licensed under WTFPL (http://sam.zoy.org/wtfpl/)