// Last edited on 2007-07-24 00:43:26 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare raio = 2.000; #declare branco = texture { pigment { color rgb < 3.00, 3.00, 3.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare preto = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare vermelho = texture { pigment { color rgb < 2.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare verde = texture { pigment { color rgb < 0.00, 2.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare azul = texture { pigment { color rgb < 0.00, 0.00, 2.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare dourado = texture { pigment { color rgb < 1.00, 0.80, 0.00 > } finish { ambient 0.3 diffuse 0.2 specular 0.3 roughness 0.005 reflection 0.2 } } #declare prata = texture { pigment { color rgb < 0.70, 0.70, 0.70 > } finish { ambient 0.3 diffuse 0.2 specular 0.3 roughness 0.005 reflection 0.2 } } #declare vermelho_rubi = texture { pigment { color rgb < 1.00, 0.00, 0.00 > filter 1.0 } finish { ambient 0.3 diffuse 0.2 specular 0.3 roughness 0.005 reflection 0.2 } } #declare verde_esmeralda = texture { pigment { color rgb < 0.00, 0.90, 0.00 > filter 1.0 } finish { ambient 0.3 diffuse 0.2 specular 0.3 roughness 0.005 reflection 0.2 } } #declare quadriculado = texture { pigment { checker color rgb < 1.00, 0.20, 0.00 > color rgb < 0.00, 0.00, 0.90 > } } #declare eixoX = cylinder { < 0.00, 0.00, 0.00 >, < 10.00, 0.00, 0.00 >, 0.05 texture { vermelho } } #declare eixoY = cylinder { < 0.00, 0.00, 0.00 >, < 0.00, 10.00, 0.00 >, 0.05 texture { verde } } #declare eixoZ = cylinder { < 0.00, 0.00, 0.00 >, < 0.00, 0.00, 10.00 >, 0.05 texture { azul } } #declare eixos_cartesianos = union { object {eixoX } object {eixoY } object {eixoZ } } #declare fundo = plane { z,0 translate -5*z texture { quadriculado } } #declare bola = sphere { < 0.00, 0.00, 0.00 >, 0.50 texture { prata } } #declare cilindro = cylinder { < 0.00, 0.00, 0.50 >, < 0.00, 0.00, -0.50 >, 1.00 texture { prata } } #declare base = box { <0,0,0>, <4,4,2> texture {prata} } #declare blobao = blob { threshold 0.5 cylinder {<2,2,2>,<2,2,4>,1,1 texture {verde} } sphere {<2,1.2,3>,0.5,1 texture {vermelho} } sphere {<2,0.3,3>,1,1.7 texture {azul} } sphere {<2,0.1,4.0>,0.4,1 texture {vermelho} } sphere {<2,-0.7,2.7>,0.6,1 texture {vermelho} } sphere {<2,2.9,3.5>,0.4,1 texture {azul} } sphere {<2,3.8,3.8>,0.9,1.7 texture {vermelho} } sphere {<2.5,3.8,3.6>,0.5,-1.4 texture {verde} } sphere {<2,3.4,4.6>,0.5,1 texture {azul} } sphere {<2,4.0,3.0>,0.4,1 texture {verde} } sphere {<2.4,2.5,2.5>,0.5,-1 texture {azul} } } #declare frase = text { ttf "arial.ttf" "HUAuhaHUAhuaHUAuha!!!" 1,0 } #declare estatua = union { object {base} object {blobao} object {frase scale <0.3,0.3,0.3> rotate 90*x rotate -90*z translate <4.5,3.8,1> texture {dourado} } } object {fundo} object {estatua} #declare quadriculado = texture { pigment { checker color rgb < 1.00, 0.20, 0.00 > color rgb < 0.00, 0.00, 0.90 > } } // Original camera parameters: // #local cam_ctr = <0.00,2.00,2.00> // #local cam_vec = (<13.00,3.00,5.00>-<0.00,2.00,2.00>) // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,<10,10,10>,14.0,z,1.0)