|
|
Peter Popov wrote:
> > Is that anything like the mandel pattern in standard official
> >PovRay?
>
> Yes, it's much along the same lines. Warp coded it, as well as a few
> other types of fractals and their parameters.
Warps Mandelbrot shape code
camera{location<1,2,2>look_at 0}light_source{z*9+y*9,1}#local Z=-1;#while(Z<1)
#local X=-2;#while(X<1)#local r=X;#local i=Z;#local n=0;#while(n<1&r*r+i*i<4)
#local a=2*r*i+Z;#local r=r*r-i*i+X;#local i=a;#local n=n+.05;#end sphere{
<X,n/2,Z>.02 pigment{rgb<1,n,0>}}#local X=X+.02;#end#local Z=Z+.02;#end
Mark Wagner's - requires mega-pov 0.5
camera{location<yes,yes+on,yes+true> look_at -u }light_source{9-9*x
yes}#declare Z=-true;#while(Z<on)#declare X=-2;#while(X<true)#declare
r=X;#local i=Z;#version clock;#while((version<true)&(((r*r)+(i*i))<4))#local
a=((2*r*i)+Z);#local r=((r*r)-(i*i)+X);#local i=a;#version
(version+.05);#end sphere{<(X),(.5*version),(Z)>.02 pigment{ color
((z*version)+v+(x*(1-version)))}}#declare X=(X+.02);#end#local
Z=(Z+.02);#end
--
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|