contemporary-mur-carreaux.pbrt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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-mur-carreaux.png"
  6. "float scale" 3
  7. "float maxsampleluminance" 50
  8. # imgtool convert -bloomlevel 3 -bloomscale .1 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. Scale -1 1 1
  13. LookAt 0 1.25 -.5 -12 0 -9 0 1 0
  14. Camera "perspective" "float fov" 65.2
  15. #Sampler "sobol" "integer pixelsamples" 8192
  16. #Integrator "bdpt" "integer maxdepth" 10
  17. Sampler "random" "integer pixelsamples" 5
  18. Integrator "path" "integer maxdepth" 10
  19. WorldBegin
  20. ###########################################################################
  21. # lights
  22. # window
  23. AttributeBegin
  24. NamedMaterial "light"
  25. AreaLightSource "diffuse" "blackbody L" [6500 10]
  26. Shape "plymesh" "string filename" "geometry/mesh_00023.ply"
  27. AttributeEnd
  28. AttributeBegin
  29. Rotate 125 0 1 0 # 125 -> ~100 is more straight through the window
  30. Rotate -90 1 0 0
  31. # imgtool makesky -turbidity 5 -elevation 30 --outfile textures/sky.exr
  32. #LightSource "infinite" "string mapname" "textures/sky.exr"
  33. # "rgb L" [270 270 270]
  34. AttributeEnd
  35. # filaments in light bulbs
  36. AttributeBegin
  37. NamedMaterial "low_light"
  38. AreaLightSource "diffuse" "blackbody L" [ 4000 7000 ]
  39. Shape "plymesh" "string filename" "geometry/mesh_00060.ply"
  40. Shape "plymesh" "string filename" "geometry/mesh_00061.ply"
  41. Shape "plymesh" "string filename" "geometry/mesh_00066.ply"
  42. Shape "plymesh" "string filename" "geometry/mesh_00881.ply"
  43. AttributeEnd
  44. ###########################################################################
  45. Include "materials.pbrt"
  46. Include "geometry.pbrt"
  47. WorldEnd