|
![](/i/fill.gif) |
Dan Johnson wrote:
>...
> Having written my own version I have a fairly comprehensive test scene. I
> decided to replace my macro with your macro in the scene, and see what
> happens. Immediately it got a user error directive. I commented out all
> the function calls, but the first, and it still happened. Now I knew that
> the very first function call was getting an error. I did the math by hand,
> and found out that the value of STP should be -4 not 0. I dug further, and
> found out that the value of vN was <0,0,0>. This shouldn't be, now I am
> very confused. Here is the test scene maybe you can make sense of it.
>....
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.)
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] hotmail com
http://hjem.sol.no/t-o-k/tokpicts.html
http://www.crosswinds.net/~tok
Post a reply to this message
|
![](/i/fill.gif) |