breakfast-lamps.pbrt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # Main Scene File
  2. LookAt -0.623726 -7.587055 1.204726 -0.623726 -6.587055 1.204728 0.000000 -0.000002 1.000000
  3. # table view (teacups need smoothing, marble is lame)
  4. #LookAt 2 -2 4 1.25 0 2.5 0 0 1
  5. Camera "perspective"
  6. "float fov" [49.134342077604479]
  7. Film "image"
  8. "integer xresolution" [1024]
  9. "integer yresolution" [1024]
  10. "string filename" "breakfast-lamps.exr"
  11. "float scale" 2
  12. # imgtool convert --bloomscale .025 --bloomlevel 5 breakfast-lamps.exr breakfast-lamps.png
  13. Sampler "sobol" "integer pixelsamples" 4096
  14. Integrator "bdpt"
  15. WorldBegin
  16. Include "materials.pbrt"
  17. Include "geometry.pbrt"
  18. # inside lamps
  19. AttributeBegin
  20. Translate .951 1.94 3.90
  21. AreaLightSource "diffuse" "blackbody L" [5000 500]
  22. Shape "sphere" "float radius" .1
  23. AttributeEnd
  24. AttributeBegin
  25. Translate -2.191 1.944 3.90
  26. AreaLightSource "diffuse" "blackbody L" [5000 500]
  27. Shape "sphere" "float radius" .1
  28. AttributeEnd
  29. # extra walls
  30. AttributeBegin
  31. NamedMaterial "Paint - White Matt"
  32. # right: x = -6.5 plane
  33. Shape "trianglemesh" "integer indices" [0 1 2 0 2 3 ]
  34. "point P" [ -6.5 -10 -2 -6.5 10 -2 -6.5 10 7 -6.5 -10 7 ]
  35. # back: y = -9 plane
  36. Shape "trianglemesh" "integer indices" [0 1 2 0 2 3]
  37. "point P" [ -10 -9 -2 10 -9 -2 10 -9 7 -10 -9 7 ]
  38. AttributeEnd
  39. WorldEnd