// Last edited on 2003-12-14 20:17:00 by stolfi // MC930 - Trabalho prático 11 - 2s2003 // Fernando Kenji Iwai #include "colors.inc" #include "woods.inc" #include "textures.inc" background{ SummerSky } #declare ctr = < 10, 3, -0.5 >; #declare camDir = < 21, 6, 30.00 >; camera { location ctr + 0.60*camDir right 1.00*x up 1.00*z sky y look_at ctr } light_source { 1*< 30.00, 50.00, 50.00 > color rgb 0.5*< 1,1,1 > } light_source { 1*< 0.00, 0.00, 50.00 > color rgb 0.5*< 1,1,1 > } light_source { 1*< 100.00, 100.00, 50.00 > color rgb 0.5*< 1,1,1 > } light_source { 1*< 0, 100.00, 50.00 > color rgb 0.5*< 1,1,1 > } light_source { 1*< 100.00, 0.00, 50.00 > color rgb 0.5*< 1,1,1 > } light_source { 100*< 5.00, 15.00, -15.00 > color rgb 1.3*< 1,1,1 > } light_source { 100*< -5.00, 15.00, -20.00 > color rgb 1.1*< 1,1,1 > } #declare tx1 = texture { pigment { Pink } finish { diffuse 0.8 specular 0.1 roughness 0.005 ambient 0.2 } } #declare cor_cristal = <0.8,0.8,0.8>; #declare tx_cristal1 = texture { finish { ambient 0.3 diffuse 0.2 reflection 0.25 specular 1 roughness 0.001 ior 1.4 } pigment {color cor_cristal filter 1} } #declare tx_cristal2 = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment {color <0.65,0.85,0.65> filter 1} } #declare tx_cristal3 = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.25 specular 1 roughness 0.001 } pigment {color <0.95,0.75,0.75> filter 1} } #declare cor_espelho = Silver ; #declare tx_espelho = texture{ pigment{ color rgb cor_espelho } finish{ ambient 0.05 diffuse 0.05 reflection cor_espelho specular 0.20 roughness 0.05 } } #declare tx_prata = texture { pigment { Gray50 } finish { ambient .2 diffuse .5 specular .6 roughness .009 reflection .6 }} #declare tx_ouro = texture { pigment {BrightGold } finish { ambient .05 diffuse .2 specular 0.5 roughness .02 reflection .7 }} #declare fundo= difference{ sphere{<0,0,0>,1 scale <4,2,2> translate <3,0,0> } box{<-10,0,-10>,<10,10,10>} } #declare letraL = union{ sphere{<0,0,0>,1 translate 5*y } cylinder{<0,0,0>,<0,5,0>,1} } #declare letraI = sphere{ <0,0,0>,1 scale<1,3,1> translate <9,3,0> pigment{color rgb<0.15,0.8,0.15>} } #declare letraV = text { ttf "arial.ttf" "V" 0.2, 0 scale 10 texture{tx_cristal1} translate <12,0,-1> } plane { y, -10 pigment { checker color Black, color White , scale 15 } } object{letraL texture{tx_prata} } object{fundo texture{tx_prata} } object{letraI} object{letraV}