POV-Ray : Newsgroups : povray.general : Planar Span-Vector problems... : Planar Span-Vector problems... Server Time
4 Aug 2024 16:14:20 EDT (-0400)
  Planar Span-Vector problems...  
From: Tim Nikias v2 0
Date: 18 Mar 2003 04:53:19
Message: <3e76ec8f@news.povray.org>
So, working on my Water-Script, here's an idea I had:
Give two corner-points for the planar mesh.
Give surface normal for that plane.

The system should then construct a grid and generate
the appropriate vectors in order to calculate differences
in heights (in relation to the normal vector) needed for the
algorithm to work.

Problem is, this method only gets me squared meshes
(no rectangles) and the angles of the original spanvectors
aren't exactly aligned with the axis'.

So, question:
Should I rather have the User define three corners, and any
point "above" the water plane (the above is required to get
the correct direction for the surface normal and thus for the
algorithm to work properly), this would lead to four vectors the
user has to set.

Otherwise, the system would have to be limited to a y-plane.


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


Post a reply to this message

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