// MC930 - Computacao Grafica // Terceiro exercicio de laboratorio - 19/10/2000 // Luis Arthur Micai Nunes RA: 971106 background { color rgb < 0.00, 0.00, 0.00 > } light_source { <10, 10.00, -12.00 > color rgb <1.00, 1.00, 1.00> } camera { location < 3.00, 18.00, -25.00 > look_at < -1.00, 0.00, 3.00 > } #declare bola = sphere { <0,5,0>, 1.5 texture { pigment {color rgb <1,0.7,0> } } } #declare caroco = sphere{ <-8,0,-4.5>, 2 texture { pigment { color rgb <1,0,0> } } } #declare cabo = cylinder { < 0.00, 7.00, 0.00 >, < 0.00, 6.00, 0.00 >, .3 texture {pigment { color rgb < 0.50, 0.50, 0.00 > } } } #declare caixa = box { <-15, -10, -4.5>, <-4, 10, -8> texture { pigment { color rgb <0.9,0.9,0> } } } union { difference { difference { blob { threshold 1 sphere { < 0.0, 0.00, 0.00 >, 8, 3 texture { pigment { color rgb <1.00, 1.00, 0.00 > } } } sphere { < -8.0, 0.00, -4.50 >, 5, 2 texture { pigment { color rgb <1.00, 1.00, 0.00 > } } } sphere { < 1.50, 3.00, 5.50 >, 5, 2 texture { pigment { color rgb< 1.00, 1.00, 0.00 > } } } sphere { < 7.0, 0.00, -5.20 >, 5, 2 texture { pigment {color rgb < 1.00, 1.00, 0.00 > } } } finish { phong 1 } } object {caixa} } object{caroco} } object{bola} object{cabo} }