home *** CD-ROM | disk | FTP | other *** search
/ CD Direkt 1995 #6 / CDD_6_95.ISO / cdd / winanw / povcad4 / pov2tex.inc < prev    next >
Text File  |  1995-02-14  |  4KB  |  193 lines

  1. //////////////////////////////////////////////////////////////////////////////
  2. //  This file is a collection of custom POV 2.x textures...                 // 
  3. //                                                                          //
  4. //  If you add your own textures to this file, add the texture name to the  //
  5. //  file "textures.pv2" so they'll appear in the texture list in POVCAD.    //
  6. //////////////////////////////////////////////////////////////////////////////
  7.  
  8. /*************************************
  9.   Metal textures by Dan Farmer '94:
  10.      Soft_Silver
  11.      New_Penny
  12.      Tinny_Brass
  13.      Gold_Nugget
  14.      Aluminum
  15.      Bright_Bronze
  16. *************************************/
  17.  
  18. #declare Soft_Silver = texture {
  19.   pigment { color red 0.94 green 0.93 blue 0.83 }
  20.   finish {
  21.     specular 0.85
  22.     roughness 0.01
  23.     ambient 0.2
  24.     diffuse 0.35
  25.     reflection 0.45
  26.     metallic
  27.     brilliance 1.5
  28.   }
  29. }
  30.  
  31. #declare New_Penny = texture {
  32.   pigment { color rgb <0.6, 0.45, 0.4> }
  33.   finish {
  34.     specular 0.85
  35.     roughness 0.01
  36.     ambient 0.1
  37.     diffuse 0.65
  38.     reflection 0.45
  39.     metallic
  40.     brilliance 1.5
  41.   }
  42. }
  43.  
  44. #declare Tinny_Brass = texture {
  45.   pigment { color red 0.70  green 0.56  blue 0.37 }
  46.   finish {
  47.     specular 0.85
  48.     roughness 0.01
  49.     ambient 0.1
  50.     diffuse 0.65
  51.     reflection 0.45
  52.     metallic
  53.     brilliance 1.5
  54.   }
  55. }
  56.  
  57. #declare Gold_Nugget = texture {
  58.   pigment { color rgb <0.5, 0.35, 0.25> }
  59.   finish {
  60.     specular 0.85
  61.     roughness 0.01
  62.     ambient 0.1
  63.     diffuse 0.65
  64.     reflection 0.45
  65.     metallic
  66.     brilliance 1.5
  67.   }
  68. }
  69.  
  70. #declare Aluminum  = texture {
  71.   pigment { color rgb <0.55, 0.5, 0.45> }
  72.   finish {
  73.     specular 0.85
  74.     roughness 0.01
  75.     ambient 0.1
  76.     diffuse 0.65
  77.     reflection 0.45
  78.     metallic
  79.     brilliance 1.5
  80.   }
  81. }
  82.  
  83. #declare Bright_Bronze = texture {
  84.   pigment { color rgb <0.36, 0.28, 0.20> }
  85.   finish {
  86.     specular 0.85
  87.     roughness 0.01
  88.     ambient 0.1
  89.     diffuse 0.65
  90.     reflection 0.45
  91.     metallic
  92.     brilliance 1.5
  93.   }
  94. }
  95.  
  96. // End of Dans's metal textures
  97.  
  98. /************************
  99.       Misc. textures
  100. *************************/
  101.  
  102. ////////////////////////////////////////////////////////////////////////
  103. // A plastic white texture
  104. //
  105.  
  106. #declare Phong_White = 
  107. texture {
  108.   pigment { color White }
  109.   finish {
  110.     ambient 0.25
  111.     diffuse 0.35
  112.     phong 0.5
  113.     phong_size 20.0
  114.   }
  115. } // End Texture
  116.  
  117. ////////////////////////////////////////////////////////////////////////
  118. // A nice shiny black texture
  119. //
  120.  
  121. #declare Shiny_Black = 
  122. texture {
  123.   pigment { color rgb <0, 0, 0> }
  124.   finish {
  125.     ambient 0.2
  126.     diffuse 0.75
  127.     specular 0.65
  128.     roughness 0.01
  129.   }
  130. } // End Texture
  131.  
  132. ////////////////////////////////////////////////////////////////////////
  133. // Texture: Clouds1
  134. //
  135.  
  136. #declare Clouds1 =
  137. texture {
  138.   pigment {
  139.     bozo
  140.     turbulence 0.5
  141.     color_map {
  142.        [0, 0.6 color Clear color Clear]
  143.        [0.6, 0.8 color Clear color White]
  144.        [0.8, 1.001 color White color red 0.8 green 0.8 blue 0.8]
  145.     }
  146.     quick_color red 0.7 green 0.7 blue 0.7
  147.     scale <100, 20, 100>
  148.   }
  149.   finish {ambient 0.7 diffuse 0}
  150.   scale <1.25, 1.5,1>
  151.   rotate <0, 75, 0>
  152. }
  153.  
  154. ////////////////////////////////////////////////////////////////////////
  155. // Finish: Matte1
  156. //
  157.  
  158. #declare Matte1 =
  159. finish {
  160.   ambient    0.25
  161.   diffuse    0.6
  162.   phong      0.05
  163.   phong_size 1.5
  164. }
  165.  
  166. ////////////////////////////////////////////////////////////////////////
  167. // Normal: Rocky1
  168. //
  169.  
  170. #declare Rocky1 =
  171. normal {
  172.   bumps 0.4
  173.   turbulence 0.5
  174.   octaves 4
  175.   lambda 4.0
  176. }
  177.  
  178. ////////////////////////////////////////////////////////////////////////
  179. // Texture: Dark_Chrome
  180. //
  181.  
  182. #declare Dark_Chrome = 
  183. texture {
  184.   pigment { color Gray20 }
  185.   finish {
  186.     reflection 1.0
  187.     crand 0.02
  188.     phong 50.0
  189.     phong_size 25.0
  190.   }
  191.  
  192.