// Last edited on 2013-11-04 19:47:08 by stolfilocal // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tx_plastico = texture{ pigment{ color rgb < 0.10, 0.80, 1.00 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.2 } } #declare tx_plastico_vermelho = texture{ pigment{ color rgb < 1, 0, 0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.2 } } #declare tx_plastico_verde = texture{ pigment{ color rgb < 0, 1, 0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.2 } } #declare tx_plastico_cinza = texture{ pigment{ color rgb < 0.80, 0.80, 0.80 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.2 } } #declare tx_plastico_escuro = texture{ pigment{ color rgb < 0.02, 0.02, 0.02 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.2 } } #declare tx_coco = texture{ pigment{ color rgb < 0, 0, 1.0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.2 roughness 0.2 } } #declare tx_canudo = texture{ pigment{ color rgb < 1, 1.0, 1.0 > } finish{ diffuse 0.8 ambient 0.1 specular 0.5 roughness 0.2 } } #declare tx_fosca = texture{ pigment{ color rgb < 1.00, 0.80, 0.10 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_fosca_vermelho = texture{ pigment{ color rgb < 1.00, 0.0, 0.0 > } finish{ diffuse 0.9 ambient 0.1 } } #declare tx_espelho = texture{ pigment{ color rgb < 1.00, 0.85, 0.30 > } finish{ diffuse 0.2 reflection 0.7*< 1.00, 0.85, 0.30 > ambient 0.1 } } #declare tx_xadrez = texture{ pigment{ checker color rgb < 0.10, 0.32, 0.60 >, color rgb < 1.00, 1.00, 0.90 > } finish{ diffuse 0.9 ambient 0.1 } scale 2.0 } #declare raio = 2.000; #declare chao = box{ <-20,-20,-1>, <+20,+20,0> texture {tx_plastico} } #declare painel = box{<0,-3.5, -2>, <0.2, 3.5, 3> texture {tx_plastico_cinza}} #declare moldura_tela = box{<0.2,-3.05, 2.55>, <0.23, -0.95, 1.45> texture{tx_plastico}} #declare tela = box{<0.23, -3, 2.5>, <0.24, -1.0, 1.5> texture {tx_coco}} #declare alavanca = union{ box{<0.2,2.3, 0.9,>,<0.24,2.9,-1> texture {tx_plastico}} box{<0.2,2.32,0.8>,<0.24,2.88,-0.9> texture{tx_plastico_cinza}} cylinder{<0.2,2.6,0>,<1,2.6,0>, 0.1 texture{tx_plastico_escuro}} sphere{<1,2.6,0>, 0.2 texture{tx_plastico_vermelho}} } #declare botoes1 = union{ #declare i = 0; #while(i < 3) sphere{<0,-2.75 + 0.6 * i, 1.1>, 0.3 texture{tx_plastico_escuro}} #declare i = i + 1; #end } #declare botoes_cima = union{ #declare i = 0; #while(i < 4) box{<0.2,1.5 + i*0.5,2.2>, <0.24,(1.5 + i*0.5) + 0.3,1.9> texture{tx_plastico_escuro} } #declare i = i + 1; #end } #declare botoes_diversos = union{ #declare cor = 0; #declare j = 0; #while(j < 5) #declare i = 0; #while(i < 8) box{<0.2,-2.9 + i*0.5,0.8 -0.5*j>, <0.24,(-2.9 + i*0.5) + 0.3,0.5 - 0.5*j> #if(mod(cor,2) = 0) texture{tx_plastico_vermelho} #else texture{tx_plastico_verde} #end } #declare i = i + 1; #declare cor = cor + 1; #end #declare j = j + 1; #declare cor = cor + 1; #end } #include "eixos.inc" union{ //object{ eixos(3.00) } object{ chao translate < 0,0,-5 > texture{ tx_xadrez } } object{painel} object{tela} object{moldura_tela} object{botoes1} object{botoes_diversos} object{alavanca} object{botoes_cima} } #include "camlight.inc" #declare centro_cena = < 0.00, 0.00, 0.50 >; #declare raio_cena = 5.7; #declare dir_camera = < 14.00, 7.0, 4.00 >; #declare dist_camera = 16.0; #declare intens_luz = 1.00; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)