#version unofficial MegaPov 0.7 ; camera { location -5*z+0.5*x+0.5*y look_at 0.5*x+0.5*y angle 40 } box { <0, -1, -1>, <2, 2, 1> pigment { color rgbf 1 } hollow interior { media { emission { 2, <0, 0, 8> extinction 4 } density { function { max ((x/4 - (z^2 + ((x/2)^2-y)^2)) * (4-x^2)/4, 0) } } method 3 } } // scale <2, 1, 1> } plane { -z, -10 pigment { checker color rgb 0.5 color rgb 0 } finish { ambient 1 diffuse 0 } }