dof-dragons.pbrt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Film "image"
  2. "integer xresolution" [1000] "integer yresolution" [424]
  3. "string filename" "dof-dragons.exr"
  4. Sampler "sobol" "integer pixelsamples" [512]
  5. #LookAt 2.3 .1 -.7 .4 0 -.9 0 1 0
  6. Rotate -3 1 0 0
  7. Rotate 52 0 1 0
  8. Translate -2.3 -.05 .5
  9. Camera "perspective" "float fov" [30]
  10. "float focaldistance" [.75]
  11. #"float lensradius" [.02]
  12. "float lensradius" [.0075]
  13. #"float lensradius" [.002]
  14. WorldBegin
  15. AttributeBegin
  16. AreaLightSource "diffuse" "color L" [4 4 4] "integer nsamples" [128]
  17. Translate 0 10 0
  18. Rotate 90 1 0 0
  19. #Shape "disk" "float radius" [8]
  20. AttributeEnd
  21. AttributeBegin
  22. Rotate 270 0 1 0
  23. Rotate -90 1 0 0
  24. # LightSource "infinite" "string mapname" "textures/uffizi_latlong.exr"
  25. LightSource "infinite" "rgb L" [ .9 .8 1 ]
  26. AttributeEnd
  27. Texture "grid" "color" "imagemap" "string filename" ["textures/lines.png"]
  28. Texture "sgrid" "color" "scale" "texture tex1" "grid" "color tex2" [ .5 .5 .5 ]
  29. Material "matte" "texture Kd" "sgrid"
  30. Shape "trianglemesh" "point P" [ -4 0 -4 4 0 -4 4 0 4 -4 0 4 ]
  31. "float uv" [ 0 0 5 0 5 5 0 5 ]
  32. "integer indices" [ 0 1 2 2 3 0]
  33. ObjectBegin "dragon-b"
  34. Material "fourier" "string bsdffile" "bsdfs/roughglass_alpha_0.2.bsdf"
  35. Translate 0 -.05272 0
  36. Translate -.01 0 0
  37. Rotate -10 0 1 0
  38. Translate .01 0 0
  39. Shape "plymesh" "string filename" "geometry/dragon.ply"
  40. ObjectEnd
  41. ObjectBegin "dragon-a"
  42. Material "fourier" "string bsdffile" "bsdfs/roughgold_alpha_0.2.bsdf"
  43. Translate 0 -.05272 0
  44. Translate -.01 0 0
  45. Rotate -17 0 1 0
  46. Translate .01 0 0
  47. Shape "plymesh" "string filename" "geometry/dragon.ply"
  48. ObjectEnd
  49. Translate -.6 0 0
  50. ObjectInstance "dragon-b"
  51. Translate .26 0 0
  52. ObjectInstance "dragon-a"
  53. Translate .26 0 0
  54. ObjectInstance "dragon-b"
  55. Translate .26 0 0
  56. ObjectInstance "dragon-a"
  57. Translate .26 0 0
  58. ObjectInstance "dragon-b"
  59. Translate .26 0 0
  60. ObjectInstance "dragon-a"
  61. Translate .26 0 0
  62. ObjectInstance "dragon-b"
  63. Translate .26 0 0
  64. ObjectInstance "dragon-a"
  65. Translate .26 0 0
  66. ObjectInstance "dragon-b"
  67. Translate .26 0 0
  68. ObjectInstance "dragon-a"
  69. Translate .26 0 0
  70. ObjectInstance "dragon-b"
  71. WorldEnd