POV-Ray : Newsgroups : povray.advanced-users : Perspective problem ... : Re: Perspective problem ... Server Time
28 Jul 2024 18:16:21 EDT (-0400)
  Re: Perspective problem ...  
From: Gilles Tran
Date: 16 Aug 2004 05:49:53
Message: <41208341@news.povray.org>

news:web.41207b10e6dfd373e5987fa60@news.povray.org...

> I think it's OK also because I set :
> - DEM_size_x and DEM_size_z accordingly to the size of my DEM file,
> - DEM_size_y is set to 65535 as I use 16bits PNG file.

It's not the size of the DEM file you need, but the size of the real thing
in meters (it's easier that way in any case).
For instance, if the terrain is supposed to be 2000m (width) x 2000m
(length) x 2341m (maximum height), the scaling should be <2000,2341,2000>.
Of course, this assumes that the maximum height in the DEM file is
translated as pure white in the height field, which may not be the case. It
really depends on how the heights are converted, i.e. what would be the
white value of a map from the Netherlands vs a map of the Himalayas...

G.


-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

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