Display "lab7.tif" "file" "rgba" #Display "polka" "framebuffer" "rgb" Projection "perspective" "fov" 40 Format 400 300 1 #Format 200 150 1 ObjectBegin 3 Polygon "P" [1.0 1.0 -0.5 1.0 0.0 -0.5 0.0 0.0 -0.5 0.0 1.0 -0.5] ObjectEnd Translate 0 0 5 #Rotate -120 1 0 0 #Rotate 45 0 0 1 WorldBegin LightSource "pointlight" 1 "intensity" 50 "from" [4 4 4] LightSource "ambientlight" 3 "intensity" 0.5 # A carpet on the floor AttributeBegin Attribute "identifier" "name" "floor" Declare "backcolor" "color" Declare "dotcolor" "color" Declare "freq" "float" Declare "radius" "float" Surface "polka" "backcolor" [0.8 0.8 0.8] "freq" 4 "dotcolor" [0.1 0.8 0.1] "radius" 0.35 #Color [0.50 0.4745 0.2667] Translate 0.0 0 0.0 TransformBegin Scale 1 1 1 ObjectInstance 3 TransformEnd AttributeEnd WorldEnd