POV-Ray : Newsgroups : povray.beta-test : function re-declaration crash : function re-declaration crash Server Time
30 Jul 2024 14:27:04 EDT (-0400)
  function re-declaration crash  
From: Elias Pschernig
Date: 31 Oct 2001 05:09:59
Message: <3bdfcdf7@news.povray.org>
From thread about slow iso-surfaces:
> 
> > (probably because of the function declaration problems)
> 
> No, those should be gone.

I'm also still getting the function declaration crashes. Here my test scene:
(same scene i posted as "loop bug" for beta 5)

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

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

It crashes both for MSVC and ICL compile (beta7).

winME, P3-933, 384 MB

-- 
#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.