contemporary-bathroom.pbrt 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # "integer xresolution" 500 "integer yresolution" 500
  2. # imgtool convert -bloomlevel 3 -bloomscale .1 contemporary-bathroom.{exr,png}
  3. Film "rgb"
  4. "float maxcomponentvalue" [ 50 ]
  5. "float iso" [ 600 ]
  6. "string filename" [ "contemporary-bathroom.exr" ]
  7. "integer yresolution" [ 1200 ]
  8. "integer xresolution" [ 1200 ]
  9. Scale -1 1 1
  10. LookAt 0 1.25 -0.5
  11. -10 0 -9
  12. 0 1 0
  13. Camera "perspective"
  14. "float fov" [ 65 ]
  15. Sampler "halton"
  16. "integer pixelsamples" [ 512 ]
  17. Integrator "sppm"
  18. "integer maxdepth" [ 5 ]
  19. "float radius" 0.02
  20. WorldBegin
  21. ###########################################################################
  22. # lights
  23. # window
  24. AttributeBegin
  25. NamedMaterial "light"
  26. AreaLightSource "diffuse"
  27. "float scale" [10]
  28. "blackbody L" [ 6500 ]
  29. Shape "plymesh"
  30. "string filename" [ "geometry/mesh_00023.ply" ]
  31. AttributeEnd
  32. AttributeBegin
  33. Rotate 125 0 1 0
  34. # 125 -> ~100 is more straight through the window
  35. Rotate -90 1 0 0
  36. # imgtool makesky -turbidity 5 -elevation 30 --outfile textures/sky.exr
  37. #LightSource "infinite" "string mapname" "textures/sky.exr"
  38. # "rgb L" [270 270 270]
  39. AttributeEnd
  40. # filaments in light bulbs
  41. AttributeBegin
  42. NamedMaterial "low_light"
  43. AreaLightSource "diffuse"
  44. "float scale" [7000]
  45. "blackbody L" [ 4000 ]
  46. Shape "plymesh"
  47. "string filename" [ "geometry/mesh_00060.ply" ]
  48. Shape "plymesh"
  49. "string filename" [ "geometry/mesh_00061.ply" ]
  50. Shape "plymesh"
  51. "string filename" [ "geometry/mesh_00066.ply" ]
  52. Shape "plymesh"
  53. "string filename" [ "geometry/mesh_00881.ply" ]
  54. AttributeEnd
  55. ###########################################################################
  56. Include "materials.pbrt"
  57. Include "geometry.pbrt"