Option "display" "imageviewer" "xv" Option "render" "integrator" "montecarlo" Format 100 100 1 PixelSamples 2 2 Display "test1.tiff" "file" "rgba" Projection "perspective" "fov" 45 Translate 0.0 0.0 14.0 WorldBegin Rotate 30 1 0 0 Attribute "render" "sample" "light" #Attribute "render" "sample" "surface" #Attribute "render" "sample" "combination" Attribute "light" "shadows" "on" "nsamples" 1 AttributeBegin AreaLightSource "diffuse" 1 "intensity" 100. "lightcolor" [ 0.5 1 0.5 ] Translate 4.0 2.0 -4.0 Polygon "P" [-.3 -.3 0.1 .3 .3 0.1 .3 -.3 0.1] # Disk 0.0 2 360.0 Translate -4.0 -2.0 4.0 AttributeEnd Illuminate 1 1 #Attribute "light" "shadows" "on" "nsamples" 1 #AttributeBegin # AreaLightSource "diffuse" 2 "intensity" 10. "lightcolor" [ 1 0.5 0.5 ] # Translate -4.0 2.0 -4.0 # Polygon "P" [-2 -2 0.1 2 2 0.1 2 -2 0.1] ## Disk 0.0 2 360.0 # Translate 4.0 -2.0 4.0 #AttributeEnd #Illuminate 2 1 AttributeBegin Surface "matte" #Surface "plastic" "Kd" 0 "Ks" 1 "Ka" 0 "roughness" .9 # glossy only --> kd=0 #Surface "shinymetal" "Ks" 1 "Kr" 0.0 "roughness" .2 Color 1.0 1.0 1.0 Translate 0.0 0.0 7.0 # Disk 0 20.0 360.0 Polygon "P" [-20 -20 0 20 -20 0 20 20 0 -20 20 0] Translate 0.0 0.0 -7.0 AttributeEnd WorldEnd