POV-Ray : Newsgroups : povray.general : Height fields : Re: Height fields Server Time
10 Aug 2024 09:17:26 EDT (-0400)
  Re: Height fields  
From: Peter Popov
Date: 20 Jan 2000 00:33:52
Message: <tZ2GOJxtzUipMf0IdPFGkTAuRxUR@4ax.com>
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.