在Matlab中显示3DS格式的3D对象
First of all, please download JMonkey Engine.Second, please copy all DLL files in JMonkey Engine "natives" folder to Matlab windows path (D:\MATLAB\R2007b\bin\win32). Finally, please use the following syntax to run jar file in Matlab. >> javaaddpath jME_3DS_Loader.jar >> import MAXLoader.Show3DS >> a = Show3DS('3DS Loader','D:\3Dmodel\test.3ds', 1); //log on >> a = Show3DS('3DS Loader','D:\3Dmodel\test.3ds', 0); //log off You can use a.SetPos(x, y, z, angle, pitch, raw, yaw) to set position; a .SetRotation(angle, pitch, raw, yaw) set rotation; a.SetLocalScale() set local scale(Zoom object); a.Close() to quit .SetRotation(angle, pitch, raw, yaw) set rotation; a.SetLocalScale() set local scale(Zoom object); a.Close() to quit
文件列表
dist.rar
(预估有个4文件)
dist
README.TXT
1KB
jME_3DS_Loader.jar
21KB
lib
lwjgl.jar
550KB
jME_2.0.jar
16.49MB
用户评论