[ODE] Setting / Creating body geometry

Megan Fox shalinor at gmail.com
Thu Sep 1 10:11:43 MST 2005

I would suggest you check the test_trimesh.cpp for an example of usage
(and just do a general search of the doc on the website for "trimesh",
since more or less every trimesh-related function has "trimesh"
somewhere in the name)

On 9/1/05, Lim, Theodore <T.Lim at hw.ac.uk> wrote:
> Hi,
> I'm new to ODE and would like to know how to create / set geometry to a
> dBodyID.
> I was looking at the test_chain1 example and noticed a function
> dGeomSetBody(dGeomID*, dBodyID*) used to set geometry to the body. 
> My question here is how can i take my triangle mesh data (obtained from
> *.STL) as input to build a dGeomID object. Are there also other ways to
> input my mesh data to set the geometry required by ODE/OPCODE.
> Any help, ideas, and example code would be greatly appreciated.
> Many thanks in advance,
> Theo.
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode

-Megan Fox
Lead Developer, Elium Project

More information about the ODE mailing list