p3d_contemporary-bathroom-view1.pbrt 1.5 KB

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