POV-Ray : Newsgroups : povray.beta-test : still loop bug? : still loop bug? Server Time
4 Nov 2024 12:58:46 EST (-0500)
  still loop bug?  
From: Elias Pschernig
Date: 10 Oct 2001 11:54:42
Message: <3bc46f42$1@news.povray.org>
P3-933, windows ME, 3.5.beta.6.icl.win32

Following scene crashes for me: 

#declare I = 0;
#while(I < 2)       

   #declare C = pigment { crackle }                       
   
   #declare CF = function { pigment { C } }
          
   #declare I = I + 1;
#end 

-- 
#macro C(X,Y)cylinder{X*x<X,0,-Y/2>.1}#end#macro U(R,X,Y)intersection{torus{.9
.1}box{-1 0rotate y*R*90}translate<X,0,Y>scale 1-z*.5}#end union{U(0,0,0)U(1,0
,0)U(2,-1,-1)U(1,1,0)U(1,1.5,-3)U(1,2,0)U(3,1,0)U(2,2,0)U(0,3,0)U(3,2,.5)C(.1,
2)C(.8,1)C(.8,-1)C(1.1,1)C(1.9,-1)pigment{rgb 10}rotate x*90translate<-1,0,4>}


Post a reply to this message

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