antialias 0.8 0.2 0.2 point /red 0.2 0.8 0.2 point /green 0.2 0.2 0.8 point /blue { { /u /v /face color 0.8 0.8 30.0 } sphere 0.75 uscale } /s1 { /u /v /face blue 0.8 0.8 30.0 } sphere 0.75 uscale /s2 red /color s1 apply -1.2 0.6 3.5 translate green /color s1 apply 1.2 0.6 3.5 translate union s2 0.0 -1.2 3.5 translate union { /u /v /face 0.2 0.2 0.2 point 0.6 0.6 30.0 } plane 90.0 rotatex 8.5 8.5 8.5 translate union /scene 0.0 0.0 3.5 point 1.0 1.0 1.0 point pointlight /l1 0.3 0.3 0.3 point % ambient light [ l1 ] % light source array scene % scene to render 1 % tracing depth 45.0 % field of view 1024 768 % image width and height "pointlight.ppm" % output file render