Parcourir la source

Use "diffuse" for area lights, not (the old) "area".

Matt Pharr il y a 6 ans
Parent
commit
a27458940a

+ 5 - 5
bathroom/bathroom.pbrt

@@ -19,29 +19,29 @@ Scale -1 1 1
 
 # light above / behind camera 
 AttributeBegin
-   AreaLightSource "area" "blackbody L" [2700 15]
+   AreaLightSource "diffuse" "blackbody L" [2700 15]
     Shape "plymesh" "string filename" "geometry/mesh_00001.ply" 
 AttributeEnd
 
 # light above the sinks
 AttributeBegin
-   AreaLightSource "area" "blackbody L" [2700 10]
+   AreaLightSource "diffuse" "blackbody L" [2700 10]
     Shape "plymesh" "string filename" "geometry/mesh_00008.ply" 
 AttributeEnd
 
 AttributeBegin
-   AreaLightSource "area" "blackbody L" [2700 10]
+   AreaLightSource "diffuse" "blackbody L" [2700 10]
     Shape "plymesh" "string filename" "geometry/mesh_00009.ply" 
 AttributeEnd
 
 AttributeBegin
-   AreaLightSource "area" "blackbody L" [2700 10]
+   AreaLightSource "diffuse" "blackbody L" [2700 10]
     Shape "plymesh" "string filename" "geometry/mesh_00010.ply" 
 AttributeEnd
 
 # window emitter
 AttributeBegin
-    AreaLightSource "area" "blackbody L" [6500 100 ] #"color L" [2500 2500 2500]
+    AreaLightSource "diffuse" "blackbody L" [6500 100 ] #"color L" [2500 2500 2500]
     Shape "plymesh" "string filename" "geometry/mesh_00062.ply" 
 AttributeEnd
 

+ 2 - 2
bmw-m6/bmw-m6.pbrt

@@ -233,7 +233,7 @@ AttributeEnd
 # Name "BMWHeadLightA.006_Cube.123"
 
 AttributeBegin
-#    AreaLightSource "area" 
+#    AreaLightSource "diffuse" 
 #            "rgb L" [ 0.841207981 0.841207981 0.841207981 ] 
     NamedMaterial "HeadLight"
     Shape "plymesh" "string filename" "geometry/mesh_00012.ply" 
@@ -289,7 +289,7 @@ AttributeEnd
 # Name "BMWHeadLightA.003_Cube.110"
 
 AttributeBegin
-#    AreaLightSource "area" 
+#    AreaLightSource "diffuse" 
 #            "rgb L" [ 0.841207981 0.841207981 0.841207981 ] 
     NamedMaterial "HeadLight"
     Shape "plymesh" "string filename" "geometry/mesh_00021.ply" 

+ 1 - 1
ecosys/ecosys.pbrt

@@ -24,7 +24,7 @@ AttributeBegin
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" 
+    AreaLightSource "diffuse" 
             "rgb L" [ 900 800 720 ] 
     ReverseOrientation
     Translate 400 200 800

+ 2 - 2
ganesha/f3-11.pbrt

@@ -19,12 +19,12 @@ AttributeBegin
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [15.258818626403809 12.083925247192383 9.589462280273438]
+    AreaLightSource "diffuse" "color L" [15.258818626403809 12.083925247192383 9.589462280273438]
     Shape "trianglemesh" "point P" [220.0 61.36730194091797 -343.6283264160156 400.0 61.36730194091797 -343.6283264160156 400.0 238.6326904296875 -312.3716735839844 220.0 238.6326904296875 -312.3716735839844] "integer indices" [0 1 2 0 2 3]
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [15.258818626403809 12.083925247192383 9.589462280273438]
+    AreaLightSource "diffuse" "color L" [15.258818626403809 12.083925247192383 9.589462280273438]
     ReverseOrientation
     Shape "trianglemesh" "point P" [220.0 61.36730194091797 343.6283264160156 400.0 61.36730194091797 343.6283264160156 400.0 238.6326904296875 312.3716735839844 220.0 238.6326904296875 312.3716735839844] "integer indices" [0 1 2 0 2 3]
 AttributeEnd

+ 2 - 2
ganesha/ganesha.pbrt

@@ -20,12 +20,12 @@ AttributeBegin
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [15.258818626403809 12.083925247192383 9.589462280273438]
+    AreaLightSource "diffuse" "color L" [15.258818626403809 12.083925247192383 9.589462280273438]
     Shape "trianglemesh" "point P" [220.0 61.36730194091797 -343.6283264160156 400.0 61.36730194091797 -343.6283264160156 400.0 238.6326904296875 -312.3716735839844 220.0 238.6326904296875 -312.3716735839844] "integer indices" [0 1 2 0 2 3]
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [15.258818626403809 12.083925247192383 9.589462280273438]
+    AreaLightSource "diffuse" "color L" [15.258818626403809 12.083925247192383 9.589462280273438]
     ReverseOrientation
     Shape "trianglemesh" "point P" [220.0 61.36730194091797 343.6283264160156 400.0 61.36730194091797 343.6283264160156 400.0 238.6326904296875 312.3716735839844 220.0 238.6326904296875 312.3716735839844] "integer indices" [0 1 2 0 2 3]
 AttributeEnd

+ 1 - 1
killeroos/killeroo-gold.pbrt

@@ -14,7 +14,7 @@ AttributeBegin
 #LightSource "infinite" "integer nsamples" [ 8 ] # [64]
 #	"string mapname" "textures/skylight-morn.exr"
 Material "matte" "color Kd" [0 0 0]
-AreaLightSource "area"  "color L" [50 50 50]
+AreaLightSource "diffuse"  "color L" [50 50 50]
 Translate 0 0 800
 ReverseOrientation
 Shape "disk" "float radius" [150] # was 300

+ 1 - 1
killeroos/killeroo-moving.pbrt

@@ -20,7 +20,7 @@ AttributeBegin
 Material "matte" "color Kd" [0 0 0]
 Translate 150 0  20
 Translate 0 120 0
-AreaLightSource "area"  "color L" [2000 2000 2000] "integer nsamples" [8]
+AreaLightSource "diffuse"  "color L" [2000 2000 2000] "integer nsamples" [8]
 Shape "sphere" "float radius" [3]
 AttributeEnd
 

+ 1 - 1
killeroos/killeroo-simple.pbrt

@@ -20,7 +20,7 @@ AttributeBegin
 Material "matte" "color Kd" [0 0 0]
 Translate 150 0  20
 Translate 0 120 0
-AreaLightSource "area"  "color L" [2000 2000 2000] "integer nsamples" [8]
+AreaLightSource "diffuse"  "color L" [2000 2000 2000] "integer nsamples" [8]
 Shape "sphere" "float radius" [3]
 AttributeEnd
 

+ 2 - 2
sanmiguel/geometry/sanmiguel-geom.pbrt

@@ -712,7 +712,7 @@ AttributeEnd
 
 AttributeBegin
     NamedMaterial "Sun_Light"
-    AreaLightSource "area" 
+    AreaLightSource "diffuse" 
             "integer nsamples" [ 20 ] 
             "rgb L" [ 1 0.8392159939 0.4901959896 ] 
             "rgb scale" [ 4000 4000 4000 ] 
@@ -17032,7 +17032,7 @@ AttributeEnd
 
 AttributeBegin
     NamedMaterial "Fill_Light_Patio"
-    AreaLightSource "area" 
+    AreaLightSource "diffuse" 
             "integer nsamples" [ 1 ] 
             "rgb L" [ 0.8941180110 0.9882349968 1 ] 
             "rgb scale" [ 2 2 2 ] 

+ 2 - 2
simple/bump-sphere.pbrt

@@ -12,14 +12,14 @@ WorldBegin
 
 AttributeBegin
   CoordSysTransform "camera"
-  AreaLightSource "area" "color L" [12 12 12  ]
+  AreaLightSource "diffuse" "color L" [12 12 12  ]
   Translate 0 2 -10
   Material "matte" "color Kd" [ 0 0 0 ]
   Shape "disk" "float radius" [3] 
 AttributeEnd
 
 AttributeBegin
-  AreaLightSource "area" "color L" [2 2 2]
+  AreaLightSource "diffuse" "color L" [2 2 2]
   Translate 0 10 2
   Rotate 90 1 0 0 
   Material "matte" "color Kd" [ 0 0 0 ]

+ 1 - 1
simple/dof-dragons.pbrt

@@ -17,7 +17,7 @@ Camera "perspective" "float fov" [30]
 WorldBegin
 
 AttributeBegin
-AreaLightSource "area" "color L" [4 4 4] "integer nsamples" [128]
+AreaLightSource "diffuse" "color L" [4 4 4] "integer nsamples" [128]
 Translate 0 10 0
 Rotate 90 1 0 0
 #Shape "disk" "float radius" [8]

+ 2 - 2
simple/miscquads.pbrt

@@ -14,14 +14,14 @@ WorldBegin
 
 AttributeBegin
   CoordSysTransform "camera"
-  AreaLightSource "area" "color L" [8 8 8  ]
+  AreaLightSource "diffuse" "color L" [8 8 8  ]
   Translate 0 2 -10
   Material "matte" "color Kd" [ 0 0 0 ]
   Shape "disk" "float radius" [3] 
 AttributeEnd
 
 AttributeBegin
-  AreaLightSource "area" "color L" [3.2 3.2 3.2]
+  AreaLightSource "diffuse" "color L" [3.2 3.2 3.2]
   Translate 0 10 0
   Rotate 90 1 0 0 
   Material "matte" "color Kd" [ 0 0 0 ]

+ 1 - 1
simple/teapot-area-light.pbrt

@@ -14,7 +14,7 @@ WorldBegin
 
 AttributeBegin
     # AAA
-    AreaLightSource "area" "integer nsamples" [16 ] "color L" [8 8 8]
+    AreaLightSource "diffuse" "integer nsamples" [16 ] "color L" [8 8 8]
     Material "matte"  "color Kd"  [0.000000 0.000000 0.000000]
     Translate 2.000000 -4.000000 4.000000
     Rotate -120.000000 1.000000 0.000000 0.000000

+ 5 - 5
sportscar/f12-19b.pbrt

@@ -50,7 +50,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -68,7 +68,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -89,7 +89,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -110,7 +110,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -131,7 +131,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 

+ 5 - 5
sportscar/f12-20a.pbrt

@@ -50,7 +50,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -68,7 +68,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -89,7 +89,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -110,7 +110,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -131,7 +131,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 

+ 5 - 5
sportscar/f12-20b.pbrt

@@ -50,7 +50,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -68,7 +68,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -89,7 +89,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -110,7 +110,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -131,7 +131,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 

+ 5 - 5
sportscar/f7-37a.pbrt

@@ -30,7 +30,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -48,7 +48,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -69,7 +69,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -90,7 +90,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -111,7 +111,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 

+ 5 - 5
sportscar/f7-37b.pbrt

@@ -30,7 +30,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -48,7 +48,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -69,7 +69,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -90,7 +90,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -111,7 +111,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 

+ 5 - 5
sportscar/sportscar.pbrt

@@ -29,7 +29,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -47,7 +47,7 @@ Transform [1.000000000000000 0.000000000000000 0.000000000000000 0.0000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -68,7 +68,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -89,7 +89,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 
@@ -110,7 +110,7 @@ Transform [	1.000000000000000 0.000000000000000 0.000000000000000 0.000000000000
 
 NamedMaterial "Material"
 
-AreaLightSource "area"
+AreaLightSource "diffuse"
 	"integer nsamples" [1]
 	"color L" [7.00000000 7.00000000 7.00000000]
 

+ 2 - 2
veach-bidir/bidir.pbrt

@@ -58,13 +58,13 @@ AttributeBegin
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [6999.999881 5450.000167 3630.000055]
+    AreaLightSource "diffuse" "color L" [6999.999881 5450.000167 3630.000055]
     NamedMaterial "Luminaire2Material"
     Shape "plymesh" "string filename" ["geometry/bidir_6.ply"]
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [500.0 500.0 500.0]
+    AreaLightSource "diffuse" "color L" [500.0 500.0 500.0]
     NamedMaterial "Luminaire1Material"
     Shape "plymesh" "string filename" ["geometry/bidir_7.ply"]
 AttributeEnd

+ 5 - 5
veach-mis/mis.pbrt

@@ -14,35 +14,35 @@ Camera "perspective" "float fov" [28.0000262073138]
 
 WorldBegin
 AttributeBegin
-    AreaLightSource "area" "color L" [800.0 800.0 800.0]
+    AreaLightSource "diffuse" "color L" [800.0 800.0 800.0]
     Material "matte" "color Kd" [0.0 0.0 0.0]
     Translate 10.0 10.0 4.0
     Shape "sphere" "float radius" [0.5]
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [100.0 100.0 100.0]
+    AreaLightSource "diffuse" "color L" [100.0 100.0 100.0]
     Material "matte" "color Kd" [0.0 0.0 0.0]
     Translate -1.25 0.0 0.0
     Shape "sphere" "float radius" [0.1]
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [901.803 901.803 901.803]
+    AreaLightSource "diffuse" "color L" [901.803 901.803 901.803]
     Material "matte" "color Kd" [0.0 0.0 0.0]
     Translate -3.75 0.0 0.0
     Shape "sphere" "float radius" [0.03333]
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [11.1111 11.1111 11.1111]
+    AreaLightSource "diffuse" "color L" [11.1111 11.1111 11.1111]
     Material "matte" "color Kd" [0.0 0.0 0.0]
     Translate 1.25 0.0 0.0
     Shape "sphere" "float radius" [0.3]
 AttributeEnd
 
 AttributeBegin
-    AreaLightSource "area" "color L" [1.23457 1.23457 1.23457]
+    AreaLightSource "diffuse" "color L" [1.23457 1.23457 1.23457]
     Material "matte" "color Kd" [0.0 0.0 0.0]
     Translate 3.75 0.0 0.0
     Shape "sphere" "float radius" [0.9]

+ 4 - 4
white-room/lights-daytime.pbrt

@@ -3,7 +3,7 @@
 AttributeBegin
 Material "matte" "color Kd" [0 0 0]
 ReverseOrientation
-AreaLightSource "area" "blackbody L" [5000 1200] # "color L" [600 600 600]
+AreaLightSource "diffuse" "blackbody L" [5000 1200] # "color L" [600 600 600]
 
 Shape "trianglemesh"
   "point P" [
@@ -28,7 +28,7 @@ AttributeEnd
 # Name "Left-Window-Mesh-Emiiter_Plane.062"
 AttributeBegin
 ReverseOrientation
-AreaLightSource "area" "blackbody L" [5000 1200] # "color L" [600 600 600]
+AreaLightSource "diffuse" "blackbody L" [5000 1200] # "color L" [600 600 600]
 
 Shape "trianglemesh"
   "point P" [
@@ -54,7 +54,7 @@ AttributeEnd
 AttributeBegin
 Material "matte" "color Kd" [0 0 0]
 ReverseOrientation
-AreaLightSource "area" "blackbody L" [5000 1200] # "color L" [600 600 600]
+AreaLightSource "diffuse" "blackbody L" [5000 1200] # "color L" [600 600 600]
 
 Shape "trianglemesh"
   "point P" [
@@ -81,7 +81,7 @@ AttributeBegin
 Material "matte" "color Kd" [0 0 0]
 
 #ReverseOrientation
-AreaLightSource "area" "blackbody L" [5000 10] # "color L" [10 10 10]
+AreaLightSource "diffuse" "blackbody L" [5000 10] # "color L" [10 10 10]
 
 Shape "trianglemesh"
   "point P" [