[ODE] ODE/VTK relations

J. Perkins starkos at gmail.com
Wed Mar 1 06:06:42 MST 2006


On 2/28/06, adastra at inorbit.com <adastra at inorbit.com> wrote:
> Could someone please tell me how I can create a bodyID for my VTK object? I
> tried to enter the name of the 'body' into the dGeomSetBody function, but to
> no avail I'm afraid.

I don't know what "VTK" is, but I'll guess it's a visualization
library. ODE does not know anything about VTK objects, so you will
have to provide that glue yourself. Create an ODE body and geom for
your object, and each frame copy the position and orientation out of
the ODE body and into your VTK visual.

Hope that helps,

Jason



More information about the ODE mailing list