materials.pbrt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. # Materials File
  2. MakeNamedMaterial "Frosted Glass"
  3. "float uroughness" [0.1]
  4. "float vroughness" [0.1]
  5. "string type" ["glass"]
  6. # chair seats, lamp cord and edge bits
  7. MakeNamedMaterial "White Plastic"
  8. "color Kd" [0.5 .5 .5]
  9. "color Ks" [.3 .3 .3]
  10. "float roughness" [0.01]
  11. "string type" ["plastic"]
  12. MakeNamedMaterial "Paint - Black Satin"
  13. "color Kd" [0.02 .02 .02]
  14. "color Ks" [.4 .4 .4]
  15. "float roughness" .2
  16. "string type" ["plastic"]
  17. # teacup exterior
  18. MakeNamedMaterial "Ceramic.001"
  19. "string type" "fourier" "string bsdffile" "bsdfs/ceramic.bsdf"
  20. # teacup rim
  21. MakeNamedMaterial "Gold Paint"
  22. "spectrum eta" "spds/Ag.eta.spd"
  23. "spectrum k" "spds/Ag.k.spd"
  24. "float roughness" [0.01]
  25. "string type" ["metal"]
  26. MakeNamedMaterial "Material.005"
  27. "color Kd" [.5 .5 .5]
  28. "float sigma" [0.000000000000000]
  29. "string type" ["matte"]
  30. # saucers? something on table
  31. MakeNamedMaterial "Material.002"
  32. "color Kd" [.5 .5 .5]
  33. "float sigma" [0.000000000000000]
  34. "string type" ["matte"]
  35. # teapot and pitcher
  36. MakeNamedMaterial "Ceramic"
  37. # "color Kd" [0.7 .7 .7]
  38. # "color Ks" [.4 .4 .4]
  39. # "float roughness" .2
  40. # "string type" ["plastic"]
  41. "string type" "fourier" "string bsdffile" "bsdfs/ceramic.bsdf"
  42. # chair legs
  43. MakeNamedMaterial "Chrome"
  44. "spectrum eta" "spds/Al.eta.spd"
  45. "spectrum k" "spds/Al.k.spd"
  46. "float roughness" [0.01]
  47. "string type" ["metal"]
  48. # "string type" "fourier" "string bsdffile" "chrome.bsdf"
  49. MakeNamedMaterial "Black Rubber"
  50. "color Kd" [0.02 .02 .02]
  51. "color Ks" [0.1 .1 .1]
  52. "float roughness" [.2]
  53. "string type" ["plastic"]
  54. MakeNamedMaterial "Emmission"
  55. "color Kd" [.5 .5 .5]
  56. "float sigma" [0.000000000000000]
  57. "string type" ["matte"]
  58. # tabletop
  59. # bssrdf?
  60. TransformBegin
  61. #Scale .2 .2 .2
  62. Texture "marble-tex" "color" "marble" "float scale" 4
  63. TransformEnd
  64. MakeNamedMaterial "White Marble"
  65. "texture Kd" "marble-tex"
  66. "color Ks" [.3 .3 .3]
  67. "float roughness" [0.1]
  68. "string type" ["plastic"]
  69. Texture "floor-tex" "color" "imagemap"
  70. "string filename" ["textures/Seamless Marble Tiles.png"]
  71. Texture "floor-bump-tex" "float" "imagemap"
  72. "string filename" ["textures/Seamless Marble Tiles.png"]
  73. MakeNamedMaterial "Floor Tiles"
  74. "texture Kd" "floor-tex"
  75. "float sigma" [0.000000000000000]
  76. # "texture bumpmap" "floor-bump-tex"
  77. "string type" ["matte"]
  78. # walls
  79. MakeNamedMaterial "Paint - White Matt"
  80. "color Kd" [0.63999999 0.63999999 0.63999999]
  81. "float sigma" [10]
  82. "string type" ["matte"]
  83. Texture "art-tex" "color" "imagemap"
  84. "string filename" ["textures/goldbuddha.png"]
  85. MakeNamedMaterial "Artwork"
  86. "texture Kd" "art-tex"
  87. "color Ks" [.4 .4 .4]
  88. "float roughness" [0.2]
  89. "string type" ["plastic"]
  90. # baseboard
  91. MakeNamedMaterial "Paint - White Gloss"
  92. "color Kd" [.6 .6 .6]
  93. "float sigma" [0.000000000000000]
  94. "string type" ["matte"]