// http://xahlee.org/3d/index.html
// two intersecting squares
#include "colors.inc"
camera {
location <7,15,-9> * .2
look_at 0
}
light_source {<20, 15, 20> color White}
prism {
linear_sweep
linear_spline
0, // starting height
.4, // ending height
10, // the number of coordinates below
//first square
<1., 0.>, <0., 1.>, <-1., 0.>, <0., -1.>, <1., 0.>,
//second square
<1.5, 1.1>, <0.12, 0.92>, <0.28, -0.48>, <1.7, -0.32>, <1.5, 1.1>
texture{pigment{color Orange}}
finish {ambient .3}
}
plane { <0,1,0>, -0.008 pigment {checker color White, color Gray}}