|
Welcome to Physically Based Modeling
with Computer Graphics!
by Brent Perteet
This tutorial is intended to guide the reader through the process of modeling a real, physical system with both computer graphics and a dynamics engine capable of modeling the dynamics associated with a physical system. The tutorial combines two off-the-shelf packages that will aid in accomplishing these goals - OpenSceneGraph and Open Dynamics Engine. Each of these products are mature, cross-platform, open-source C++ packages which have been used in many projects.
This tutorial will demonstrate how to integrate these open source packages to model a real, physical system. This system will be wheeled, mobile robot in an environment with movable obstacles. The model will take into account physical forces such as gravity and friction as well as collisions between objects. The tutorial includes the full source code used to create the model and user interface. The tutorial is not intended to be a comprehensive treatment of physically based model, but discusses the most important aspects of the code used to create the vehicle, obstacles, and the simulation itself. The source code is provided to motivate further investigation into this topic.
The tutorial is organized according to the following outline:
Configuration |
Describes installation and development environment configuration for OpenSceneGraph, Open Dynamics Engine, and Visual Studio |
| Graphical Modeling |
Introduces the OpenSceneGraph toolkit |
| Dynamics Modeling |
Introduces the Open Dynamics Engine toolkit |
| Vehicle |
Describes the modeling of the four wheeled robotic vehicle |
| Obstacles |
Describes the modeling of the obstacles in the environment |
| Integration |
Describes the user interface and how the simulation is updated in time |
| Resources |
Supplemental resources and additional information about OpenSceneGraph and Open Dynamics Engine. |
System Requirements
This tutorial has been designed for use on the Microsoft Windows platform. Additionally, these tools and packages are required:
Although Visual Studio .NET 2003 is not specifically required to use the C++ packages OpenSceneGraph, Open Dynamics Engine, and Qt, the tutorial will illustrate how this development environment should be configured in order to use these tools together. The reader may wish to implement the tutorial examples on another platform such as Linux; however, instructions for configuring the environment are not be provided here.
|