Re: Code that reads a DirectX Mesh (.X file format) and translate it into a TriMesh geom ready for collisions
"Jon Watte (ODE)" <[email protected]> Fri, 16 Nov 2007 10:27:40 -0800
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
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.
>