|
![](/i/fill.gif) |
This works fine. Now i just have to (and want to) understand the
mathemathics behind this...
I found the following web page (in german):
http://wwwzb.zb.kfa-juelich.de/mathe/daten/kap_3/node281.htm
but was not able to translate to POVray.
kind regards,
Robert
"Tor Olav Kristensen" <tor### [at] hotmail com> schrieb im Newsbeitrag
news:web.3e42a93cc6bd118bb417814a0@news.povray.org...
> If those 3 vectors represents the positions
> of 3 points on the surface of your plane,
> then a normal vector for that plane can be
> calculated like this:
>
> #declare vN = vcross(v2 - v1, v3 - v1);
>
> Now the expression for your plane can be
> written like this:
>
> plane { vN, 0 translate v1 }
>
> or like this:
>
> plane { vN, vdot(v1, vnormalize(vN)) }
>
> But if v1, v2 and v3 are not positions of 3
> points on the surface, then you must give
> more information about the problem.
> I.e. what these 3 vectors represents.
>
>
> Tor Olav
>
>
Post a reply to this message
|
![](/i/fill.gif) |