[ODE] examples, and debug render

Bram Stolk bram at sara.nl
Thu Aug 31 00:10:15 MST 2006


Chris Hunt wrote:
> I've just started with ODE, and have two questions:
> 
> 1 - Are there any example demos with source?  I see mention of them here 
> and there, but cannot find any for the life of me.

./ode/test/test_xxx.cpp

> 2 - Is there some kind of debug render function?  in physX, newton, 
> tokamak they all have some kind of function for rendering a wireframe of 
> all the collision primitives, joints, etc.  All I can find is that 
> DrawStuff thing, which is built in, so I'd have to hack that out of the 
> source so I can use my own renderer, which would be crude with a capial C.

Drawstuff is not integrated into ODE.

Just don't include drawstuff.h in your code, and don't link with it.

Personally, I use ode + plib.
You can take a look at www.sturmbahnfahrer.com for an example on how
to use plib with ode.

  Bram


More information about the ODE mailing list