POV-Ray : Newsgroups : povray.binaries.images : Mandelbulb test renders : Re: Mandelbulb test renders Server Time
31 Jul 2024 16:28:41 EDT (-0400)
  Re: Mandelbulb test renders  
From: bugman
Date: 20 Apr 2011 02:50:00
Message: <web.4dae81a31cd673e33931e4fb0@news.povray.org>
Also, here is some code for a Mandelbrot - Tricorn:

camera{location <-3.5,5,4> look_at <-0.5,0,0.4> up z sky z angle 25}
light_source{20*z,1}
#declare f=function(i,x,y,z,xc,yc,zc) {select(i>0 & x*x+y*y+z*z<4, 0,
sqrt(x*x+y*y+z*z), f(i-1,x*x-y*y-z*z+xc,2*x*y+yc,-2*x*z+zc,xc,yc,zc))};
isosurface{function{f(24,x,y,z,x,y,z)} threshold 2 max_gradient 25
contained_by{sphere{<-0.5,0,0>,2}} pigment{rgb 1}}


Post a reply to this message


Attachments:
Download 'tricorn.jpg' (22 KB)

Preview of image 'tricorn.jpg'
tricorn.jpg


 

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