disney-cloud.pbrt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Integrator "volpath" "integer maxdepth" [100]
  2. Sampler "sobol" "integer pixelsamples" [1024]
  3. Film "rgb"
  4. "integer xresolution" [1280]
  5. "integer yresolution" [720]
  6. "string filename" "disney-cloud-720p.exr"
  7. #"integer xresolution" [1998]
  8. #"integer yresolution" [1080]
  9. #"string filename" "disney-cloud-hd.exr"
  10. #Reverse X axis.
  11. Scale -1 1 1
  12. LookAt
  13. #Eye
  14. 648.064 -82.473 -63.856
  15. #Target
  16. 6.021 100.043 -43.679
  17. #Up vector
  18. 0.273 0.962 -0.009
  19. #Converting fov according to the height/width ratio: 31.07 = 360/(2*PI) * 2*arctan(180/333*tan(54.43 * PI/360)).
  20. Camera "perspective" "float fov" [31.07]
  21. WorldBegin
  22. #Uniform illumination from all directions.
  23. LightSource "infinite" "rgb L" [0.03 0.07 0.23]
  24. #Approximate the sun.
  25. LightSource "distant"
  26. "point3 to" [-0.5826 -0.7660 -0.2717]
  27. "rgb L" [2.6 2.5 2.3]
  28. AttributeBegin
  29. Translate 0 -1000 0
  30. Scale 2000 2000 2000
  31. Rotate -90 1 0 0
  32. Material "diffuse" "spectrum reflectance" [200 0.2 900 0.2]
  33. Shape "disk"
  34. AttributeEnd
  35. AttributeBegin
  36. MakeNamedMedium "cloud" "string type" "nanovdb"
  37. "string filename" "wdas_cloud_quarter.nvdb"
  38. "spectrum sigma_a" [200 0 900 0]
  39. "spectrum sigma_s" [200 1 900 1]
  40. "float g" [0.877]
  41. "float scale" [4]
  42. AttributeBegin
  43. Translate -9.984 73.008 -42.64
  44. Scale 206.544 140.4 254.592
  45. Material ""
  46. MediumInterface "cloud" ""
  47. #Bounding sphere of a unit cube (of diameter equal to the cubic root of 3).
  48. Shape "sphere" "float radius" [1.44224957031]
  49. AttributeEnd
  50. AttributeEnd