POV-Ray : Newsgroups : povray.beta-test : 16-bit PGM pigment and height field problems : Re: 16-bit PGM pigment and height field problems Server Time
31 Jul 2024 06:25:26 EDT (-0400)
  Re: 16-bit PGM pigment and height field problems  
From: Ron Parker
Date: 3 Oct 2001 09:17:39
Message: <slrn9rm3vk.jd3.ron.parker@fwi.com>
On Tue, 2 Oct 2001 22:29:02 -0500, Mike Hough wrote:
>Btw, the offset in the map was an error with the orginal DEM files the USGS
>released.  The non-square data is saved as a part of a square to prevent
>distortion without scaling.

No, the offset in the map is because UTM is not "square" unless you're on
a meridian.  If you account for the projection, that problem goes away.  I
used to write GIS software; I dealt with USGS products all the time.  

--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}


Post a reply to this message

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