POV-Ray : Newsgroups : povray.advanced-users : How to find the equation of a plane from three points? : Re: How to find the equation of a plane from three points? Server Time
2 Nov 2024 07:25:37 EDT (-0400)
  Re: How to find the equation of a plane from three points?  
From: David Fontaine
Date: 22 Feb 2000 23:37:14
Message: <38B36366.A088E8F1@faricy.net>
Josh English wrote:

> This is a macro I found somewhere on this:
> #macro MakePlane(a,b,c)
>   #local n=vnormalize(vcross((b)-(a),(c)-(a)));
>   #local o=vdot((a),n);
>   plane {n,o pigment { onion} }
> #end

Oh, I wasn't doing this in POV, I was finding numbers on my 89 to type
into POV...

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

"Sitting on a cornflake, waiting for the van to come" -Beatles


Post a reply to this message

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