[ODE] Dem and Heightfield

Jon Watte (ODE) hplus-ode at mindcontrol.org
Thu Aug 17 09:22:48 MST 2006

Note that DEM is often relative to some geodetic coordinate datum, so 
the grid points aren't exactly regular in the geocentric (or 
local-centric euclidean) coordinate space used by ODE (and most other 
physics packages). For small patches of land, the difference doesn't 
matter. For larger areas, you will see stretching towards the edges of 
your play box.


          / h+

David Walters wrote:
>> I was wondering if anyone has ever integrated DEM data with the
>> dHeightfield class. As I'm trying to take .vrml data or .dem data from
>> vtterrain and generate a heightfield of this?
> I've not heard of DEM data before, however after reading a little
> about it ( "Digital Elevation Model" ) - I don't see why you couldn't
> use it. You'd have to convert the data into one of the following
> supported formats and it'll work seeing as how it's a regularly spaced
> grid:
> unsigned char ( 8-bit )
> short ( 16-bit signed )
> float ( 32-bit )
> double ( 64-bit )

More information about the ODE mailing list