contemporary-bathroom.pbrt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Film "image"
  2. "integer xresolution" 400 "integer yresolution" 400
  3. # "integer xresolution" 500 "integer yresolution" 500
  4. "integer xresolution" 800 "integer yresolution" 800
  5. "string filename" "contemporary-bathroom.exr"
  6. "float scale" 3
  7. "float maxsampleluminance" 50
  8. # imgtool convert -bloomlevel 500 -bloomscale .005 contemporary-bathroom.{exr,png}
  9. Scale -1 1 1
  10. LookAt 0 1.25 -.5 -10 0 -9 0 1 0
  11. Camera "perspective" "float fov" 65
  12. Sampler "sobol" "integer pixelsamples" 8192
  13. Integrator "bdpt" "integer maxdepth" 10
  14. WorldBegin
  15. ###########################################################################
  16. # lights
  17. # window
  18. AttributeBegin
  19. NamedMaterial "light"
  20. AreaLightSource "diffuse" "blackbody L" [6500 10]
  21. Shape "plymesh" "string filename" "geometry/mesh_00023.ply"
  22. AttributeEnd
  23. AttributeBegin
  24. Rotate 125 0 1 0 # 125 -> ~100 is more straight through the window
  25. Rotate -90 1 0 0
  26. # imgtool makesky -turbidity 5 -elevation 30 --outfile textures/sky.exr
  27. #LightSource "infinite" "string mapname" "textures/sky.exr"
  28. # "rgb L" [270 270 270]
  29. AttributeEnd
  30. # filaments in light bulbs
  31. AttributeBegin
  32. NamedMaterial "low_light"
  33. AreaLightSource "diffuse" "blackbody L" [ 4000 7000 ]
  34. Shape "plymesh" "string filename" "geometry/mesh_00060.ply"
  35. Shape "plymesh" "string filename" "geometry/mesh_00061.ply"
  36. Shape "plymesh" "string filename" "geometry/mesh_00066.ply"
  37. Shape "plymesh" "string filename" "geometry/mesh_00881.ply"
  38. AttributeEnd
  39. ###########################################################################
  40. Include "materials.pbrt"
  41. Include "geometry.pbrt"
  42. WorldEnd