POV-Ray : Newsgroups : povray.general : Infinite (tiled) Heightfields : Re: Infinite (tiled) Heightfields Server Time
12 Aug 2024 19:39:10 EDT (-0400)
  Re: Infinite (tiled) Heightfields  
From: Thorsten Froehlich
Date: 25 Jan 1999 12:24:51
Message: <36aca8e3.0@news.povray.org>
In article <36ac79eb.0@news.povray.org> , par### [at] my-dejanewscom (Ron 
Parker) wrote:

> I can't think of any way to
> detect a ray that is parallel to the bounding slab

Hmm, if I understand it right the heightfield is bounded by two parallel
planes, so all you need to test is if a ray is parallel one of the planes
(which is easy). Then you test is there is any intersection with this ray
and the heightfields within the first 2*sqrt(2) (for a heightfield scaled to
1 only) and you are done.


      Thorsten


Post a reply to this message

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