// Last edited on DATE TIME by stolfi // MC930 - Trabalho prático 8 - 2s2003 // Fernando Kenji Iwai #include "colors.inc" #include "dados.inc" background{ SummerSky } #declare ctr = < 0, 10, 0.00 >; #declare camDir = (< 0, 0, 50.00 >) - (< 0, 10, 0.00 >); camera { location ctr + 1.00*camDir right -1.00*x up 0.75*y sky y look_at ctr } light_source { 1*< 30.00, 0.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 nome_eixoy = text { ttf "arial.ttf" "Arquivo" 0.5, 0 scale 1.5 pigment{ color Green } translate <-5,30,0> } #declare nome_eixox = text { ttf "arial.ttf" "Tamanho" 0.5, 0 pigment{ color Green } scale 1.3 translate<15,-3,0> } #declare eixo_y = cylinder {<0,0,0>,<0,30,0>,0.2 pigment{ color Black } } #declare eixo_x = cylinder {<0,0,0>,<20,0,0>,0.2 pigment{ color Black } } object{ nome_eixox } object{ nome_eixoy } object{ eixo_x translate <1.1,-1,0>} object{ eixo_y translate <1.1,-1,0>} plane { z, -3 finish {diffuse 0 ambient 1} pigment {color Gray} }