WorldBegin Format 600 600 NumAreaLightSamples 8 NumPixelSamples 4 4 # StartRow 0 # EndRow 300 # StartColumn 0 # EndColumn 300 AttributeBegin Rotate -1.25 [ 1 0 0 ] Translate [ 0 1 4 ] Camera 0.9 0.9 0.0 Translate [ 0 -1 -4 ] Rotate 1.25 [ 1 0 0 ] Surface "ConstantSurface" Color [ "rgb" 1 1 1 ] Translate [ 10 -3 10 ] AreaLightSource "PointLight" 1 "intensity" 1.0 # "falloff" 1 Sphere 1 AttributeEnd # LightShader "PointLight" 1 Translate [ -10 3 -10 ] AttributeBegin # Surface "BlurredShinySurface" "Kd" 0.1 "Ks" 0.2 "Kr" 0.7 "blurAngle" 2.0 Surface "PlasticSurface" "Kd" 0.7 "Ka" 0.1 "Ks" 0.2 # Surface "ConstantSurface" Color [ "rgb" 1 0 0 ] Translate [ 0 0 0.75 ] Cone 0.5 1.5 # Cylinder 0.25 1.0 AttributeEnd AttributeBegin Translate [ 0 0 1.25 ] # Six spheres in a ring around one in the center AttributeBegin Surface "PlasticSurface" "Kd" 0.7 "Ka" 0.2 "Ks" 0.1 "exponent" 80 # Six spheres in a ring AttributeBegin Rotate 1.047 [ 0 0 1 ] Translate [ 1 0 0 ] Color [ "rgb" 1 0 0 ] Sphere 0.25 AttributeEnd AttributeBegin Rotate 2.094 [ 0 0 1 ] Translate [ 1 0 0 ] Color [ "rgb" 1 1 0 ] Sphere 0.25 AttributeEnd AttributeBegin Rotate 3.142 [ 0 0 1 ] Translate [ 1 0 0 ] Color [ "rgb" 0 1 0 ] Sphere 0.25 AttributeEnd AttributeBegin Rotate 4.189 [ 0 0 1 ] Translate [ 1 0 0 ] Color [ "rgb" 0 1 1 ] Sphere 0.25 AttributeEnd AttributeBegin Rotate 5.236 [ 0 0 1 ] Translate [ 1 0 0 ] Color [ "rgb" 0 0 1 ] Sphere 0.25 AttributeEnd AttributeBegin Rotate 6.283 [ 0 0 1 ] Translate [ 1 0 0 ] Color [ "rgb" 1 0 1 ] Sphere 0.25 AttributeEnd # End of six spheres in a ring AttributeEnd # Glass sphere in the middle Translate [ 0 -1 0.4 ] Surface "GlassSurface" "Kd" 0.05 "Ka" 0.05 "Ks" 0.05 "Kr" 0.05 "Kt" 0.8 # Surface "ShinySurface" "Kd" 0.05 "Ka" 0.05 "Ks" 0.05 "Kr" 0.85 "Kt" 0.8 Color [ "rgb" 1 1 1 ] Sphere 0.5 AttributeEnd AttributeBegin Translate [ 0 0 -1.0 ] Surface "CheckerPlasticSurface" "Kd" 0.8 "Ks" 0.01 "Ka" 0.4 "exponent" 80.0 "frequency" 1.0 "color1" [ "rgb" 1 1 1 ] "color2" [ "rgb" 0 0 0 ] Polygon [ 100.0 -100.0 0.01 ] [ -100.0 -100.0 0.01 ][ 100.0 100.0 0.01 ] Polygon [ -100.0 100.0 0.01 ] [ 100.0 100.0 0.01 ] [ -100.0 -100.0 0.01 ] AttributeEnd AttributeEnd WorldEnd