materials.pbrt 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. # Converted from "contemporary_bathroom.obj" by obj2pbrt
  2. # Scene bounds: (-7.714911, -4.399745, -11.240966) - (3.559370, 3.157831, 2.465844)
  3. # battub (more shiny interior?)
  4. MakeNamedMaterial "bathtube"
  5. "string type" "fourier" "string bsdffile" "bsdfs/ceramic.bsdf"
  6. # porcelain bathtub (exterior?)
  7. MakeNamedMaterial "bathtube.001"
  8. "string type" "fourier" "string bsdffile" "bsdfs/ceramic.bsdf"
  9. # frothy bubbly water
  10. MakeNamedMaterial "bathtube.002"
  11. "string type" [ "mirror" ]
  12. # rug on floor
  13. Texture "rug-kd" "color" "imagemap"
  14. "string filename" "textures/tapis.png"
  15. Texture "rug-bump-base" "float" "imagemap"
  16. "string filename" "textures/tapis.png"
  17. Texture "rug-bump" "float" "scale"
  18. "texture tex1" "rug-bump-base"
  19. "float tex2" .05
  20. MakeNamedMaterial "carpet"
  21. "string type" [ "matte" ]
  22. "texture Kd" "rug-kd"
  23. "texture bumpmap" "rug-bump"
  24. MakeNamedMaterial "ceilling_white"
  25. "string type" [ "matte" ]
  26. "rgb Kd" [ 0.800000012 0.800000012 0.800000012 ]
  27. # Vanessa Pike-Russell https://www.flickr.com/photos/lilcrabbygal/
  28. Texture "drawing-kd" "color" "imagemap"
  29. "string filename" "textures/smoke.png"
  30. MakeNamedMaterial "drawing"
  31. "string type" [ "matte" ]
  32. "texture Kd" "drawing-kd"
  33. # on wall by window
  34. # CC-BY NASA goddard space flight center https://www.flickr.com/photos/gsfc/
  35. Texture "drawing2-kd" "color" "imagemap"
  36. "string filename" "textures/hurricane.png"
  37. MakeNamedMaterial "drawing2"
  38. "string type" [ "matte" ]
  39. "texture Kd" "drawing2-kd"
  40. # flower petals
  41. MakeNamedMaterial "feuilles"
  42. "string type" [ "matte" ]
  43. "rgb Kd" [ 0.639999986 0.2 0.1 ]
  44. # branches of flowers in vase
  45. MakeNamedMaterial "feuilles.001"
  46. "string type" [ "matte" ]
  47. "rgb Kd" [ 0.2 0.2 0.05 ]
  48. # strings part of shades?
  49. MakeNamedMaterial "ficelle"
  50. "float roughness" [ 0.0104080001 ]
  51. "float index" [ 1 ]
  52. "string type" [ "uber" ]
  53. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  54. "rgb Ks" [ 0.5 0.5 0.5 ]
  55. "rgb Kt" [ 0 0 0 ]
  56. "rgb opacity" [ 1 1 1 ]
  57. # floor like white walls
  58. MakeNamedMaterial "floor"
  59. "float roughness" [ 0.0104080001 ]
  60. "float index" [ 1 ]
  61. "string type" [ "uber" ]
  62. "rgb Kd" [ 0.501329005 0.501329005 0.501329005 ]
  63. "rgb Ks" [ 0.5 0.5 0.5 ]
  64. "rgb Kt" [ 0 0 0 ]
  65. "rgb opacity" [ 1 1 1 ]
  66. MakeNamedMaterial "glass_ewt_window"
  67. "string type" [ "glass" ]
  68. # around lights above sinks
  69. MakeNamedMaterial "glass_globe"
  70. "string type" [ "glass" ]
  71. "float index" 1.5
  72. # in front of picture by window
  73. MakeNamedMaterial "glass_globe.001"
  74. "string type" [ "glass" ]
  75. # metal faucets
  76. MakeNamedMaterial "inox"
  77. "float roughness" [ 0.001 ]
  78. "string type" [ "metal" ]
  79. "spectrum k" "spds/Ag.k.spd"
  80. "spectrum eta" "spds/Ag.eta.spd"
  81. # ? foot metal?
  82. MakeNamedMaterial "inox_pied"
  83. "float roughness" [ 0.001 ]
  84. "string type" [ "metal" ]
  85. "spectrum k" "spds/Ag.k.spd"
  86. "spectrum eta" "spds/Ag.eta.spd"
  87. # ??? exterior light source for window?
  88. MakeNamedMaterial "light"
  89. "float roughness" [ 0.0104080001 ]
  90. "float index" [ 1 ]
  91. "string type" [ "uber" ]
  92. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  93. "rgb Ks" [ 0.5 0.5 0.5 ]
  94. "rgb Kt" [ 0 0 0 ]
  95. "rgb opacity" [ 1 1 1 ]
  96. # the lights in the globes!!
  97. MakeNamedMaterial "low_light"
  98. "float roughness" [ 0.0104080001 ]
  99. "float index" [ 1 ]
  100. "string type" [ "uber" ]
  101. "rgb Kd" [ 0.639999986 0.181951001 0.0187090002 ]
  102. "rgb Ks" [ 0.5 0.5 0.5 ]
  103. "rgb Kt" [ 0 0 0 ]
  104. "rgb opacity" [ 1 1 1 ]
  105. # part of the lights in the globes; not clear what/where?
  106. MakeNamedMaterial "low_light.001"
  107. "string type" [ "glass" ]
  108. # part of the lights in the globes; not clear what/where?
  109. MakeNamedMaterial "low_light_plan"
  110. "string type" [ "glass" ]
  111. # sinks
  112. MakeNamedMaterial "marble"
  113. "float roughness" [ 0.0104080001 ]
  114. "float index" [ 1 ]
  115. "string type" [ "uber" ]
  116. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  117. "rgb Ks" [ 0.5 0.5 0.5 ]
  118. "rgb Kt" [ 0 0 0 ]
  119. "rgb opacity" [ 1 1 1 ]
  120. # ?
  121. MakeNamedMaterial "metal_gold"
  122. "float roughness" [ 0.0104080001 ]
  123. "float index" [ 1 ]
  124. "string type" [ "uber" ]
  125. "rgb Kd" [ 0.0585879982 0.0287069995 0 ]
  126. "rgb Ks" [ 0.5 0.5 0.5 ]
  127. "rgb Kt" [ 0 0 0 ]
  128. "rgb opacity" [ 1 1 1 ]
  129. # metal frame around window panes
  130. MakeNamedMaterial "metal_windows"
  131. "float roughness" [ 0.0104080001 ]
  132. "float index" [ 1 ]
  133. "string type" [ "uber" ]
  134. "rgb Kd" [ 0.0559829995 0.0559829995 0.0559829995 ]
  135. "rgb Ks" [ 0.5 0.5 0.5 ]
  136. "rgb Kt" [ 0 0 0 ]
  137. "rgb opacity" [ 1 1 1 ]
  138. MakeNamedMaterial "metalic_plate"
  139. "float roughness" [ 0.0104080001 ]
  140. "float index" [ 1 ]
  141. "string type" [ "uber" ]
  142. "rgb Kd" [ 0.121858999 0.121858999 0.121858999 ]
  143. "rgb Ks" [ 0.5 0.5 0.5 ]
  144. "rgb Kt" [ 0 0 0 ]
  145. "rgb opacity" [ 1 1 1 ]
  146. MakeNamedMaterial "miroir"
  147. "string type" [ "mirror" ]
  148. # paper behind poster by window?
  149. MakeNamedMaterial "papier"
  150. "float roughness" [ 0.0104080001 ]
  151. "float index" [ 1 ]
  152. "string type" [ "uber" ]
  153. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  154. "rgb Ks" [ 0.5 0.5 0.5 ]
  155. "rgb Kt" [ 0 0 0 ]
  156. "rgb opacity" [ 1 1 1 ]
  157. # cords above up high lights
  158. MakeNamedMaterial "plastic_black"
  159. "float roughness" [ 0.0104080001 ]
  160. "string type" [ "uber" ]
  161. "rgb Kd" [ 0.0232790001 0.0232790001 0.0232790001 ]
  162. "rgb Ks" [ 0.5 0.5 0.5 ]
  163. # black pots by sinks
  164. MakeNamedMaterial "pots"
  165. "float roughness" [ 0.4 ]
  166. "string type" [ "uber" ]
  167. "rgb Kd" [ 0.05 .05 .05 ]
  168. "rgb Ks" [ 0.2 0.2 0.2 ]
  169. # ? part of window shades
  170. MakeNamedMaterial "store_knot"
  171. "float roughness" [ 0.0104080001 ]
  172. "float index" [ 1 ]
  173. "string type" [ "uber" ]
  174. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  175. "rgb Ks" [ 0.5 0.5 0.5 ]
  176. "rgb Kt" [ 0 0 0 ]
  177. "rgb opacity" [ 1 1 1 ]
  178. # window shade pull?
  179. MakeNamedMaterial "store_knot_plastic"
  180. "float roughness" [ 0.0104080001 ]
  181. "float index" [ 1 ]
  182. "string type" [ "uber" ]
  183. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  184. "rgb Ks" [ 0.5 0.5 0.5 ]
  185. "rgb Kt" [ 0 0 0 ]
  186. "rgb opacity" [ 1 1 1 ]
  187. # shades
  188. MakeNamedMaterial "stores"
  189. "float roughness" [ 0.0104080001 ]
  190. "float index" [ 1 ]
  191. "string type" [ "uber" ]
  192. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  193. "rgb Ks" [ 0.5 0.5 0.5 ]
  194. "rgb Kt" [ 0 0 0 ]
  195. "rgb opacity" [ 1 1 1 ]
  196. MakeNamedMaterial "tableau1"
  197. "float roughness" [ 0.0104080001 ]
  198. "float index" [ 1 ]
  199. "string type" [ "uber" ]
  200. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  201. "rgb Ks" [ 0.5 0.5 0.5 ]
  202. "rgb Kt" [ 0 0 0 ]
  203. "rgb opacity" [ 1 1 1 ]
  204. MakeNamedMaterial "tableau2"
  205. "float roughness" [ 0.0104080001 ]
  206. "float index" [ 1 ]
  207. "string type" [ "uber" ]
  208. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  209. "rgb Ks" [ 0.5 0.5 0.5 ]
  210. "rgb Kt" [ 0 0 0 ]
  211. "rgb opacity" [ 1 1 1 ]
  212. # vase by window holding flowers
  213. MakeNamedMaterial "vase_white"
  214. "float roughness" [ 0.0104080001 ]
  215. "float index" [ 1 ]
  216. "string type" [ "uber" ]
  217. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  218. "rgb Ks" [ 0.5 0.5 0.5 ]
  219. "rgb Kt" [ 0 0 0 ]
  220. "rgb opacity" [ 1 1 1 ]
  221. # wallpapered wall seen in mirror
  222. Texture "wallpaper-kd" "color" "imagemap"
  223. "string filename" "textures/contemporary_china.png"
  224. "float uscale" .2 "float vscale" .2
  225. MakeNamedMaterial "wall_blue"
  226. "string type" [ "matte" ]
  227. "texture Kd" "wallpaper-kd"
  228. # overall white walls
  229. MakeNamedMaterial "wall_grey"
  230. "float roughness" [ 0.0104080001 ]
  231. "float index" [ 1 ]
  232. "string type" [ "uber" ]
  233. "rgb Kd" [ 0.501329005 0.501329005 0.501329005 ]
  234. "rgb Ks" [ 0.5 0.5 0.5 ]
  235. "rgb Kt" [ 0 0 0 ]
  236. "rgb opacity" [ 1 1 1 ]
  237. # ???
  238. MakeNamedMaterial "wall_grey.001"
  239. "float roughness" [ 0.0104080001 ]
  240. "float index" [ 1 ]
  241. "string type" [ "uber" ]
  242. "rgb Kd" [ 0.501329005 0.501329005 0.501329005 ]
  243. "rgb Ks" [ 0.5 0.5 0.5 ]
  244. "rgb Kt" [ 0 0 0 ]
  245. "rgb opacity" [ 1 1 1 ]
  246. # all the wood
  247. Texture "wood-kd" "color" "imagemap"
  248. "string filename" "textures/American_walnut_pxr128.png"
  249. MakeNamedMaterial "wood"
  250. "float uroughness" [ 0.0104080001 ]
  251. "float vroughness" [ 0.0104080001 ]
  252. "string type" [ "substrate" ]
  253. "texture Kd" "wood-kd"
  254. "rgb Ks" [ 0.2 0.2 0.2 ]
  255. # ? small wood strip on floor?
  256. MakeNamedMaterial "wood_baguette"
  257. "float uroughness" [ 0.0104080001 ]
  258. "float vroughness" [ 0.0104080001 ]
  259. "string type" [ "substrate" ]
  260. "texture Kd" "wood-kd"
  261. "rgb Ks" [ 0.2 0.2 0.2 ]
  262. # wood around poster by window
  263. MakeNamedMaterial "wood_cadre"
  264. "float uroughness" [ 0.0104080001 ]
  265. "float vroughness" [ 0.0104080001 ]
  266. "string type" [ "substrate" ]
  267. "texture Kd" "wood-kd"
  268. "rgb Ks" [ 0.2 0.2 0.2 ]
  269. # white painted wood molding around window
  270. MakeNamedMaterial "wood_white"
  271. "float roughness" [ 0.0104080001 ]
  272. "string type" [ "uber" ]
  273. "rgb Kd" [ 0.700000012 0.700000012 0.700000012 ]
  274. "rgb Ks" [ 0.3 0.3 0.3 ]