0.0 1.0 0.0 point 1.0 1.0 0.0 point 1.0 0.0 0.0 point 0.0 0.0 0.0 point 4 { /u /v /face 0.2 0.8 0.8 point 0.8 0.0 2.0 } polygon 0.7 1.333 refractconstant -0.5 -0.5 0.0 translate %45.0 rotatey 0.0 0.0 1.0 translate { /u /v /face 0.8 0.2 0.2 point 0.8 0.8 30.0 } sphere 0.7 uscale 0.5 0.0 2.0 translate union /scene 1.0 1.0 1.0 point 1.0 1.0 1.0 point pointlight /l1 0.4 0.4 0.4 point % ambient light [ l1 ] % light source array scene % scene to render 1 % tracing depth 90.0 % field of view 1024 768 % image width and height "refraction.ppm" % output file render