POV-Ray : Newsgroups : povray.general : Height fields : Re: Height fields Server Time
10 Aug 2024 15:23:09 EDT (-0400)
  Re: Height fields  
From: Margus Ramst
Date: 20 Jan 2000 09:59:27
Message: <38872345.8A060BD1@peak.edu.ee>
True. However, you would have to do interpolation for intermediate values. And
finding the surface normal will be a bit more difficult, if required.

Margus

Peter Popov wrote:
> 
> On Wed, 19 Jan 2000 20:21:21 -0500, Andrea Ryan <ary### [at] global2000net>
> wrote:
> 
> >Is there any way of finding the height of a height field at a given
> >point?
> >Brendan Ryan
> 
> You can do it in the official version but it's quite a heavier
> solution than using trace(). Convert the hf source picture to ppm,
> then use search/replace to replace all white space with commas, and
> then use the file i/o functions in POV to read it into a 2D array.
> 
> Peter Popov
> pet### [at] usanet
> ICQ: 15002700


Post a reply to this message

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