// F.bŽórmula zero by Carlos Camolesi // Last edited 18/09/03 // ------------------------------------------- #include "colors.inc" #declare PI = 3.1415928; #declare ctr = < 0.00, 0.00, 0.00 >; #declare camdir = < 15.00, 0.00, 0.00 >; camera { location ctr + 1.00*camdir right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at ctr } light_source { < 10.00, 0.00, 0.00 > color rgb < 1.00, 1.00, 1.00 > } background{ color rgb < 1.00, 1.00, 1.00 > } #declare color_blue = texture { pigment { color rgb < 0.80, 0.80, 1.00 > } finish { diffuse 0.05 specular 0.2 roughness 0.005 ambient 0.05 reflection color rgb < 0.8, 0.8, 1.00 >} } #declare crystal = texture { pigment { color rgb < 1.00, 1.00, 1.00 > filter .85} finish { diffuse 0.1 specular 0.1 roughness 0.001 ambient 0.1 reflection 0.15} } #declare color_orange = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare silver = texture { pigment { color rgb < 0.80, 0.75, 0.5> filter 0.5 } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare color_red = texture { pigment { color rgb < 1.00, 0.00, 0.00> filter 1} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare color_green = texture { pigment { color rgb < 0.00, 1.00, 0.00> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } # declare skin = texture { pigment { color rgb < 0.97, 0.90, 0.93> } finish { diffuse 1.0 specular 0.8 roughness 0.01 ambient 0.1 } } # declare carpA = <0, -10, 0>; # declare carpB = <0, 10, 0>; # declare car_pos = (1-clock)*carpA + clock*carpB; # declare Rubinho = union { difference { sphere { <0,0,0>, 1 texture { color_red } } plane { z 0.1 } } difference { sphere { <0,0,0>, 1 texture { skin } } plane { -z 0.1 } translate < 0,0,0.2> } cylinder { <0,0,0> <0,0,0.2> 0.5 texture {color_red} translate <0,1.0,0> } cylinder { <0,0,0> <0,0,-3> 0.2 texture {color_red} translate <0,0,-0.5> } cylinder { <0,0,0> <0,0,-2> 0.2 texture {color_red} rotate 45*x translate <0,0,-1> } cylinder { <0,0,0> <0,0,-2> 0.2 texture {color_red} rotate -25*x translate <0,0,-1> } cylinder { <0,0,0> <0,0,-3> 0.2 texture {color_red} rotate -25*x translate <0,0,-3> } cylinder { <0,0,0> <0,0,-3> 0.2 texture {color_red} rotate 55*x translate <0,0,-3> } } # declare logo = text { ttf "arial.ttf" "Rubinho:" 0.2, 0 texture {color_red} rotate 90*z rotate 90*y translate <0,-3,5> } #declare logo2 = text { ttf "arial.ttf" "Piloto da Formula 1." 0.2, 0 texture {color_red} rotate 90*z rotate 90*y translate <0,-5,4> } #declare logo3 = text { ttf "arial.ttf" "Equipe:" 0.2, 0 texture {color_red} rotate 90*z rotate 90*y translate <0,-2,3> } #declare logo4 = text { ttf "arial.ttf" "A escudeira Ferrari." 0.2, 0 texture {color_red} rotate 90*z rotate 90*y translate <0,-5,2> } Rubinho logo logo2 logo3 logo4