bathroom.pbrt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. # make wood more glossy
  2. LookAt 0 23 30 10.2 5 0 0 1 0
  3. Camera "perspective" "float fov" 50
  4. "float focaldistance" 31 "float lensradius" .2 # .4
  5. Film "image" "integer xresolution" 1200 "integer yresolution" 760
  6. #Film "image" "integer xresolution" 600 "integer yresolution" 380
  7. "string filename" "bathroom.exr"
  8. Sampler "sobol" "integer pixelsamples" 4096
  9. Integrator "bdpt"
  10. WorldBegin
  11. Scale -1 1 1
  12. # light above / behind camera
  13. AttributeBegin
  14. AreaLightSource "area" "blackbody L" [2700 15]
  15. Shape "plymesh" "string filename" "geometry/mesh_00001.ply"
  16. AttributeEnd
  17. # light above the sinks
  18. AttributeBegin
  19. AreaLightSource "area" "blackbody L" [2700 10]
  20. Shape "plymesh" "string filename" "geometry/mesh_00008.ply"
  21. AttributeEnd
  22. AttributeBegin
  23. AreaLightSource "area" "blackbody L" [2700 10]
  24. Shape "plymesh" "string filename" "geometry/mesh_00009.ply"
  25. AttributeEnd
  26. AttributeBegin
  27. AreaLightSource "area" "blackbody L" [2700 10]
  28. Shape "plymesh" "string filename" "geometry/mesh_00010.ply"
  29. AttributeEnd
  30. # window emitter
  31. AttributeBegin
  32. AreaLightSource "area" "blackbody L" [6500 100 ] #"color L" [2500 2500 2500]
  33. Shape "plymesh" "string filename" "geometry/mesh_00062.ply"
  34. ReverseOrientation
  35. Shape "plymesh" "string filename" "geometry/mesh_00062.ply"
  36. AttributeEnd
  37. # white border around black thing on floor?
  38. MakeNamedMaterial "blanc"
  39. "float roughness" [ 0.0104080001 ]
  40. "float index" [ 1 ]
  41. "string type" [ "uber" ]
  42. "rgb Kd" [ .5 .5 .5 ]
  43. "rgb Ks" [ 0.5 0.5 0.5 ]
  44. "rgb Kt" [ 0 0 0 ]
  45. "rgb opacity" [ 1 1 1 ]
  46. # towels and mats on floor
  47. TransformBegin
  48. Scale 10 10 10
  49. Texture "cloth-bump-base" "float" "fbm"
  50. Texture "cloth-bump" "float" "scale" "texture tex1" "cloth-bump-base" "float tex2" .025
  51. TransformEnd
  52. MakeNamedMaterial "blanc_drap"
  53. "string type" [ "matte" ]
  54. "rgb Kd" [ 0.6 .6 .6 ]
  55. "texture bumpmap" "cloth-bump"
  56. Texture "wood" "color" "imagemap" "string filename" "textures/WoodFine0016_L.png"
  57. MakeNamedMaterial "bois_"
  58. "float uroughness" [ 0.003 ]
  59. "float vroughness" [ 0.003 ]
  60. "string type" [ "substrate" ]
  61. "texture Kd" "wood"
  62. "rgb Ks" [ 0.2 0.2 0.2 ]
  63. # objects on shelves
  64. MakeNamedMaterial "bois_ebene"
  65. "float sigma" [ 10 ]
  66. "string type" [ "matte" ]
  67. "rgb Kd" [ .1 .1 .1 ]
  68. # small bottle by the tub
  69. MakeNamedMaterial "etiquette"
  70. "float uroughness" [ 0.0104080001 ]
  71. "float vroughness" [ 0.0104080001 ]
  72. "string type" [ "glass" ]
  73. # black seam around top of tub
  74. MakeNamedMaterial "jointure_noire"
  75. "float roughness" [ 0.1 ]
  76. "string type" [ "plastic" ]
  77. "rgb Kd" [ .04 .04 .04 ]
  78. "rgb Ks" [ 0.5 0.5 0.5 ]
  79. # walls
  80. MakeNamedMaterial "latte"
  81. #"string type" "fourier" "string bsdffile" "bsdfs/ceramic.bsdf"
  82. "string type" "matte"
  83. "color Kd" [ .55 .5 .5 ]
  84. "float sigma" 20
  85. MakeNamedMaterial "lumiere_cadre"
  86. "float roughness" [ 0.0104080001 ]
  87. "float index" [ 1 ]
  88. "string type" [ "uber" ]
  89. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  90. "rgb Ks" [ 0.5 0.5 0.5 ]
  91. "rgb Kt" [ 0 0 0 ]
  92. "rgb opacity" [ 1 1 1 ]
  93. # metal trashcan
  94. MakeNamedMaterial "metal_poubelle"
  95. "spectrum eta" "spds/Ag.eta.spd"
  96. "spectrum k" "spds/Ag.k.spd"
  97. "float roughness" [0.001]
  98. "string type" ["metal"]
  99. # metal faucets, bars, drain in sink, ...
  100. MakeNamedMaterial "metal_vis.001"
  101. "spectrum eta" "spds/Ag.eta.spd"
  102. "spectrum k" "spds/Ag.k.spd"
  103. "float roughness" [0.01]
  104. "string type" ["metal"]
  105. MakeNamedMaterial "mirror"
  106. "string type" [ "mirror" ]
  107. # walls, painted wood shelves by the window
  108. MakeNamedMaterial "mur_blanc"
  109. "string type" "fourier" "string bsdffile" "bsdfs/paint.bsdf"
  110. # wall on the right
  111. MakeNamedMaterial "mur_droit"
  112. "string type" "fourier" "string bsdffile" "bsdfs/paint.bsdf"
  113. # black scale? on floor
  114. MakeNamedMaterial "noir"
  115. "float roughness" [ 0.5 ]
  116. "float index" [ 1 ]
  117. "string type" [ "uber" ]
  118. "rgb Kd" [ .1 .1 .1 ]
  119. "rgb Ks" [ 0.5 0.5 0.5 ]
  120. # plastic bit at top of bottle by bathrub
  121. MakeNamedMaterial "plastique"
  122. "float roughness" [ 0.0104080001 ]
  123. "float index" [ 1 ]
  124. "string type" [ "uber" ]
  125. "rgb Kd" [ .2 .6 .2 ]
  126. "rgb Ks" [ 0.5 0.5 0.5 ]
  127. "rgb Kt" [ 0 0 0 ]
  128. "rgb opacity" [ 1 1 1 ]
  129. # trash can plastic part, also plastic on outlet
  130. MakeNamedMaterial "plastique_poubelle"
  131. "float sigma" [ 20 ]
  132. "string type" [ "matte" ]
  133. "rgb Kd" [ .02 .02 .02 ]
  134. # middle part of squiggly sculpture on shelf
  135. MakeNamedMaterial "poignée_marron"
  136. "float roughness" [ 0.0104080001 ]
  137. "float index" [ 1 ]
  138. "string type" [ "uber" ]
  139. "rgb Kd" [ .3 .5 .4 ]
  140. "rgb Ks" [ 0.5 0.5 0.5 ]
  141. "rgb Kt" [ 0 0 0 ]
  142. "rgb opacity" [ 1 1 1 ]
  143. # porcelain: sink bowls, interior of bathrub
  144. MakeNamedMaterial "porcelaine.002"
  145. "string type" "fourier" "string bsdffile" "bsdfs/ceramic.bsdf"
  146. # floor
  147. Texture "wood-floor" "color" "imagemap" "string filename" "textures/WoodFine0034_7_S.png"
  148. MakeNamedMaterial "sol"
  149. "float roughness" [ 0.0104080001 ]
  150. "float index" [ 1 ]
  151. "string type" [ "uber" ]
  152. # "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  153. "texture Kd" "wood-floor"
  154. "rgb Ks" [ 0.5 0.5 0.5 ]
  155. "rgb Kt" [ 0 0 0 ]
  156. "rgb opacity" [ 1 1 1 ]
  157. # bottle by bathtub
  158. MakeNamedMaterial "verre"
  159. "float roughness" [ 0.0104080001 ]
  160. "float index" [ 1 ]
  161. "string type" [ "uber" ]
  162. "rgb Kd" [ 0.639999986 0.639999986 0.639999986 ]
  163. "rgb Ks" [ 0.5 0.5 0.5 ]
  164. "rgb Kt" [ 0 0 0 ]
  165. "rgb opacity" [ 1 1 1 ]
  166. ###########################################################################
  167. AttributeBegin
  168. NamedMaterial "etiquette"
  169. Shape "plymesh" "string filename" "geometry/mesh_00002.ply"
  170. NamedMaterial "plastique"
  171. Shape "plymesh" "string filename" "geometry/mesh_00003.ply"
  172. NamedMaterial "verre"
  173. Shape "plymesh" "string filename" "geometry/mesh_00004.ply"
  174. AttributeEnd
  175. AttributeBegin
  176. NamedMaterial "metal_vis.001"
  177. Shape "plymesh" "string filename" "geometry/mesh_00005.ply"
  178. AttributeEnd
  179. AttributeBegin
  180. NamedMaterial "metal_vis.001"
  181. Shape "plymesh" "string filename" "geometry/mesh_00006.ply"
  182. AttributeEnd
  183. AttributeBegin
  184. NamedMaterial "metal_vis.001"
  185. Shape "plymesh" "string filename" "geometry/mesh_00007.ply"
  186. AttributeEnd
  187. AttributeBegin
  188. NamedMaterial "blanc_drap"
  189. Shape "plymesh" "string filename" "geometry/mesh_00011.ply"
  190. AttributeEnd
  191. AttributeBegin
  192. NamedMaterial "metal_vis.001"
  193. Shape "plymesh" "string filename" "geometry/mesh_00012.ply"
  194. AttributeEnd
  195. AttributeBegin
  196. NamedMaterial "bois_ebene"
  197. Shape "plymesh" "string filename" "geometry/mesh_00013.ply"
  198. AttributeEnd
  199. AttributeBegin
  200. NamedMaterial "bois_ebene"
  201. Shape "plymesh" "string filename" "geometry/mesh_00014.ply"
  202. AttributeEnd
  203. AttributeBegin
  204. NamedMaterial "bois_ebene"
  205. Shape "plymesh" "string filename" "geometry/mesh_00015.ply"
  206. AttributeEnd
  207. AttributeBegin
  208. NamedMaterial "bois_ebene"
  209. Shape "plymesh" "string filename" "geometry/mesh_00016.ply"
  210. AttributeEnd
  211. AttributeBegin
  212. NamedMaterial "bois_ebene"
  213. Shape "plymesh" "string filename" "geometry/mesh_00017.ply"
  214. NamedMaterial "poignée_marron"
  215. Shape "plymesh" "string filename" "geometry/mesh_00018.ply"
  216. AttributeEnd
  217. AttributeBegin
  218. NamedMaterial "lumiere_cadre"
  219. Shape "plymesh" "string filename" "geometry/mesh_00019.ply"
  220. NamedMaterial "mur_blanc"
  221. Shape "plymesh" "string filename" "geometry/mesh_00020.ply"
  222. AttributeEnd
  223. AttributeBegin
  224. NamedMaterial "bois_ebene"
  225. Shape "plymesh" "string filename" "geometry/mesh_00021.ply"
  226. AttributeEnd
  227. AttributeBegin
  228. NamedMaterial "mur_blanc"
  229. Shape "plymesh" "string filename" "geometry/mesh_00022.ply"
  230. AttributeEnd
  231. AttributeBegin
  232. NamedMaterial "mur_blanc"
  233. Shape "plymesh" "string filename" "geometry/mesh_00023.ply"
  234. AttributeEnd
  235. AttributeBegin
  236. NamedMaterial "metal_vis.001"
  237. Shape "plymesh" "string filename" "geometry/mesh_00024.ply"
  238. AttributeEnd
  239. AttributeBegin
  240. NamedMaterial "metal_vis.001"
  241. Shape "plymesh" "string filename" "geometry/mesh_00025.ply"
  242. AttributeEnd
  243. AttributeBegin
  244. NamedMaterial "mur_blanc"
  245. Shape "plymesh" "string filename" "geometry/mesh_00026.ply"
  246. AttributeEnd
  247. AttributeBegin
  248. NamedMaterial "mur_blanc"
  249. Shape "plymesh" "string filename" "geometry/mesh_00027.ply"
  250. AttributeEnd
  251. AttributeBegin
  252. NamedMaterial "blanc"
  253. Shape "plymesh" "string filename" "geometry/mesh_00028.ply"
  254. NamedMaterial "noir"
  255. Shape "plymesh" "string filename" "geometry/mesh_00029.ply"
  256. AttributeEnd
  257. AttributeBegin
  258. NamedMaterial "metal_vis.001"
  259. Shape "plymesh" "string filename" "geometry/mesh_00030.ply"
  260. AttributeEnd
  261. AttributeBegin
  262. NamedMaterial "metal_vis.001"
  263. Shape "plymesh" "string filename" "geometry/mesh_00031.ply"
  264. AttributeEnd
  265. AttributeBegin
  266. NamedMaterial "metal_vis.001"
  267. Shape "plymesh" "string filename" "geometry/mesh_00032.ply"
  268. AttributeEnd
  269. AttributeBegin
  270. NamedMaterial "metal_vis.001"
  271. Shape "plymesh" "string filename" "geometry/mesh_00033.ply"
  272. AttributeEnd
  273. AttributeBegin
  274. NamedMaterial "metal_vis.001"
  275. Shape "plymesh" "string filename" "geometry/mesh_00034.ply"
  276. AttributeEnd
  277. AttributeBegin
  278. NamedMaterial "metal_vis.001"
  279. Shape "plymesh" "string filename" "geometry/mesh_00035.ply"
  280. NamedMaterial "mirror"
  281. Shape "plymesh" "string filename" "geometry/mesh_00036.ply"
  282. AttributeEnd
  283. AttributeBegin
  284. NamedMaterial "blanc_drap"
  285. Shape "plymesh" "string filename" "geometry/mesh_00037.ply"
  286. AttributeEnd
  287. AttributeBegin
  288. NamedMaterial "metal_vis.001"
  289. Shape "plymesh" "string filename" "geometry/mesh_00038.ply"
  290. AttributeEnd
  291. AttributeBegin
  292. NamedMaterial "metal_vis.001"
  293. Shape "plymesh" "string filename" "geometry/mesh_00039.ply"
  294. NamedMaterial "plastique_poubelle"
  295. Shape "plymesh" "string filename" "geometry/mesh_00040.ply"
  296. AttributeEnd
  297. AttributeBegin
  298. NamedMaterial "metal_vis.001"
  299. Shape "plymesh" "string filename" "geometry/mesh_00041.ply"
  300. AttributeEnd
  301. AttributeBegin
  302. NamedMaterial "metal_vis.001"
  303. Shape "plymesh" "string filename" "geometry/mesh_00042.ply"
  304. AttributeEnd
  305. AttributeBegin
  306. NamedMaterial "blanc_drap"
  307. Shape "plymesh" "string filename" "geometry/mesh_00043.ply"
  308. AttributeEnd
  309. AttributeBegin
  310. NamedMaterial "blanc_drap"
  311. Shape "plymesh" "string filename" "geometry/mesh_00044.ply"
  312. AttributeEnd
  313. AttributeBegin
  314. NamedMaterial "metal_poubelle"
  315. Shape "plymesh" "string filename" "geometry/mesh_00045.ply"
  316. NamedMaterial "plastique_poubelle"
  317. Shape "plymesh" "string filename" "geometry/mesh_00046.ply"
  318. AttributeEnd
  319. AttributeBegin
  320. NamedMaterial "metal_vis.001"
  321. Shape "plymesh" "string filename" "geometry/mesh_00047.ply"
  322. AttributeEnd
  323. AttributeBegin
  324. NamedMaterial "metal_vis.001"
  325. Shape "plymesh" "string filename" "geometry/mesh_00048.ply"
  326. AttributeEnd
  327. AttributeBegin
  328. NamedMaterial "metal_vis.001"
  329. Shape "plymesh" "string filename" "geometry/mesh_00049.ply"
  330. AttributeEnd
  331. AttributeBegin
  332. NamedMaterial "metal_vis.001"
  333. Shape "plymesh" "string filename" "geometry/mesh_00050.ply"
  334. AttributeEnd
  335. AttributeBegin
  336. NamedMaterial "metal_vis.001"
  337. Shape "plymesh" "string filename" "geometry/mesh_00051.ply"
  338. AttributeEnd
  339. AttributeBegin
  340. NamedMaterial "metal_vis.001"
  341. Shape "plymesh" "string filename" "geometry/mesh_00052.ply"
  342. AttributeEnd
  343. AttributeBegin
  344. NamedMaterial "porcelaine.002"
  345. Shape "plymesh" "string filename" "geometry/mesh_00053.ply"
  346. AttributeEnd
  347. AttributeBegin
  348. NamedMaterial "porcelaine.002"
  349. Shape "plymesh" "string filename" "geometry/mesh_00054.ply"
  350. AttributeEnd
  351. AttributeBegin
  352. NamedMaterial "lumiere_cadre"
  353. Shape "plymesh" "string filename" "geometry/mesh_00055.ply"
  354. NamedMaterial "mur_blanc"
  355. Shape "plymesh" "string filename" "geometry/mesh_00056.ply"
  356. AttributeEnd
  357. AttributeBegin
  358. NamedMaterial "bois_"
  359. Shape "plymesh" "string filename" "geometry/mesh_00057.ply"
  360. AttributeEnd
  361. AttributeBegin
  362. NamedMaterial "bois_"
  363. Shape "plymesh" "string filename" "geometry/mesh_00058.ply"
  364. NamedMaterial "jointure_noire"
  365. Shape "plymesh" "string filename" "geometry/mesh_00059.ply"
  366. NamedMaterial "porcelaine.002"
  367. Shape "plymesh" "string filename" "geometry/mesh_00060.ply"
  368. AttributeEnd
  369. AttributeBegin
  370. NamedMaterial "bois_"
  371. Shape "plymesh" "string filename" "geometry/mesh_00061.ply"
  372. AttributeEnd
  373. AttributeBegin
  374. NamedMaterial "latte"
  375. Shape "plymesh" "string filename" "geometry/mesh_00063.ply"
  376. NamedMaterial "mirror"
  377. Shape "plymesh" "string filename" "geometry/mesh_00064.ply"
  378. NamedMaterial "mur_blanc"
  379. Shape "plymesh" "string filename" "geometry/mesh_00065.ply"
  380. NamedMaterial "mur_droit"
  381. Shape "plymesh" "string filename" "geometry/mesh_00066.ply"
  382. NamedMaterial "sol"
  383. Shape "plymesh" "string filename" "geometry/mesh_00067.ply"
  384. AttributeEnd
  385. AttributeBegin
  386. NamedMaterial "bois_"
  387. Shape "plymesh" "string filename" "geometry/mesh_00068.ply"
  388. AttributeEnd
  389. WorldEnd