// 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 } } isosurface { function {abs(x/sqrt(2))+abs(y)+abs(z/sqrt(2))-1} contained_by{box{sqrt(2),<-sqrt(2),0,-sqrt(2)>}} max_gradient 1.4 rotate 45*y texture { T_Red } }