#include "colors.inc" #include "metals.inc" camera { orthographic location <0,5,-10> look_at<0,0.2,0> angle 14} // light_source { <-10,20,-20> color rgb<0.8,0.8,1> shadowless } light_source { <10,20,-20> color White shadowless} light_source { <4,-20,-15> color Red*0.7 shadowless} plane {z, 6 pigment{ SkyBlue*1.4} /*gradient y color_map { [0.1 color SkyBlue*0.9] [0.4 color SkyBlue*1] [0.7 color SkyBlue*1.4]} } scale 2 translate 1.6*y*/ } //background{White} // ---------------------------------------- #declare a=sqrt(3); #declare b=sqrt(2); #declare r=a; #macro surf(uu,vv,ww,rr,textu) sphere{,rr texture{ textu } finish {ambient 0.4 diffuse 0.45 reflection 0.1 roughness 0.0001 specular 0.8} } #end #declare big=intersection{ surf(1,0,0,r,T_Silver_3C) surf(-1/2,0,a/2,r,T_Copper_3C) surf(-1/2,0,-a/2,r,T_Gold_1A) surf(0,sqrt(2),0,r,T_Silver_1A) }; #declare tex1=texture { pigment { Gray } finish { ambient 0.2 diffuse 0.5 } } #declare tex2=texture { pigment { Green } finish { ambient 0.2 diffuse 0.5 } } #declare tex3=texture { pigment { Pink } finish { ambient 0.2 diffuse 0.5 } } #declare tex4=texture { pigment { Yellow } finish { ambient 0.2 diffuse 0.5 } } //--------- tétraèdre de Reuleaux constitué de 4 parties égales de sphères -------- object{ big rotate <-20,40,0>} object{ big rotate <-60,0,0> scale 0.3 translate <-1,1,0>} object{ big rotate <40,0,0> scale 0.3 translate <1,0.85,0>} //-------------------------- text { ttf "times.ttf" "AE" 0.3,0 pigment { Blue} scale 0.06 rotate <40,0,0> translate <1.1,-0.7,-0> finish{ ambient 0.2 diffuse 0.3} }