// http://xahlee.org/3d/index.html // a pentagram prism #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 1, // ending height 6, // the number of coordinates below <1., 0.>, <-0.809017, 0.587785>, <0.309017, -0.951057>, <0.309017, 0.951057>, <-0.809017, -0.587785>, <1., 0.> //,<0.5, 0.>, <0.15, 0.48>, <-0.4, 0.29>, <-0.4, -0.29>, <0.15, -0.48>,<0.5, 0.> texture{pigment{color Yellow}} finish {ambient .2 phong .6} } plane { <0,1,0>, -0.01 pigment {checker color White, color Gray}}