POV-Ray : Newsgroups : povray.general : Planar Span-Vector problems... : Re: Planar Span-Vector problems... Server Time
4 Aug 2024 16:10:54 EDT (-0400)
  Re: Planar Span-Vector problems...  
From: Tim Nikias v2 0
Date: 18 Mar 2003 13:34:08
Message: <3e7766a0@news.povray.org>
Thanks for at least one reply! :-)

I already went that way to try the feeling of it, and it seemed
good to me. It's now using three points to span the rectangle,
and a fourth point to mark the outside of the water-plane.
The fourth point need not be aligned with the surface normal
or the axis, it just needs to be above or below the rectangle
for the algorithm to figure out.

It spans one axis from point 1 to 2, and then a second axis
from point 2 to 3. It thus gets its span-vectors, and is also
easy to set up for skewed rectangles, like rombus and such.

--
Tim Nikias v2.0
Homepage: http://www.digitaltwilight.de/no_lights
Email: Tim### [at] gmxde

>
> Use three points, and make the ordering of the points significant.
>
> Regards,
> John


Post a reply to this message

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