Display "display" "framebuffer" "rgba" #Format 320 2401 Projection "perspective" "fov" [30] # Translate following objects Translate 0 0 6 WorldBegin # LightSource "ambientlight" 1 "intensity" [0.2] LightSource "distantlight" 2 "intensity" [0.5] "from" [0 1 -6] "to" [0 0 0] TransformBegin Attribute "identifier" "string name" ["spot3"] Translate -2.0 2.0 -4.0 LightSource "spotlight" 0 "intensity" 25.0000 "lightcolor" [1.00000 1.00000 1.00000] "coneangle" 2.523599 TransformEnd TransformBegin Attribute "identifier" "string name" ["point4"] Translate 2.0 2.0 -2.0 LightSource "pointlight" 1 "intensity" 5.0000 "lightcolor" [1.00000 1.00000 1.00000] TransformEnd # Define a red plastic unit sphere at 0 0 0 Color [1.0 0.0 0.0] Surface "plastic" # Attribute "displacementbound" "sphere" [2] # Attribute "displacementbound" "string coordinatesystem" "current" Sphere 1 -1 1 360 Color [1.0 1.0 0.0] Polygon "P" [-2.0 -2.0 2.0 -2.0 2.0 2.0 2.0 2.0 2.0 2.0 -2.0 2.0] WorldEnd