POV-Ray : Newsgroups : povray.beta-test : too many nested tables : too many nested tables Server Time
29 Jul 2024 12:27:08 EDT (-0400)
  too many nested tables  
From: Greg M  Johnson
Date: 16 May 2002 16:13:39
Message: <3ce412f3$1@news.povray.org>
// why cannot I do this:
// perhaps I **have** hit the brick wall of povray after all.
//

#declare iter=3;
#declare scal=0.5;
#declare AH=.20;

#macro set1()
        sphere {0,0.5,1 translate
#end

#declare i=0;
#while(i<iter)
#macro set2()
 set1() }
 set1() scale scal translate < AH, AH, AH>}
 set1() scale scal translate < AH, AH,-AH>}
 set1() scale scal translate < AH,-AH, AH>}
 set1() scale scal translate < AH,-AH,-AH>}
 set1() scale scal translate <-AH, AH, AH>}
 set1() scale scal translate <-AH, AH,-AH>}
 set1() scale scal translate <-AH,-AH, AH>}
 set1() scale scal translate <-AH,-AH,-AH>}

#end                //scale scal

#declare i=i+1;
#end

#macro set1()
  set2()
#end


blob{
threshold 0.5
set1()
pigment{color rgb <0.9,0.1,0.3>}}


Post a reply to this message

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