2,仔细阅读INSTALL文件
3,cmake CMakeLists.txt -G 'Unix Makefiles'
4,make
5,make install
6,检查ls /usr/local/lib/libassimp*或/告纤usr/local/include/简友带assimp
7,准备安装PyAssimp,git clone:hss...
8,确认是否安装python2.7.X
9,python setup.py install 安装完成
接下来就可以测试了
from pyassimp import *
scene = load('feiji1.obj')assert len(scene.meshes)
mesh = scene.meshes[0]assert len(mesh.vertices)
print(mesh.vertices[0])
release(scene)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)