POV-Ray : Newsgroups : povray.advanced-users : Heightfields question : Re: Heightfields question Server Time
29 Jul 2024 06:18:55 EDT (-0400)
  Re: Heightfields question  
From: Fidel viegas
Date: 19 Nov 2002 09:55:30
Message: <BA000024.70E3%fidel.viegas@artrecognition.co.uk>
in article 3dda4e49@news.povray.org, Johannes Dahlstrom at
sad### [at] tkukoulufi wrote on 19/11/02 2:42 pm:

> Fidel viegas wrote:
> 
>> Hello guys, is there a way of checking the height of a heightfield at an
>> (x,z) point?
>> 
>> Thanks in advance
>> 
>> Fidel.
> 
> The trace() function does this, among a multitude of other things.
> Basically, it tests a ray against an object and returns the nearest
> intersection point (and optionally the normal, too). Check the docs for
> more info.

Thanks. I'll have a look at it.

All the best

Fidel.


Post a reply to this message

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