[ODE] Terrain

Jon Watte (ODE) hplus-ode at mindcontrol.org
Tue Oct 23 08:54:00 MST 2007

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.


             / h+

More information about the ODE mailing list