WorldBegin Format 600 600 NumAreaLightSamples 8 NumPixelSamples 4 4 # NumAreaLightSamples 1 # NumPixelSamples 1 1 # uncomment these to render only one quadrant of the image # StartRow 0 # EndRow 300 # StartColumn 0 # EndColumn 300 AttributeBegin # Translate [ 0.0 -1 -4 ] # Rotate -0.7853 [ 1.0 0.0 0.0 ] Rotate -1.25 [ 1 0 0 ] Camera 0.9 0.9 0.0 # Rotate 0.7853 [ 1.0 0.0 0.0 ] Rotate 1.25 [ 1 0 0 ] # Translate [ 0.0 1 4 ] Translate [ 10 10 10 ] AreaLightSource "PointLight" 1 "intensity" 1.0 Sphere 1 AttributeEnd # LightShader "PointLight" 1 Translate [ -10 -10 -10 ] AttributeBegin Surface "PlasticSurface" "Kd" 0.7 "Ks" 0.1 "Ka" 0.2 "exponent" 80.0 Color [ "rgb" 0 1 0 ] AttributeBegin SolidBegin "difference" Sphere 0.5 Sphere 0.45 Cylinder 0.25 2 Rotate 1.5708 [ 1 0 0 ] Cylinder 0.25 2 Rotate -1.5708 [ 1 0 0 ] Rotate 1.5708 [ 0 1 0 ] Cylinder 0.25 2 Rotate -1.5708 [ 0 1 0 ] SolidEnd AttributeEnd Translate [ 0 1 0 ] Color [ "rgb" 0.5 0.5 0.5 ] Surface "BlurredShinySurface" "Kd" 0.1 "Ks" 0.1 "Ka" 0.1 "Kr" 0.7 "exponent" 80.0 "blurAngle" 6.0 "numSamples" 4 # Surface "ShinySurface" "Kd" 0.1 "Ks" 0.1 "Ka" 0.1 "Kr" 0.7 "exponent" 80.0 "blurAngle" 0.0 "numSamples" 1 Sphere 0.4 AttributeEnd AttributeBegin Translate [ 0 0 -1.0 ] Surface "CheckerPlasticSurface" "Kd" 0.8 "Ks" 0.01 "Ka" 0.4 "exponent" 80.0 "frequency" 4.0 "color1" [ "rgb" 1 1 1 ] "color2" [ "rgb" 0 0 0 ] Polygon [ 100.0 -100.0 0.001 ] [ -100.0 -100.0 0.001 ][ 100.0 100.0 0.001 ] Polygon [ -100.0 100.0 0.001 ] [ 100.0 100.0 0.001 ] [ -100.0 -100.0 0.001 ] AttributeEnd AttributeEnd WorldEnd