#include "colors.inc" // The include files contain #include "shapes.inc" // pre-defined scene elements #include "finish.inc" #include "metals.inc" #include "stones.inc" #version 3.6; /* * A metal door in the Ghost Tower of Inverness. * * Last modified 5/30/2005 by Denton Gentry. */ global_settings { assumed_gamma 1.8 ambient_light rgb<1, 1, 1> } #declare T_key = texture { pigment { SkyBlue } finish { F_MetalA } } #declare T_hollow = texture { pigment { DarkSlateBlue } finish { F_MetalA } } object { difference { union { box { <-20, -10, -20>, <-0.03, 0, 20> } box { <0.03, -10, -20>, <20, 0, 20> } } union { cylinder { <-4, -.5, -4>, <-4, 1, -4>, 0.9 } cylinder { < 4, -.5, -4>, < 4, 1, -4>, 0.9 } cylinder { <-4, -.5, 4>, <-4, 1, 4>, 0.9 } cylinder { < 4, -.5, 4>, < 4, 1, 4>, 0.9 } box { <-4, -.5, 3.5>, < 4, 1, 4.5> } box { <-4, -.5, -3.5>, < 4, 1, -4.5> } box { <-4.5, -.5, 4>, <-3.5, 1, -4> } box { < 4.5, -.5, 4>, < 3.5, 1, -4> } texture { T_hollow } } } texture { T_key } } light_source { <0, 20, 0> color Gray20 } light_source { <10, 20, 0> color Gray20 } light_source { <-10, 20, 0> color Gray20 } light_source { <0, 20, 10> color Gray20 } light_source { <0, 20, -10> color Gray20 } camera { location <0, 12, 0> look_at <0, 0, 0> } background { color Black }