bump-sphere.pbrt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Film "image"
  2. "integer xresolution" [900] "integer yresolution" [900]
  3. "string filename" "bump-sphere.exr"
  4. Sampler "halton" "integer pixelsamples" [512]
  5. LookAt 0 3 8 0 .8 0 0 1 0
  6. Camera "perspective" "float fov" [22]
  7. WorldBegin
  8. AttributeBegin
  9. CoordSysTransform "camera"
  10. AreaLightSource "diffuse" "color L" [12 12 12 ]
  11. Translate 0 2 -10
  12. Material "matte" "color Kd" [ 0 0 0 ]
  13. Shape "disk" "float radius" [3]
  14. AttributeEnd
  15. AttributeBegin
  16. AreaLightSource "diffuse" "color L" [2 2 2]
  17. Translate 0 10 2
  18. Rotate 90 1 0 0
  19. Material "matte" "color Kd" [ 0 0 0 ]
  20. Shape "disk" "float radius" [10]
  21. AttributeEnd
  22. AttributeBegin
  23. Material "matte" "color Kd" [.8 .8 .8 ]
  24. Shape "trianglemesh" "integer indices" [ 0 1 2 2 0 3 ]
  25. "point P" [-10 0 -10 10 0 -10 10 0 10 -10 0 10 ]
  26. Shape "trianglemesh" "integer indices" [ 0 1 2 2 0 3 ]
  27. "point P" [-10 0 -10 10 0 -10 10 9 -10 -10 9 -10 ]
  28. Shape "trianglemesh" "integer indices" [ 0 1 2 2 0 3 ]
  29. "point P" [-10 0 -10 -10 0 10 -10 9 10 -10 9 -10 ]
  30. AttributeEnd
  31. Texture "bump" "float" "imagemap" "string filename" ["textures/lines.png"]
  32. Texture "sbump" "float" "scale" "texture tex1" "bump" "float tex2" [-.1]
  33. Material "uber" "color Kd" [.8 .7 .4 ] "color Ks" [.05 .05 .05]
  34. "float roughness" [.01] "texture bumpmap" "sbump"
  35. AttributeBegin
  36. Translate 0 1 0
  37. Rotate 60 1 1 1
  38. Shape "sphere"
  39. AttributeEnd
  40. WorldEnd