POV-Ray : Newsgroups : povray.general : intersection test : Re: intersection test Server Time: 24 Jul 2008 08:40:45 GMT
  Re: intersection test  
From: Warp
Date: 14 Apr 2008 10:52:17
Tim Attwood <timothyea [at] comcastnet> wrote:
> This should work though...

  If the intersection of the objects is extremely small, there's a big
chance that your macro won't detect it.

>       #local Pt = VRand_In_Box(Mn, Mx, S1);
>       #local cnt = 0;
>       #while ((result = false) & (cnt < rez))
>          #local Pt = VRand_In_Box(Mn, Mx, S1);

  Why the first Pt? It's not used anywhere.

-- 
                                                          - Warp


Post a reply to this message

Copyright 1991-2004 POV-Team™