pavilion-night.pbrt 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Film "image"
  2. "integer xresolution" 1600 "integer yresolution" 850
  3. # "integer xresolution" 800 "integer yresolution" 425
  4. "string filename" "pavilion-night.exr"
  5. "float scale" 2.5
  6. "float maxsampleluminance" 10
  7. # imgtool convert -bloomlevel 3 -bloomscale .05 pavilion-night.exr pavilion-night.png
  8. Scale -1 1 1
  9. LookAt -10 2.25 10 7 1.75 -3 0 1 0
  10. Camera "perspective" "float fov" 45
  11. "float focaldistance" 15 "float lensradius" .01
  12. # above view
  13. #LookAt -10 100 10 -10 0 10 1 0 0
  14. #Camera "perspective" "float fov" 60
  15. Sampler "sobol" "integer pixelsamples" 2048
  16. #Sampler "sobol" "integer pixelsamples" 16
  17. Integrator "bdpt"
  18. WorldBegin
  19. AttributeBegin
  20. Rotate -10 0 0 1
  21. Rotate -140 0 1 0
  22. Rotate -90 1 0 0
  23. LightSource "infinite" "string mapname" "textures/night.exr"
  24. "rgb L" [.5 .5 .5]
  25. AttributeEnd
  26. # back room light; not directly visible
  27. AttributeBegin
  28. AreaLightSource "diffuse" "blackbody L" [3500 750]
  29. Translate 10 4 2.5
  30. Shape "sphere" "float radius" .1
  31. AttributeEnd
  32. # visible light, behind door
  33. AttributeBegin
  34. AreaLightSource "diffuse" "blackbody L" [3500 75]
  35. Translate 12 4 5.5
  36. Shape "sphere" "float radius" .05
  37. AttributeEnd
  38. AttributeBegin
  39. # Candles inside floating wood lanterns
  40. AreaLightSource "diffuse" "blackbody L" [2500 25000]
  41. Shape "plymesh" "string filename" "geometry/mesh_00005.ply"
  42. # Lights in lanterns that aren't visible in the default view
  43. # Shape "plymesh" "string filename" "geometry/mesh_00003.ply"
  44. # Shape "plymesh" "string filename" "geometry/mesh_00015.ply"
  45. # Shape "plymesh" "string filename" "geometry/mesh_00017.ply"
  46. # Shape "plymesh" "string filename" "geometry/mesh_00021.ply"
  47. # Shape "plymesh" "string filename" "geometry/mesh_00023.ply"
  48. AttributeEnd
  49. # Converted from "pavillon_barcelone_v1.2.obj" by obj2pbrt
  50. # Scene bounds: (-44.940453, -2.236825, -44.940453) - (97.870842, 5.186341, 44.940453)
  51. Include "materials.pbrt"
  52. Include "geometry.pbrt"
  53. WorldEnd