p3d_bathroom-stereoscopic-left.pbrt 13 KB

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