Re: Terrain
"Jon Watte (ODE)" <[email protected]> Tue, 23 Oct 2007 08:54:00 -0700
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
mpeniak wrote:
> from somewhere. Does it mean that I could use some external graphical
> program such as milkshape or blender to create a terrain and export it as a
> triangle mesh and then copy this into my code please?
>
Yes, that's what most people do. Load the mesh somehow (there are lots
of tutorials on the web; try the .obj file format for example). Once you
have vertices and indices, call dGeomTriMeshDataBuildSingle(). Look in
the documentation for more information.
Cheers,
/ h+