POV-Ray : Newsgroups : povray.binaries.images : Phalanx revisited, with blur : Bounding test Server Time
18 Aug 2024 08:21:33 EDT (-0400)
  Bounding test  
From: David Fontaine
Date: 10 Jul 2001 17:38:03
Message: <3B4B7384.FE83241A@faricy.net>
I get 9 seconds either way (800x600 no AA)

camera { location <1,3,-5>*.7 look_at 0 }

light_source { <1,3,-5> 1 }

#local Hier = on;

   union {
      #local _y1 = 0;
      #while (_y1 < 2)
         #local _x1 = 0;
         #while (_x1 < 2)
            #if(Hier) union { #end
               #local _y2 = 0;
               #while (_y2 < 2)
                  #local _x2 = 0;
                  #while (_x2 < 2)
                     #if(Hier) union { #end
                        #local _y3 = 0;
                        #while (_y3 < 2)
                           #local _x3 = 0;
                           #while (_x3 < 2)
                              #local _x = _x1*4+_x2*2+_x3;
                              #local _y = _y1*4+_y2*2+_y3;
                              box {
<_x/4-.95,_y/4-.95,-1>,<_x/4-.8,_y/4-.8,1> }
                              #local _x3 = _x3 + 1;
                           #end
                           #local _y3 = _y3 + 1;
                        #end
                     #if(Hier) } #end
                     #local _x2 = _x2 + 1;
                  #end
                  #local _y2 = _y2 + 1;
               #end
            #if(Hier) } #end
            #local _x1 = _x1 + 1;
         #end
         #local _y1 = _y1 + 1;
      #end
      pigment { color rgb .7 }
   }

-- 
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

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