POV-Ray : Newsgroups : povray.general : Lorenz and Finite : Lorenz and Finite Server Time
5 Aug 2024 02:21:26 EDT (-0400)
  Lorenz and Finite  
From: Rafal 'Raf256' Maj
Date: 31 Dec 2002 09:19:31
Message: <Xns92F59BA11E9Araf256com@204.213.191.226>
Hello,
i'm trying to make Lorenz Fractal, and I have an error/warning 
"Reallocating finte to ...." and a moment after that Pov crashes (WinXP).

I ques that my algorithm is going out-of-range and Pov is trying to hmm 
increase maximum_distance or something ?

Btw. what was this algorithm? I used id a long time ago, but now I have 
problems recreating it, what is wrong with this code :

  #local X=1; #local Y=1; #local Z=1;
  #local ParA=-1.3;  #local ParB=2.3;  #local ParC=1.4;  
  #local ParDt = 0.54;

  #local T=0; #while (T<2000)
    #local NX = X + (-ParA*X*ParDt) + (ParA*Y*ParDt);
    #local NY = Y + ( ParB*X*ParDt) - (     Y*ParDt) - (Z*X*ParDt);
    #local NZ = Z + (-ParC*Z*ParDt) + (X*Y*ParDt);            
    #if (T>0)                          
      sphere { <X,Y,Z>*5 .3 }
    #end
    #local X=NX; #local Y=NY; #local Z=NZ;
  #local T=T+1; #end

(ParA=-1.3 reproduces this error)

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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