#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; /* Rendering of a strange metal key found in the Ghost Tower of Inverness */ global_settings { assumed_gamma 1.8 ambient_light rgb<1, 1, 1> } #declare T_key = texture { pigment { SkyBlue } finish { F_MetalA } } object { union { cylinder { <0, 0, 0>, <0, 1, 0>, 2.5 } difference { box { <0, 0, -1.2>, <13, 1, 1.2> } cylinder { <13, -1, 0>, <13, 2, 0>, 2.5 } } } texture { T_key } } //plane { // <0,1,0>, 0 // texture { pigment { White } } //} 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 <12, 8, 8> look_at <4, 0, 0> } background { color White }