p3d_contemporary-bathroom.pbrt 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Film "image"
  2. "integer xresolution" 400 "integer yresolution" 400
  3. # "integer xresolution" 500 "integer yresolution" 500
  4. "integer xresolution" 1000 "integer yresolution" 1000
  5. "string filename" "p3d_contemporary-bathroom.rawls"
  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. Camera "perspective" "float fov" 75.0
  13. Sampler "random" "integer pixelsamples" [ 64 ]
  14. Integrator "path" "integer maxdepth" [ 65 ]
  15. WorldBegin
  16. ###########################################################################
  17. # lights
  18. # window
  19. AttributeBegin
  20. NamedMaterial "light"
  21. AreaLightSource "diffuse" "blackbody L" [6500 10]
  22. Shape "plymesh" "string filename" "geometry/mesh_00023.ply"
  23. AttributeEnd
  24. AttributeBegin
  25. Rotate 125 0 1 0 # 125 -> ~100 is more straight through the window
  26. Rotate -90 1 0 0
  27. # imgtool makesky -turbidity 5 -elevation 30 --outfile textures/sky.exr
  28. #LightSource "infinite" "string mapname" "textures/sky.exr"
  29. # "rgb L" [270 270 270]
  30. AttributeEnd
  31. # filaments in light bulbs
  32. AttributeBegin
  33. NamedMaterial "low_light"
  34. AreaLightSource "diffuse" "blackbody L" [ 4000 7000 ]
  35. Shape "plymesh" "string filename" "geometry/mesh_00060.ply"
  36. Shape "plymesh" "string filename" "geometry/mesh_00061.ply"
  37. Shape "plymesh" "string filename" "geometry/mesh_00066.ply"
  38. Shape "plymesh" "string filename" "geometry/mesh_00881.ply"
  39. AttributeEnd
  40. ###########################################################################
  41. Include "materials.pbrt"
  42. Include "geometry.pbrt"
  43. WorldEnd