[ODE] Code that reads a DirectX Mesh (.X file format) and translate it into a TriMesh geom ready for collisions

Jon Watte (ODE) hplus-ode at mindcontrol.org
Fri Nov 16 11:27:40 MST 2007


Are you on Windows? If so, just use D3DX to create a mesh from a file, 
and lock the index/vertex buffers to get at the data. Copy the data you 
need out, and dispose the D3DX Mesh interface.

Cheers,

          / h+


Colm Sloan wrote:
> Is this code still floating around out there? I don't want to reinvent
> the wheel if it's not necessary. It doesn't matter what language it's
> in, I could translate it to C++ no problem.
>   



More information about the ODE mailing list