POV-Ray : Newsgroups : povray.general : intersection test : Re: intersection test Server Time
30 Jul 2024 22:14:07 EDT (-0400)
  Re: intersection test  
From: Warp
Date: 14 Apr 2008 06:52:17
Message: <48033760@news.povray.org>
Tim Attwood <tim### [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 2003-2023 Persistence of Vision Raytracer Pty. Ltd.