POV-Ray : Newsgroups : povray.newusers : Pov-ray New user : Re: Pov-ray New user Server Time
6 Sep 2024 14:11:41 EDT (-0400)
  Re: Pov-ray New user  
From: Nieminen Mika
Date: 30 Oct 1998 07:59:32
Message: <3639b834.0@news.povray.org>
Harold Masselink <Har### [at] corpsoftcom> wrote:
: Dit you do that with that short script?

  Short? That's a LARGE script! For short script, try this one (which
calculates almost the same mandelbrot made of spheres):

camera{location<-2,3,-2>look_at 0}light_source{<9,9,-9>1}#declare Z=-1#while(Z
<1)#declare X=-2#while(X<1)#declare r=X#declare i=Z#declare n=0#while(n<1&r*r
+i*i<4)#declare a=2*r*i+Z#declare r=r*r-i*i+X#declare i=a#declare n=n+.05#end
sphere{<X,n,Z>.02pigment{rgb<n,n,0>}}#declare X=X+.02#end#declare Z=Z+.02#end

  (It may not work with pov3.1 because of the missing semicolons, or at
least you will get warnings)

  And expect also a long parsing time... :)

-- 
                                                           - Warp. -


Post a reply to this message

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