POV-Ray : Newsgroups : povray.newusers : converting DEM to height field : converting DEM to height field Server Time
5 Nov 2024 05:25:43 EST (-0500)
  converting DEM to height field  
From: Eric Fielding
Date: 14 Jul 2000 10:25:58
Message: <396F2301.20E5FDFF@sierras.jpl.nasa.gov>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.