spotfog.pbrt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. MakeNamedMedium "vol"
  2. "string type" [ "homogeneous" ]
  3. "color sigma_a" [.05 .05 .05 ]
  4. "color sigma_s" [.1 .1 .1]
  5. MediumInterface "" "vol"
  6. Film "image"
  7. "integer xresolution" [700] "integer yresolution" [500]
  8. "string filename" "spotfog.exr"
  9. PixelFilter "gaussian"
  10. Rotate 5 1 0 0
  11. Camera "perspective" "float fov" [70]
  12. Sampler "02sequence" "integer pixelsamples" [256]
  13. Integrator "bdpt" "integer maxdepth" 8
  14. ###########################################################################
  15. WorldBegin
  16. Translate -1 -1 3
  17. AttributeBegin
  18. LightSource "spot" "point from" [-3 6 -2 ] "point to" [0 2 0 ]
  19. "color I" [2500 2500 2500 ] "float coneangle" [16]
  20. AttributeEnd
  21. AttributeBegin
  22. Material "matte" "color Kd" [.07 .07 .07]
  23. Translate 0 2 -.3
  24. Shape "sphere" "float radius" [.5]
  25. AttributeEnd
  26. Material "matte" "color Kd" [.2 .2 .3 ] # 3 .3 .45] # 6 .6 .9 ]
  27. Shape "trianglemesh" "integer indices" [0 1 2 2 3 0]
  28. "point P" [ -5 0 -5 5 0 -5 5 0 5 -5 0 5]
  29. Shape "trianglemesh" "integer indices" [0 1 2 2 3 0]
  30. "point P" [ -5 0 3 5 0 3 5 10 3 -5 10 3 ]
  31. Shape "trianglemesh" "integer indices" [0 1 2 2 3 0]
  32. "point P" [ 5 0 3 5 0 -3 5 10 -3 5 10 3]
  33. WorldEnd