#include "colors.inc" #include "stones.inc" camera { location <4,4,-6> look_at <2,0,0> } background { color Blue } light_source { <3,5,-3> color White*2 } #declare p1 = <0,2,0> #declare p2 = <2,0,2> #declare p3 = <2,0,-2> #declare p4 = <-2,0,-2> #declare p5 = <-2,0,2> #declare f1 = polygon { 4, p1, p2, p3, p1 } #declare f2 = polygon { 4, p1, p3, p4, p1 } #declare f3 = polygon { 4, p1, p4, p5, p1 } #declare f4 = polygon { 4, p1, p5, p2, p1 } #declare f5 = polygon { 5, p2, p3, p4, p5, p2 } #declare pyramid = union { object{f1} object{f2} object{f3} object{f4} } #declare pyramid1 = object { pyramid texture { T_Stone7 } } #declare pyramid2 = object { pyramid translate <5,7,5> texture { T_Stone24 } } #declare table = object { plane { <0,1,0>,-1 texture { T_Stone44 } } } pyramid1 pyramid2 table