WorldBegin Format 600 600 NumPixelSamples 4 4 NumAreaLightSamples 8 AttributeBegin Translate [ 0.0 0.0 2.5 ] # Rotate -0.7853 [ 1.0 0.0 0.0 ] Camera 0.9 0.9 0.0 # Rotate 0.7853 [ 1.0 0.0 0.0 ] Translate [ 0.0 0.0 -2.5 ] Surface "PlasticSurface" "Kd" 0.8 "Ks" 0.1 "Ka" 0.2 "exponent" 5.0 # Surface "GlassSurface" "Kd" 0.3 "Ks" 0.1 "Ka" 0.1 "Kt" 0.7 "exponent" 80.0 Translate [ 1.5 1.5 2.0 ] LightShader "PointLight" 1 "intensity" 1.0 AreaLightSource "PointLight" 1 "intensity" 1.0 Sphere 0.35 AttributeEnd Translate [ -1.5 -1.5 -2.0 ] AttributeBegin # Surface "ConstantSurface" Color [ "rgb" 1.0 0.0 1.0 ] Surface "GlassSurface" "Kd" 0.3 "Ks" 0.1 "Ka" 0.1 "Kt" 0.7 "exponent" 80.0 "ior" 1.05 Translate [ -0.4 -0.4 0 ] Sphere 0.25 Translate [ 0.4 0.4 0 ] Surface "ShinySurface" "Kd" 0.4 "Ks" 0.1 "Kr" 0.5 "exponent" 80.0 Translate [ 0.75 0 0 ] Color [ "rgb" 0.0 1.0 0.0 ] Sphere 0.25 Translate [ -0.75 0 0 ] Translate [ 0 0.5 0 ] Color [ "rgb" 0 1 0.5 ] # Surface "ShinySurface" "Kd" 0.05 "Ks" 0.05 "Ka" 0.05 "Kr" 0.9 "exponent" 80 Surface "PlasticSurface" "Kd" 0.5 "Ks" 0.2 "Ka" 0.3 "exponent" 40 # Sphere 0.4 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 Translate [ 0 -0.5 0 ] Color [ "rgb" 1.0 0.0 0.0 ] # Surface "PlasticSurface" "Kd" 0.8 "Ks" 0.01 "Ka" 0.4 "exponent" 80.0 Surface "CheckerPlasticSurface" "Kd" 0.8 "Ks" 0.01 "Ka" 0.4 "exponent" 80.0 "frequency" 8.0 "color1" [ "rgb" 1 1 1 ] "color2" [ "rgb" 0 0 0 ] Translate [ 0 0 -0.5 ] Polygon [ 10.0 -10.0 0 ] [ -10.0 -10.0 0 ][ 10.0 10.0 0 ] Polygon [ -10.0 10.0 0 ] [ 10.0 10.0 0 ] [ -10.0 -10.0 0 ] AttributeEnd # Translate [ 0.0 0.0 -2.0 ] # Surface "ObjectXYZSurface" #Polygon [ -5.0 -5.0 -1.0 ] [ 5.0 -5.0 -1.0 ] [ 0.0 5.0 -1.0 ] AttributeEnd WorldEnd