// Crystal Castle by Carlos Camolesi 04/09/03 // ------------------------------------------- #include "colors.inc" background{ color rgb < 1.00, 1.00, 1.00 > } light_source { < 20.00, 30.00, 10.00 > color rgb < 1.00, 1.00, 1.00 > } light_source { < 0.00, 10.00, 5.00 > color rgb < 1.00, 1.00, 1.00 > } camera { location < 20.00, 0.00, 10.00 > right < -1.20, 0.00, 0.00 > up < 0.00, 0.00, 0.90 > sky < 0.00, 0.00, 1.00 > look_at < 0.00, 0.00, 0.00 > } #declare tinta_A = texture { pigment { color rgb < 0.80, 0.80, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_P = texture { pigment { color rgb < 0.00, 0.00, 0.00> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_R = texture { pigment { color rgb < 1.00, 0.00, 0.00> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_G = texture { pigment { color rgb < 0.00, 1.00, 0.00> } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare palace = union { cylinder { < 3.00, 0.00, 0.00> < 3.00,0.00, 2.00> 3 texture { tinta_A } } box { <-6.00, -3.00, 2.00> < 3.00, 3.00, 0.00> texture { tinta_A} } sphere { <-3.00, 0.00, 2.00> 3 texture { tinta_A} } cylinder { <-3.00, -3.00, 0.00> <-3.00, -3.00, 2.00> 3 texture { tinta_A} } cylinder { <-3.00, 3.00, 0.00> <-3.00, 3.00, 2.00> 3 texture {tinta_A} } } #declare gate = torus { 2.00 .50 } // Aqui está a cena, finalmente: palace