Does anyone have a program or code fragment (C or Fortran) to convert a
"raw" Digital Elevation Model to one of the height_field formats that
POV can use? I have MacDEM, but it only reads the standard USGS DEM
format or ASCII text PGM files.
It seems a bit inefficient to store a DEM with 16 bits per sample in a
24-bit per pixel TARGA or PNG or PPM image, but I guess those formats
contain the image size in a convenient form.
++Eric
Post a reply to this message
|