POV-Ray : Newsgroups : povray.advanced-users : A macro I'm proud of I think (public Beta) : Re: A macro I'm proud of I think (public Beta) Server Time
30 Jul 2024 00:24:58 EDT (-0400)
  Re: A macro I'm proud of I think (public Beta)  
From: Dan Johnson
Date: 4 May 2001 16:30:30
Message: <3AF46305.E4FDE7CA@hotmail.com>
Tor Olav Kristensen wrote:

> Your macro below has an error.
>
> >....
> > #macro ThreePointPlane(P1,P2,P3)
> >         FourPointPlane(P1,P2,P2,<0,0,0>)
> > #end
> >....
>
> You're not using P3. (P2 is written twice.)

Doh!  Such a headache over a typo.  Well now everything works.  I'm sure I will
spend a few hours figuring out why.  Much more enjoyable than figuring out why
something doesn't work.  Then I will obfuscate it.  I am learning more about math
this way than reading the book.  Jon wrote me directly telling me about the
project he is working on that uses my macro.  When he is done maybe he will be
willing to share his code, and we can test this version on it to see if it gets
the same results.  Thanks for pointing out my error, I'm sure it would have taken
me another hour before I spotted it.




>
> I'm in a hurry right now, so I don't have
> time for more testing or to try and explain.
> Maybe later ...
>
> But if you're going to do further tests,
> then I'm interested in hearing about your
> results.
>
> --
> Best regards,
>
> Tor Olav
>
> mailto:tor### [at] hotmailcom
> http://hjem.sol.no/t-o-k/tokpicts.html
> http://www.crosswinds.net/~tok




--
Dan Johnson

http://www.geocities.com/zapob


Post a reply to this message

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