Browse Source

Remove references to missing textuers

Matt Pharr 4 years ago
parent
commit
2e2e44a18f
1 changed files with 4 additions and 2 deletions
  1. 4 2
      white-room/materials.pbrt

+ 4 - 2
white-room/materials.pbrt

@@ -258,7 +258,8 @@ MakeNamedMaterial "fireplace-top"
 MakeNamedMaterial "fireplace-surround-base"
 "string type" "uber" "color Kd" [.8 .8 .8] "color Ks" [.5 .5 .5] "float roughness" [0.010408] "rgb Kt" [0.000000 0.000000 0.000000] "float index" [1.000000] "rgb opacity" [1.000000 1.000000 1.000000] 
 
-Texture "ss-kd" "color" "imagemap" "string filename" ["textures/snowsheff1a1.png"]
+#Texture "ss-kd" "color" "imagemap" "string filename" ["textures/snowsheff1a1.png"]
+Texture "ss-kd" "color" "constant" "color value" [0.500000 0.500000 0.500000]
 Texture "ss-ks" "color" "constant" "color value" [0.500000 0.500000 0.500000]
 MakeNamedMaterial "showsheff"
 "string type" "uber" "texture Kd" "ss-kd" "texture Ks" "ss-ks" "float roughness" [0.010408] "rgb Kt" [0.000000 0.000000 0.000000] "float index" [1.000000] "rgb opacity" [1.000000 1.000000 1.000000] 
@@ -333,7 +334,8 @@ MakeNamedMaterial "radio-logo"
 MakeNamedMaterial "radio-dial"
 "string type" "uber" "color Kd" [.8 .8 .8] "color Ks" [.5 .5 .5] "float roughness" [0.010408] "rgb Kt" [0.000000 0.000000 0.000000] "float index" [1.000000] "rgb opacity" [1.000000 1.000000 1.000000] 
 
-Texture "rdb-kd-img" "color" "imagemap" "string filename" ["textures/radio-dial-idea.png"]
+#Texture "rdb-kd-img" "color" "imagemap" "string filename" ["textures/radio-dial-idea.png"]
+Texture "rdb-kd-img" "color" "constant" "rgb value" [.5 .5 .5]
 Texture "rdb-kd" "color" "scale" "texture tex1" "rdb-kd-img" "color tex2" [0.166328 0.013044 0.008808]
 Texture "rdb-ks" "color" "constant" "color value" [0.000000 0.000000 0.000000]
 MakeNamedMaterial "radio-dial-back"