// perspective (default) camera camera { location <4, 2, 1> look_at 0 } // create a regular point light source light_source {<0, 5, 0> 0.5} light_source {<4, 2, 1> 0.5} background { color rgb 1 } #declare T_Red = texture { pigment { color rgb <1,0,0>} finish { diffuse 1.0 ambient 0.0 phong 0.5 } } difference{ box{<1,1,1>,<-1,0,-1>} plane{x-y,-sqrt(2)/2} plane{-x-y,-sqrt(2)/2} plane{z-y,-sqrt(2)/2} plane{-z-y,-sqrt(2)/2} texture { T_Red } }