If you can't explain it simply,

you don't understand it well enough.

ODE仿真引擎使用(一)

  ODE是一个用于模拟刚体动力学的开源高性能库。它功能全面、稳定、成熟、独立于平台,具有易于使用的C/C++ API。它具有先进的关节类型和集成的碰撞检测与摩擦。ODE对于模拟虚拟现实环境中的车辆、物体和虚拟生物非常有用。它目前被用于许多电脑游戏、3D创作工具和仿真工具中。

  Open Dynamics Engine基本配置及使用:

  1: 下载ODE源代码 DOWNLOAD Add:

  http://sourceforge.net/projects/opende/

  2: 解压得到

 

  3: 通过premake生成示例程序

  首先定位到build文件目录下:

 

  输入命令 输入 “premake4 --with-demos --with-tests vs2010” 来生成 Microsoft Visual Studio 2010 的工程示例文件。

 

  该示例文件可以直接运行,ode.sln 查看ode示例程序、运行。

 

  问题1:
cannot open image file’D:/ODE/…..sky.ppm’->>>打开texturepath.h修改路径。
E:/ODE/ODE/ode-0.16/build/vs2010/drawstuff/textures

  问题2:
could not open stdin-- 0x90ED269A 处(位于 demo_cards.exe 中)引发的异常: 0xC0000008: An invalid handle was specified。指定了无效句柄 注释掉出错的语句!
此上内容在windows.cpp中,注释掉后将隐藏掉命令

posted @ 2020-02-05 17:17  赵小亮  阅读(1192)  评论(0编辑  收藏  举报


Though the night was made for loving,
and the day returns too soon,
yet we'll go no more a-roving
by the light of the moon.