materials.pbrt 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  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. # black floor
  58. Texture "floor-kd" "color" "imagemap"
  59. "string filename" "textures/97702high.png"
  60. Texture "floor-bump-base" "float" "imagemap"
  61. "string filename" "textures/97702high.png"
  62. Texture "floor-bump" "float" "scale"
  63. "texture tex1" "floor-bump-base"
  64. "float tex2" -.05
  65. MakeNamedMaterial "floor"
  66. "float uroughness" [ 0.0104080001 ]
  67. "float vroughness" [ 0.0104080001 ]
  68. "string type" [ "substrate" ]
  69. "texture Kd" "floor-kd"
  70. "rgb Ks" [ 0.1 0.1 0.1 ]
  71. "texture bumpmap" "floor-bump"
  72. MakeNamedMaterial "glass_ewt_window"
  73. "string type" [ "glass" ]
  74. # around lights above sinks
  75. MakeNamedMaterial "glass_globe"
  76. "string type" [ "glass" ]
  77. "float index" 1
  78. # in front of picture by window
  79. MakeNamedMaterial "glass_globe.001"
  80. "string type" [ "glass" ]
  81. # metal faucets
  82. MakeNamedMaterial "inox"
  83. "float roughness" [ 0.001 ]
  84. "string type" [ "metal" ]
  85. "spectrum k" "spds/Ag.k.spd"
  86. "spectrum eta" "spds/Ag.eta.spd"
  87. # ? foot metal?
  88. MakeNamedMaterial "inox_pied"
  89. "float roughness" [ 0.001 ]
  90. "string type" [ "metal" ]
  91. "spectrum k" "spds/Ag.k.spd"
  92. "spectrum eta" "spds/Ag.eta.spd"
  93. # ??? exterior light source for window?
  94. MakeNamedMaterial "light"
  95. "float roughness" [ 0.0104080001 ]
  96. "float index" [ 1 ]
  97. "string type" [ "uber" ]
  98. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  99. "rgb Ks" [ 0.5 0.5 0.5 ]
  100. "rgb Kt" [ 0 0 0 ]
  101. "rgb opacity" [ 1 1 1 ]
  102. # the lights in the globes!!
  103. MakeNamedMaterial "low_light"
  104. "float roughness" [ 0.0104080001 ]
  105. "float index" [ 1 ]
  106. "string type" [ "uber" ]
  107. "rgb Kd" [ 0.639999986 0.181951001 0.0187090002 ]
  108. "rgb Ks" [ 0.5 0.5 0.5 ]
  109. "rgb Kt" [ 0 0 0 ]
  110. "rgb opacity" [ 1 1 1 ]
  111. # part of the lights in the globes; not clear what/where?
  112. MakeNamedMaterial "low_light.001"
  113. "string type" [ "glass" ]
  114. # part of the lights in the globes; not clear what/where?
  115. MakeNamedMaterial "low_light_plan"
  116. "string type" [ "glass" ]
  117. # sinks
  118. MakeNamedMaterial "marble"
  119. "float roughness" [ 0.0104080001 ]
  120. "float index" [ 1 ]
  121. "string type" [ "uber" ]
  122. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  123. "rgb Ks" [ 0.5 0.5 0.5 ]
  124. "rgb Kt" [ 0 0 0 ]
  125. "rgb opacity" [ 1 1 1 ]
  126. # ?
  127. MakeNamedMaterial "metal_gold"
  128. "float roughness" [ 0.0104080001 ]
  129. "float index" [ 1 ]
  130. "string type" [ "uber" ]
  131. "rgb Kd" [ 0.0585879982 0.0287069995 0 ]
  132. "rgb Ks" [ 0.5 0.5 0.5 ]
  133. "rgb Kt" [ 0 0 0 ]
  134. "rgb opacity" [ 1 1 1 ]
  135. # metal frame around window panes
  136. MakeNamedMaterial "metal_windows"
  137. "float roughness" [ 0.0104080001 ]
  138. "float index" [ 1 ]
  139. "string type" [ "uber" ]
  140. "rgb Kd" [ 0.0559829995 0.0559829995 0.0559829995 ]
  141. "rgb Ks" [ 0.5 0.5 0.5 ]
  142. "rgb Kt" [ 0 0 0 ]
  143. "rgb opacity" [ 1 1 1 ]
  144. MakeNamedMaterial "metalic_plate"
  145. "float roughness" [ 0.0104080001 ]
  146. "float index" [ 1 ]
  147. "string type" [ "uber" ]
  148. "rgb Kd" [ 0.121858999 0.121858999 0.121858999 ]
  149. "rgb Ks" [ 0.5 0.5 0.5 ]
  150. "rgb Kt" [ 0 0 0 ]
  151. "rgb opacity" [ 1 1 1 ]
  152. MakeNamedMaterial "miroir"
  153. "string type" [ "mirror" ]
  154. # paper behind poster by window?
  155. MakeNamedMaterial "papier"
  156. "float roughness" [ 0.0104080001 ]
  157. "float index" [ 1 ]
  158. "string type" [ "uber" ]
  159. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  160. "rgb Ks" [ 0.5 0.5 0.5 ]
  161. "rgb Kt" [ 0 0 0 ]
  162. "rgb opacity" [ 1 1 1 ]
  163. # cords above up high lights
  164. MakeNamedMaterial "plastic_black"
  165. "float roughness" [ 0.0104080001 ]
  166. "string type" [ "uber" ]
  167. "rgb Kd" [ 0.0232790001 0.0232790001 0.0232790001 ]
  168. "rgb Ks" [ 0.5 0.5 0.5 ]
  169. # black pots by sinks
  170. MakeNamedMaterial "pots"
  171. "float roughness" [ 0.4 ]
  172. "string type" [ "uber" ]
  173. "rgb Kd" [ 0.05 .05 .05 ]
  174. "rgb Ks" [ 0.2 0.2 0.2 ]
  175. # ? part of window shades
  176. MakeNamedMaterial "store_knot"
  177. "float roughness" [ 0.0104080001 ]
  178. "float index" [ 1 ]
  179. "string type" [ "uber" ]
  180. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  181. "rgb Ks" [ 0.5 0.5 0.5 ]
  182. "rgb Kt" [ 0 0 0 ]
  183. "rgb opacity" [ 1 1 1 ]
  184. # window shade pull?
  185. MakeNamedMaterial "store_knot_plastic"
  186. "float roughness" [ 0.0104080001 ]
  187. "float index" [ 1 ]
  188. "string type" [ "uber" ]
  189. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  190. "rgb Ks" [ 0.5 0.5 0.5 ]
  191. "rgb Kt" [ 0 0 0 ]
  192. "rgb opacity" [ 1 1 1 ]
  193. # shades
  194. MakeNamedMaterial "stores"
  195. "float roughness" [ 0.0104080001 ]
  196. "float index" [ 1 ]
  197. "string type" [ "uber" ]
  198. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  199. "rgb Ks" [ 0.5 0.5 0.5 ]
  200. "rgb Kt" [ 0 0 0 ]
  201. "rgb opacity" [ 1 1 1 ]
  202. MakeNamedMaterial "tableau1"
  203. "float roughness" [ 0.0104080001 ]
  204. "float index" [ 1 ]
  205. "string type" [ "uber" ]
  206. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  207. "rgb Ks" [ 0.5 0.5 0.5 ]
  208. "rgb Kt" [ 0 0 0 ]
  209. "rgb opacity" [ 1 1 1 ]
  210. MakeNamedMaterial "tableau2"
  211. "float roughness" [ 0.0104080001 ]
  212. "float index" [ 1 ]
  213. "string type" [ "uber" ]
  214. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  215. "rgb Ks" [ 0.5 0.5 0.5 ]
  216. "rgb Kt" [ 0 0 0 ]
  217. "rgb opacity" [ 1 1 1 ]
  218. # vase by window holding flowers
  219. MakeNamedMaterial "vase_white"
  220. "float roughness" [ 0.0104080001 ]
  221. "float index" [ 1 ]
  222. "string type" [ "uber" ]
  223. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  224. "rgb Ks" [ 0.5 0.5 0.5 ]
  225. "rgb Kt" [ 0 0 0 ]
  226. "rgb opacity" [ 1 1 1 ]
  227. # wallpapered wall seen in mirror
  228. Texture "wallpaper-kd" "color" "imagemap"
  229. "string filename" "textures/contemporary_china.png"
  230. "float uscale" .2 "float vscale" .2
  231. MakeNamedMaterial "wall_blue"
  232. "string type" [ "matte" ]
  233. "texture Kd" "wallpaper-kd"
  234. # overall white walls
  235. MakeNamedMaterial "wall_grey"
  236. "float roughness" [ 0.0104080001 ]
  237. "float index" [ 1 ]
  238. "string type" [ "uber" ]
  239. "rgb Kd" [ 0.501329005 0.501329005 0.501329005 ]
  240. "rgb Ks" [ 0.5 0.5 0.5 ]
  241. "rgb Kt" [ 0 0 0 ]
  242. "rgb opacity" [ 1 1 1 ]
  243. # ???
  244. MakeNamedMaterial "wall_grey.001"
  245. "float roughness" [ 0.0104080001 ]
  246. "float index" [ 1 ]
  247. "string type" [ "uber" ]
  248. "rgb Kd" [ 0.501329005 0.501329005 0.501329005 ]
  249. "rgb Ks" [ 0.5 0.5 0.5 ]
  250. "rgb Kt" [ 0 0 0 ]
  251. "rgb opacity" [ 1 1 1 ]
  252. # all the wood
  253. Texture "wood-kd" "color" "imagemap"
  254. "string filename" "textures/American_walnut_pxr128.png"
  255. MakeNamedMaterial "wood"
  256. "float uroughness" [ 0.0104080001 ]
  257. "float vroughness" [ 0.0104080001 ]
  258. "string type" [ "substrate" ]
  259. "texture Kd" "wood-kd"
  260. "rgb Ks" [ 0.2 0.2 0.2 ]
  261. # ? small wood strip on floor?
  262. MakeNamedMaterial "wood_baguette"
  263. "float uroughness" [ 0.0104080001 ]
  264. "float vroughness" [ 0.0104080001 ]
  265. "string type" [ "substrate" ]
  266. "texture Kd" "wood-kd"
  267. "rgb Ks" [ 0.2 0.2 0.2 ]
  268. # wood around poster by window
  269. MakeNamedMaterial "wood_cadre"
  270. "float uroughness" [ 0.0104080001 ]
  271. "float vroughness" [ 0.0104080001 ]
  272. "string type" [ "substrate" ]
  273. "texture Kd" "wood-kd"
  274. "rgb Ks" [ 0.2 0.2 0.2 ]
  275. # white painted wood molding around window
  276. MakeNamedMaterial "wood_white"
  277. "float roughness" [ 0.0104080001 ]
  278. "string type" [ "uber" ]
  279. "rgb Kd" [ 0.700000012 0.700000012 0.700000012 ]
  280. "rgb Ks" [ 0.3 0.3 0.3 ]