bathroom.pbrt 13 KB

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