// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.9, 0.90, 0.9 > } #declare tx_amarelo = texture{ pigment{ color rgb < 0.8, 0.85, 0.70 > } finish{ diffuse 0.9 ambient 0.3 } } #declare tx_vidro = texture{ pigment{ color rgb < 0.1, 0.3, 0.6 > filter 0.70 } finish{ diffuse 0.03 reflection 0.25 ambient 0.02 specular 0.25 roughness 0.005 } } #declare tx_verde = texture{ pigment{ color rgb < 0.6, 0.8, 0.3 > } finish{ diffuse 0.9 ambient 0.3 } } #declare tx_verm = texture{ pigment{ color rgb < 0.9, 0.1, 0.1 > } finish{ diffuse 0.9 ambient 0.3 } } #declare tx_azul = texture{ pigment{ color rgb < 0.1, 0.1, 0.9 > } finish{ diffuse 0.9 ambient 0.3 } } #declare tx_branco = texture{ pigment{ color rgb < 1, 1, 1 > } finish{ diffuse 0.9 ambient 0.3 } } #declare boneco = union{ cone{ < 0.0, 0.0, 0.0 >, 0.2, < 0.0, 0.0, 0.4 >, 0 texture{ tx_amarelo } } sphere{ < 0, 0, 0.38 >, 0.11 texture{ tx_verm } } cylinder{ < -0.2, 0, 0.2 >, < 0.2, 0, 0.2 >, 0.04 texture{ tx_azul} } } #declare cena = box{ < 14, -1, -1 >, < -1, 14, 4 > texture{ tx_verde } } #declare cena2 = box{ < 13, 0, 0 >, < 0, 13, 5 > texture{ tx_amarelo } } #declare quadro = box{ < 1.1,3 , 2 >, < 1, 8, 4 > texture{ tx_azul } } #declare quadro2 = box{ < 1.2,3.2 , 2.2 >, < 1, 7.8, 3.8 > texture{ tx_verde } } #declare bola = sphere{ < 0, 0, 0>, 0.5 texture{ tx_verde } } #declare pe = cylinder{ < 0, 0, 0 >, < 0, 0, 1 >, 0.1 texture{ tx_azul} } #declare pedestal = cylinder{ < 0, 0, 0 >, < 0, 0, 3 >, 0.4 texture{ tx_branco} } #declare tabua = box{ < 2,0 , 0 >, < 0, 2, 0.2 > texture{ tx_verde } } #declare qua = box{ < 2.5,0 , 0 >, < 0, 2.5, 2.5 > texture{ tx_verm } } #declare qua2 = box{ < 1,0 , 0 >, < 0, 1, 1 > texture{ tx_verm } } #declare porta = box{ < 4,0 , 0 >, < 0, 2, 4 > texture{ tx_verde } } #declare te = text {ttf "arial.ttf" "BRUNO" 0.2, 0 texture{ tx_azul}} #declare te2 = text {ttf "arial.ttf" "BOLAS" 0.5, 0 texture{ tx_azul}} #macro escada(xx,yy,zz,tamanho, tx) union{ #declare i = 0; #while (i < (tamanho)) box{ < xx, 0, 0 >, < 0, yy-(0.25 * i), zz+(0.2 * i) > texture{ tx } } #declare i = i + 1; #end } #end #declare roleta=seed(315); #include "eixos.inc" object {eixos (3)} difference{ object {cena} object {cena2} object{porta translate < 13,10,0 >} } object {quadro} object {quadro2} object {pe translate < 3,5,0 >} object {bola translate < 2,12,1 >} object {bola translate < 2,12,2 >} object {bola translate < 2,12,3 >} object {bola translate < 2,12,4 >} object {tabua translate < 2,4,1 >} object {qua translate < 8,1,1 >} object {qua2 translate < 9,4,1 >} object {pedestal translate < 5.3,10.5,0 >} object {te rotate 90*z translate < 3.5,3.5,1.1 > } object {te2 rotate 90*z rotate 45*x rotate 90*y translate <4.2,9.7,3 > } #include "camlight.inc" #declare centro_cena = < 0.00, 10.00, 0.00 >; #declare raio_cena = 30.0; #declare dir_camera = < 8.00, -4.00, 8.00 >; #declare dist_camera = 100.0; #declare intens_luz = 0.800; camlight(centro_cena, raio_cena, dir_camera, dist_camera , z, intens_luz)