#version 3.7; #declare MaxIter = 10; #declare mandolin = function { pigment { mandel 153 interior 0, 1 exterior 1, 1 color_map{ [0 color rgb 0] [1 color rgb 1] } } } #declare mandel2 = function(x,y,z) { mandolin(x-0.5,y,z).red // * mandolin(y-0.5,y,z).red } cylinder { <0,0,-2.2>, <0,0,+2.2>, 1.25 open pigment { color rgb <0.8,0.2,0.2> } // finish { phong 0.5 reflection 0.55 metallic } rotate y*30 } isosurface { function { 0.95 - mandel2(x,y,z) } threshold 0 accuracy 0.001 max_gradient 1765 all_intersections contained_by { box{ -2,+2 } } pigment { onion color_map { [0.000 color rgb<1 , 1 , 1 > ] [0.125 color rgb<1 , 0 , 1 > ] [0.250 color rgb<1 , 0.3, 0.3> ] [0.375 color rgb<1 , 1 , 0.0> ] [0.500 color rgb<0.3, 1.0, 1.0> ] [1.000 color rgb<0.2, 0.2, 1.0> ] } scale 4.2 } finish { phong 0.5 } rotate y*30 } /* sphere {<0,0,0>, 1 pigment { color rgbf 0.88 } } */ plane { y,-2.5 pigment { checker color rgb 0.6 color rgb 0.44 } } light_source { <-33,66,-99> color 1 // area_light <10,0,0>, <0,10,0>, 5,5 circular jitter orient } /* light_source { <0,0,0> color 1 } */ camera { location <0,2.5, -10> look_at <0,0,0> angle 45 }