teapot-metal.pbrt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. LookAt 18 5.5 2 15.5 .9 10 0 1 0
  2. Camera "perspective" "float fov" [40]
  3. Sampler "lowdiscrepancy" "integer pixelsamples" [4]
  4. PixelFilter "box"
  5. Film "image" "integer xresolution" [800] "integer yresolution" [800]
  6. "string filename" "teapot-metal.exr"
  7. #Integrator "mlt" "integer mutationsperpixel" 1000
  8. Sampler "sobol" "integer pixelsamples" 512
  9. Integrator "bdpt"
  10. WorldBegin
  11. # lights
  12. AttributeBegin
  13. #Rotate -90 1 0 0
  14. LightSource "infinite" "integer nsamples" [16] "color L" [1 1 1]
  15. "string mapname" ["textures/uffizi_latlong.exr"]
  16. AttributeEnd
  17. #floor
  18. Texture "tmap" "color" "imagemap" "string filename" "textures/buildingblock.png"
  19. "float uscale" 60 "float vscale" 60
  20. Texture "tbump-tex" "float" "imagemap" "string filename" "textures/buildingblock.png"
  21. "float uscale" 60 "float vscale" 60
  22. Texture "sbump" "float" "scale" "texture tex1" "tbump-tex"
  23. "float tex2" [-.25]
  24. Material "substrate" "texture Kd" "tmap"
  25. "color Ks" [.5 .5 .5] "float uroughness" [.05]
  26. "float vroughness" [.05]
  27. "texture bumpmap" "sbump"
  28. Shape "trianglemesh" "integer indices" [0 1 2 0 3 2 ]
  29. "point P" [ -100 0 -100 100 0 -100 100 0 100 -100 0 100 ]
  30. AttributeBegin
  31. Material "metal" "float roughness" [.001]
  32. "spectrum eta" "spds/Au.eta.spd"
  33. "spectrum k" "spds/Au.k.spd"
  34. Translate 15 0 10
  35. Scale 1.25 1.25 1.25
  36. Include "geometry/room-teapot.pbrt"
  37. AttributeEnd
  38. WorldEnd