POV-Ray : Newsgroups : povray.advanced-users : Math question : Re: Math question Server Time
2 Nov 2024 09:20:39 EDT (-0400)
  Re: Math question  
From: David Fontaine
Date: 30 Dec 1999 20:16:11
Message: <386C01A2.92CCEB2B@faricy.net>
> If your normal vector is <a,b,c> and the position of the point is <x,y,z>,
> you should just have to test a*x+b*y+c*z, if it's positive, the point is in
> front of the plane, if it's negative, the point is behind the plane, and if
> it's zero, the point lies on the plane.

Thanks! Actually I got it from by brother just a couple of minutes ago, I can't
believe it was so simple...

--
Homepage: http://www.faricy.net/~davidf/
___     ______________________________
 | \     |_       <dav### [at] faricynet>
 |_/avid |ontaine      <ICQ 55354965>


Post a reply to this message

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