/*équations : x^2+y^2-x^2*z+y^2*z+z^2-1;# forme 2 */ #include "colors.inc" #include "stones.inc" #include "metals.inc" #declare r=0.02 ; camera { orthographic location <-2,1.2,-3>*2 look_at<0,0.2,0> angle 78 } light_source { <-6,8,-10> color rgb <1,0.95,0.9> area_light <1,0,0>, <0,0,1>,4, 4 jitter } light_source { <5,10,-10> color rgb <1,1,1>*0.7 shadowless} light_source { <3,10,-10> color rgb <0.8,0.8,1>*0.5 shadowless} box {<-20,-3,-20>,<5,20,5> pigment {SkyBlue*1.2} rotate <0,5, 0> } //-------------------------------- union{ union{cylinder{< -4.,0.,1. >,<4.,0.,1. > ,r } //1 cylinder{< 0.,-4.,-1. >,<0.,4.,-1. > ,r } //2 cylinder{< 2.12,3.52,-4. >,<-3.52,-2.12,4. > ,r } //3 cylinder{< -2.12,-3.52,-4. >,<3.52,2.12,4. > ,r } //4 cylinder{< 2.12,-3.52,-4. >,<-3.52,2.12,4. > ,r } //5 cylinder{< -2.12,3.52,-4. >,<3.52,-2.12,4. > ,r } //6 pigment{Red } } poly {3,<0,0,-1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,-1.> texture{ pigment{ granite color_map{[0.0 rgb<1,1,0.7>][1.0 rgb<0.5,0.3,0>]} scale 0.2 } finish { ambient 0.4 diffuse 0.3 specular 0.5 roughness 0.01 } } } clipped_by { sphere{ <0.9,0.9,1.>*0.2,4} } bounded_by { clipped_by } rotate <-30,60,62.5> } text { ttf "times.ttf" "AE" 0.5,0 pigment { White*1.3 } scale 0.3 rotate <0,40,0> translate <3,-2.9,-4> }