sphere-hairblock.pbrt 728 B

1234567891011121314151617181920212223242526272829303132333435
  1. Film "image" "string filename" "sphere-hairblock.exr"
  2. "integer xresolution" 1000 "integer yresolution" 500
  3. "float scale" .5
  4. LookAt 2 -3 1.2 1.25 .3 .5 0 0 1
  5. Camera "perspective" "float fov" 23
  6. Sampler "sobol" "integer pixelsamples" 1024
  7. Integrator "path" "integer maxdepth" 32
  8. WorldBegin
  9. LightSource "infinite"
  10. AttributeBegin
  11. Material "hair" "rgb color" [ .2 .8 .3 ]
  12. "float beta_m" .3 "float beta_n" .8
  13. Include "models/block.pbrt"
  14. AttributeEnd
  15. AttributeBegin
  16. Translate 2 .5 .5
  17. Material "matte" "rgb Kd" [ .2 .8 .3 ]
  18. Shape "sphere" "float radius" .5
  19. AttributeEnd
  20. AttributeBegin
  21. Material "matte" "rgb Kd" [.1 .1 .1]
  22. Translate 0 5 0
  23. Rotate 90 1 0 0
  24. Shape "disk" "float radius" 10
  25. AttributeEnd
  26. WorldEnd