FrameBegin 1 Format 400 300 1 PixelSamples 4 4 ShadingInterpolation "smooth" Display "sphereBoxAO.tiff" "file" "rgba" # render image to buffer Projection "perspective" "fov" 22 //Exposure 1.0 2.2 Translate 0 -0.5 8 Rotate -40 1 0 0 Rotate -20 0 1 0 WorldBegin Attribute "visibility" "trace" 1 # make objects visible to eye Attribute "trace" "bias" 0.005 Surface "occsurf2" "samples" 1024 # White ground plane AttributeBegin Color [1 1 1] Polygon "P" [ -5 0 5 5 0 5 5 0 -5 -5 0 -5 ] AttributeEnd # sphere AttributeBegin Color 1 1 1 Translate -0.7 0.5 0 Sphere 0.5 -0.5 0.5 360 AttributeEnd # box AttributeBegin Translate 0.3 0.01 0 Rotate -30 0 1 0 Color [1 1 1] Polygon "P" [ 0 0 0 0 0 1 0 1 1 0 1 0 ] # left side Polygon "P" [ 1 1 0 1 1 1 1 0 1 1 0 0 ] # right side Color [1 1 1] Polygon "P" [ 0 1 0 1 1 0 1 0 0 0 0 0 ] # front side Polygon "P" [ 0 0 1 1 0 1 1 1 1 0 1 1 ] # back side Color [ 1 1 1] Polygon "P" [ 0 1 1 1 1 1 1 1 0 0 1 0 ] # top AttributeEnd WorldEnd FrameEnd