/* a*x*y^2+a*x*z^2+b*x^2+c*y^2+c*z^2-0.1 = 0 <0,0,0,b,a,0,0,a,0,0,0,0,c,0,0,0,0,c,0,-.1> */ #include "colors.inc" #include "stones.inc" #include "metals.inc" camera {orthographic location <0,8,-10>*2 look_at<0,0,0> angle 60} light_source { <-10,18,-20> color White } light_source { <10, -1,-10> color rgb <1,0.6,0>*0.7 } background{White*1} #declare a=1; #declare b=-1; #declare c=1; union { poly {3, <0,0,0,b,a,0,0,a,0,0,0,0,c,0,0,0,0,c,0,-.1> clipped_by{sphere{<8,0,0>,10}} pigment{rgb <0.7,0.95,1>*0.96 transmit 0.75} finish {ambient 0.2 diffuse 0.3 reflection 0.08 roughness 0.001 specular 0.8} } /* */ intersection{ poly {3, <0,0,0,b,a,0,0,a,0,0,0,0,c,0,0,0,0,c,0,-.1>} cylinder{<1,0,0>,<12,0,0>,10} texture { pigment { leopard color_map { [ 0.6 color red 0.9 green 0.9 blue 0.4 filter 0.99] // [ 0.6 color red 1 green 0.95 blue 1 filter 0.8] [ 0.4 color red 1 green 1 blue 1 filter 0.2] } // color_map scale 0.02 } // fin pigment finish { diffuse 0.2 ambient 0.6 reflection 0.1 roughness 0.01 specular 0.8 } } scale 0.9 } rotate<-80,-20,90> translate <0,-10,0> }