[ODE] dGeomTriMeshDataBuildSimple

Arturo Colorado Garín acolorado at telefonica.net
Tue Oct 5 18:54:06 MST 2004


> Hi all,
>
> I'm having trouble with building trimeshes in ODE, in that the procedure
> to build them (dGeomTriMeshDataBuildSimple) crashes out no matter what
> data I give it (I've tried the test data, and various forms of my own
> data).

It looks like you are passing vertices that are made of other than 4
dReal's, as gGeomTriMeshDataBuildSimple() is expecting. Try using
dGeomTriMeshDataBuild() so you can specify your own vertex stride.

Hope this helps.

--Arturo



More information about the ODE mailing list