We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
有一个类似的项目正在进行中,它为 matlab 和 python 实现了机器人工具箱 ,它具有“基本的 3D 图形”,但您始终可以将其与搅拌机进行良好的连接 脚本,比重新发明轮子还省事
There is a similar project going on that implements a robotic toolbox for matlab and python, it has "Rudimentary 3D graphics", but you can always interface it with blender with a well knit script, it will be less work than reinventing the wheel
如果可以预先计算运动,您可以使用 Blender,手工制作动画,以某种动画文件格式(cal3d?)烘焙它们,然后在 wxPython OpenGL 窗口中渲染。
如果您需要处理用户输入,您可以使用物理引擎...我听说 Bullet 有 Python 绑定:http://www.bulletphysicals.org/Bullet/phpBB3/viewtopic.php?p=&f=9&t=4030(可能仍不稳定)。
关于您对 Blender/OpenGL 的疑问:“复杂对象”是什么意思?有多少“机器人/无论什么”?每个机器人有多少个三角形?每个机器人有多少个关节? (我会根据你的答案编辑我的答案)
无论如何,OpenGL本身不会做任何其他事情,只是“显示三角形”;其他一切都必须在别处完成。
编辑
抱歉耽搁了,我完全忘记了。
所以我的建议是:
祝你好运 !
If movements can be pre-computed, you can use Blender, hand-craft animations, bake them in some animated file format (cal3d ?), and just render in your wxPython OpenGL window.
If you need to handle user input, you can use a physics engine... I hear Bullet has Python bindings : http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?p=&f=9&t=4030 (probably still unstable).
Regarding your doubts on Blender/OpenGL : What do you mean by "complex objects" ? How many "robots/whatever" ? How many triangle per robot ? How many articulations per robot ? (I'll edit my answer depending on yours)
Anyway, OpenGL in itself won't do anything else that juste "display triangles" ; everything else has to be done eslewhere.
EDIT
Sorry for the delay, I completely forgot.
So here is what I suggest :
good luck !