POV-Ray : Newsgroups : povray.newusers : how to calculate.... : Re: how to calculate.... Server Time
31 Jul 2024 04:20:47 EDT (-0400)
  Re: how to calculate....  
From: Robert
Date: 6 Feb 2003 14:14:49
Message: <3e42b429@news.povray.org>

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] hotmailcom> 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

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