home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polyray / dat / stones / stones.inc < prev   
Text File  |  1994-12-31  |  40KB  |  1,072 lines

  1. //
  2. //  This set of textures is based on the original stones textures developed
  3. //  for the "Persistence of Vision Raytracer".  It has been included with
  4. //  the Polyray data archives with permission of the original artist.
  5. //
  6. //          Stone textures by Mike Miller  1992
  7. //
  8. //  You can simply use the textures Stone1 -> Stone24, or you can develop
  9. //  other similar textures by using the "Grnt-a" textures layered over the
  10. //  Grnt textures.
  11. //
  12. define noisy_layers (sin(2*pi*(x + 2*noise(P, 3)))+1)/2 // Like marble
  13. define noisy_layers2 sawtooth(x + 2*noise(P, 3))
  14.  
  15. define granite_fn_04 noise(8 * (P + 0.8 * dnoise(P, 1)), 5)
  16. define granite_fn_05 noise(8 * (P + 1.0 * dnoise(P, 1)), 5)
  17. define granite_fn_06 noise(8 * (P + 1.2 * dnoise(P, 1)), 5)
  18. define granite_fn_07 noise(8 * (P + 1.4 * dnoise(P, 1)), 5)
  19. define granite_fn noise(8 * P, 5)
  20.  
  21. define shiny_white
  22. texture {
  23.    surface {
  24.       ambient white, 0.1
  25.       diffuse white, 0.3
  26.       specular white, 0.4
  27.       microfacet Phong 3
  28.       }
  29.    }
  30.  
  31. define shiny_black
  32. texture {
  33.    surface {
  34.       ambient black, 0.0
  35.       diffuse white, 0.1
  36.       specular white, 0.8
  37.       microfacet Phong 3
  38.       }
  39.    }
  40.  
  41. define clear_yellow
  42. texture {
  43.    surface {
  44.       color yellow
  45.       ambient 0.1
  46.       diffuse 0.3
  47.       transmission yellow, 0.8, 1
  48.       specular white, 0.8
  49.       microfacet Phong 3
  50.       }
  51.    }
  52.  
  53. //--------- Gray  Tan with Rose
  54. define Grnt0_map
  55.       color_map(
  56.      [0.000, 0.153, <0.729, 0.502, 0.451>, <0.769, 0.686, 0.592>]
  57.      [0.153, 0.398, <0.769, 0.686, 0.592>, <0.843, 0.753, 0.718>]
  58.      [0.398, 0.559, <0.843, 0.753, 0.718>, <0.780, 0.667, 0.561>]
  59.      [0.559, 0.729, <0.780, 0.667, 0.561>, <0.741, 0.659, 0.576>]
  60.      [0.729, 1.001, <0.741, 0.659, 0.576>, <0.729, 0.502, 0.451>])
  61.  
  62. //----- Creamy Whites with yellow & light gray
  63. define Grnt1_map
  64.       color_map(
  65.      [0.000, 0.212, <0.898, 0.898, 0.851>, <0.969, 0.980, 0.875>]
  66.      [0.212, 0.424, <0.969, 0.980, 0.875>, <0.859, 0.859, 0.859>]
  67.      [0.424, 0.627, <0.859, 0.859, 0.859>, <0.992, 0.922, 0.659>]
  68.      [0.627, 0.881, <0.992, 0.922, 0.659>, <0.937, 0.965, 0.902>]
  69.      [0.881, 1.000, <0.937, 0.965, 0.902>, <0.898, 0.898, 0.851>])
  70.  
  71. //------- Deep Cream with light rose, yellow orchid & tan
  72. define Grnt2_map
  73.       color_map(
  74.      [0.000, 0.178, <0.863, 0.757, 0.596>, <0.925, 0.792, 0.714>]
  75.      [0.178, 0.356, <0.925, 0.792, 0.714>, <0.871, 0.702, 0.659>]
  76.      [0.356, 0.525, <0.871, 0.702, 0.659>, <0.992, 0.922, 0.659>]
  77.      [0.525, 0.729, <0.992, 0.922, 0.659>, <0.902, 0.812, 0.714>]
  78.      [0.729, 1.001, <0.902, 0.812, 0.714>, <0.863, 0.757, 0.596>])
  79.  
  80. //------- Warm tans olive & light rose with cream
  81. define Grnt3_map
  82.       color_map(
  83.      [0.000, 0.178, <0.831, 0.631, 0.569>, <0.925, 0.831, 0.714>]
  84.      [0.178, 0.356, <0.925, 0.831, 0.714>, <0.871, 0.702, 0.659>]
  85.      [0.356, 0.525, <0.871, 0.702, 0.659>, <0.831, 0.631, 0.569>]
  86.      [0.525, 0.729, <0.831, 0.631, 0.569>, <0.937, 0.882, 0.820>]
  87.      [0.729, 1.001, <0.937, 0.882, 0.820>, <0.831, 0.631, 0.569>])
  88.  
  89. //-------- Orchid sand & mouve
  90. define Grnt4_map
  91.       color_map(
  92.      [0.000, 0.178, <0.804, 0.569, 0.494>, <0.816, 0.725, 0.537>]
  93.      [0.178, 0.356, <0.816, 0.725, 0.537>, <0.820, 0.580, 0.522>]
  94.      [0.356, 0.525, <0.820, 0.580, 0.522>, <0.882, 0.725, 0.537>]
  95.      [0.525, 0.729, <0.882, 0.725, 0.537>, <0.855, 0.729, 0.584>]
  96.      [0.729, 1.001, <0.855, 0.729, 0.584>, <0.804, 0.569, 0.494>])
  97.  
  98. //------- Medium Mauve Med.Rose & deep cream
  99. define Grnt5_map
  100.       color_map(
  101.      [0.000, 0.178, <0.804, 0.569, 0.494>, <0.855, 0.729, 0.584>]
  102.      [0.178, 0.356, <0.855, 0.729, 0.584>, <0.667, 0.502, 0.478>]
  103.      [0.356, 0.525, <0.667, 0.502, 0.478>, <0.859, 0.624, 0.545>]
  104.      [0.525, 0.729, <0.859, 0.624, 0.545>, <0.855, 0.729, 0.584>]
  105.      [0.729, 1.001, <0.855, 0.729, 0.584>, <0.804, 0.569, 0.494>])
  106.  
  107. //--------- Med. Orchid Olive & Dark Tan "mud pie"
  108. define Grnt6_map
  109.       color_map(
  110.      [0.000, 0.153, <0.545, 0.380, 0.345>, <0.588, 0.475, 0.333>]
  111.      [0.153, 0.398, <0.588, 0.475, 0.333>, <0.675, 0.478, 0.404>]
  112.      [0.398, 0.559, <0.675, 0.478, 0.404>, <0.757, 0.635, 0.522>]
  113.      [0.559, 0.729, <0.757, 0.635, 0.522>, <0.659, 0.549, 0.443>]
  114.      [0.729, 1.001, <0.659, 0.549, 0.443>, <0.545, 0.380, 0.345>])
  115.  
  116. //------- Dark Orchid Olive & Dark Putty
  117. define Grnt7_map
  118.       color_map(
  119.      [0.000, 0.119,  <0.439, 0.310, 0.282>, <0.463, 0.369, 0.259>]
  120.      [0.119, 0.322,  <0.463, 0.369, 0.259>, <0.541, 0.369, 0.298>]
  121.      [0.322, 0.449,  <0.541, 0.369, 0.298>, <0.573, 0.424, 0.286>]
  122.      [0.449, 0.729,  <0.573, 0.424, 0.286>, <0.494, 0.396, 0.306>]
  123.      [0.729, 1.001,  <0.494, 0.396, 0.306>, <0.439, 0.310, 0.282>])
  124.  
  125. //--------- Rose & Light cream Yellows
  126. define Grnt8_map
  127.       color_map(
  128.      [0.000, 0.179, <0.843, 0.655, 0.655>, <0.886, 0.769, 0.627>]
  129.      [0.179, 0.368, <0.886, 0.769, 0.627>, <0.906, 0.820, 0.714>]
  130.      [0.368, 0.538, <0.906, 0.820, 0.714>, <0.851, 0.671, 0.671>]
  131.      [0.538, 0.846, <0.851, 0.671, 0.671>, <0.890, 0.792, 0.675>]
  132.      [0.846, 0.983, <0.890, 0.792, 0.675>, <0.827, 0.612, 0.612>]
  133.      [0.983, 1.001, <0.827, 0.612, 0.612>, <0.843, 0.655, 0.655>])
  134.  
  135. //--------- Light Steely Grays
  136. define Grnt9_map
  137.       color_map(
  138.      [0.000, 0.154, <0.894, 0.886, 0.886>, <0.745, 0.745, 0.753>]
  139.      [0.154, 0.308, <0.745, 0.745, 0.753>, <0.902, 0.902, 0.859>]
  140.      [0.308, 0.444, <0.902, 0.902, 0.859>, <0.729, 0.706, 0.694>]
  141.      [0.444, 0.615, <0.729, 0.706, 0.694>, <0.588, 0.592, 0.635>]
  142.      [0.615, 0.803, <0.588, 0.592, 0.635>, <0.608, 0.616, 0.659>]
  143.      [0.803, 1.001, <0.608, 0.616, 0.659>, <0.894, 0.886, 0.886>])
  144.  
  145. //--------- Gray Creams & lavender tans
  146. define Grnt10_map
  147.       color_map(
  148.      [0.000, 0.154, <0.890, 0.690, 0.690>, <0.996, 0.835, 0.737>]
  149.      [0.154, 0.308, <0.996, 0.835, 0.737>, <0.745, 0.635, 0.651>]
  150.      [0.308, 0.444, <0.745, 0.635, 0.651>, <0.733, 0.596, 0.557>]
  151.      [0.444, 0.615, <0.733, 0.596, 0.557>, <0.996, 0.835, 0.737>]
  152.      [0.615, 0.803, <0.996, 0.835, 0.737>, <0.765, 0.616, 0.659>]
  153.      [0.803, 1.001, <0.765, 0.616, 0.659>, <0.890, 0.690, 0.690>])
  154.  
  155. //--------- Creams & Grays Kakhi
  156. define Grnt11_map
  157.       color_map(
  158.      [0.000, 0.154, <0.800, 0.651, 0.557>, <0.996, 0.835, 0.737>]
  159.      [0.154, 0.308, <0.996, 0.835, 0.737>, <0.800, 0.651, 0.557>]
  160.      [0.308, 0.444, <0.800, 0.651, 0.557>, <0.694, 0.624, 0.604>]
  161.      [0.444, 0.615, <0.694, 0.624, 0.604>, <0.800, 0.651, 0.557>]
  162.      [0.615, 0.812, <0.800, 0.651, 0.557>, <0.725, 0.655, 0.651>]
  163.      [0.812, 1.001, <0.725, 0.655, 0.651>, <0.800, 0.651, 0.557>])
  164.  
  165. //--------- Tan Cream & Red Rose 
  166. define Grnt12_map
  167.       color_map(
  168.      [0.000, 0.154, <0.996, 0.969, 0.800>, <0.996, 0.682, 0.604>]
  169.      [0.154, 0.308, <0.996, 0.682, 0.604>, <0.906, 0.820, 0.714>]
  170.      [0.308, 0.444, <0.906, 0.820, 0.714>, <0.816, 0.631, 0.537>]
  171.      [0.444, 0.615, <0.816, 0.631, 0.537>, <0.890, 0.792, 0.675>]
  172.      [0.615, 0.812, <0.890, 0.792, 0.675>, <0.973, 0.627, 0.627>]
  173.      [0.812, 1.001, <0.973, 0.627, 0.627>, <0.996, 0.969, 0.800>])
  174.  
  175. //--------- Cream Rose orange 
  176. define Grnt13_map
  177.       color_map(
  178.      [0.000, 0.154, <0.996, 0.824, 0.780>, <0.996, 0.698, 0.624>]
  179.      [0.154, 0.308, <0.996, 0.698, 0.624>, <0.906, 0.675, 0.553>]
  180.      [0.308, 0.444, <0.906, 0.675, 0.553>, <0.996, 0.682, 0.604>]
  181.      [0.444, 0.615, <0.996, 0.682, 0.604>, <0.996, 0.824, 0.780>]
  182.      [0.615, 0.812, <0.996, 0.824, 0.780>, <0.973, 0.627, 0.627>]
  183.      [0.812, 1.001, <0.973, 0.627, 0.627>, <0.996, 0.824, 0.780>])
  184.  
  185. //--------- Cream Rose & light moss & light Violet
  186. define Grnt14_map
  187.       color_map(
  188.      [0.000, 0.154, <0.690, 0.612, 0.569>, <0.737, 0.596, 0.522>]
  189.      [0.154, 0.368, <0.737, 0.596, 0.522>, <0.776, 0.702, 0.624>]
  190.      [0.368, 0.538, <0.776, 0.702, 0.624>, <0.796, 0.678, 0.643>]
  191.      [0.538, 0.846, <0.796, 0.678, 0.643>, <0.690, 0.612, 0.569>]
  192.      [0.846, 0.932, <0.690, 0.612, 0.569>, <0.773, 0.612, 0.569>]
  193.      [0.932, 1.001, <0.773, 0.612, 0.569>, <0.690, 0.612, 0.569>])
  194.  
  195. //--------- Black with subtle chroma
  196. define Grnt15_map
  197.       color_map(
  198.      [0.000, 0.104, <0.161, 0.133, 0.118>, <0.110, 0.082, 0.071>]
  199.      [0.104, 0.252, <0.110, 0.082, 0.071>, <0.161, 0.133, 0.118>]
  200.      [0.252, 0.383, <0.161, 0.133, 0.118>, <0.000, 0.000, 0.000>]
  201.      [0.383, 0.643, <0.000, 0.000, 0.000>, <0.161, 0.133, 0.118>]
  202.      [0.643, 0.783, <0.161, 0.133, 0.118>, <0.220, 0.149, 0.137>]
  203.      [0.783, 0.922, <0.220, 0.149, 0.137>, <0.000, 0.000, 0.000>]
  204.      [0.922, 0.983, <0.000, 0.000, 0.000>, <0.220, 0.149, 0.137>]
  205.      [0.983, 1.001, <0.220, 0.149, 0.137>, <0.161, 0.133, 0.118>])
  206.  
  207. //----- White Cream & Peach
  208. define Grnt16_map
  209.       color_map(
  210.      [0.000, 0.316, <0.910, 0.788, 0.788>, <0.922, 0.914, 0.871>]
  211.      [0.316, 0.453, <0.922, 0.914, 0.871>, <0.894, 0.867, 0.780>]
  212.      [0.453, 0.624, <0.894, 0.867, 0.780>, <0.784, 0.788, 0.788>]
  213.      [0.624, 0.726, <0.784, 0.788, 0.788>, <0.851, 0.812, 0.741>]
  214.      [0.726, 0.863, <0.851, 0.812, 0.741>, <0.647, 0.655, 0.655>]
  215.      [0.863, 1.001, <0.647, 0.655, 0.655>, <0.910, 0.788, 0.788>])
  216.  
  217. //----- Bug Juice & Green
  218. define Grnt17_map
  219.       color_map(
  220.      [0.000, 0.303, <0.000, 0.239, 0.000>, <0.333, 0.294, 0.000>]
  221.      [0.303, 0.588, <0.333, 0.294, 0.000>, <0.000, 0.239, 0.341>]
  222.      [0.588, 0.790, <0.000, 0.239, 0.341>, <0.000, 0.020, 0.000>]
  223.      [0.790, 1.001, <0.000, 0.020, 0.000>, <0.000, 0.239, 0.000>])
  224.  
  225. //------------ Rose & cream yellow
  226. define Grnt18_map
  227.       color_map(
  228.      [0.000, 0.202, <1.000, 0.718, 0.541>, <0.890, 0.651, 0.612>]
  229.      [0.202, 0.298, <0.890, 0.651, 0.612>, <1.000, 0.820, 0.675>]
  230.      [0.298, 0.377, <1.000, 0.820, 0.675>, <0.890, 0.643, 0.612>]
  231.      [0.377, 0.465, <0.890, 0.643, 0.612>, <0.937, 0.729, 0.561>]
  232.      [0.465, 0.544, <0.937, 0.729, 0.561>, <0.878, 0.604, 0.565>]
  233.      [0.544, 0.640, <0.878, 0.604, 0.565>, <0.984, 0.780, 0.655>]
  234.      [0.640, 0.860, <0.984, 0.780, 0.655>, <1.000, 0.863, 0.635>]
  235.      [0.860, 0.982, <1.000, 0.863, 0.635>, <1.000, 0.765, 0.620>]
  236.      [0.982, 1.001, <1.000, 0.765, 0.620>, <1.000, 0.718, 0.541>])
  237.  
  238. //--------- Gray Marble with White feather Viens
  239. define Grnt19_map
  240.       color_map(
  241.      [0.00, 0.35, White,   White]
  242.      [0.35, 0.40, White,   DimGray]
  243.      [0.40, 1.00, DimGray, DimGray])
  244.  
  245. //--------- White Marble with Gray feather Viens
  246. define Grnt20_map
  247.       color_map(
  248.      [0.0, 0.3, black, white]
  249.      [0.2, 0.4, white, white]
  250.      [0.4, 0.6, white, white]
  251.      [0.6, 1.0, white, white])
  252.  
  253. //-------- Declare Green Colors
  254. define g1 <0.26, 0.41, 0.31> //---Light Gray Green
  255. define g2 <0.27, 0.34, 0.26> //---Med Gray Green
  256. define g3 <0.13, 0.29, 0.28> //---Med Gray Aqua
  257. define g4 <0.03, 0.18, 0.08> //---Dark Green
  258.  
  259. //--------- Green Jade
  260. define Grnt21_map
  261.       color_map(
  262.      [0.0, 0.1, White,     SeaGreen ]
  263.      [0.1, 0.3, SeaGreen,  g2       ]
  264.      [0.3, 0.5, g2,        DarkGreen]
  265.      [0.5, 0.7, DarkGreen, g4       ]
  266.      [0.7, 0.8, g4,        DarkGreen]
  267.      [0.8, 1.0, DarkGreen, DarkGreen])
  268.  
  269. //--------- Clear with White feather Viens ----- This one does contain Alpha
  270. define Grnt22_map
  271.       color_map(
  272.      [0.00, 0.07, White, White]
  273.      [0.07, 0.20, White, DimGray]
  274.      [0.20, 0.30, DimGray, 0.0, black, 1.0]
  275.      [0.30, 0.70, black,   1.0, black, 1.0]
  276.      [0.70, 1.00, black,   1.0, DimGray, 0.0])
  277.  
  278. //---------- Light Tan to Mouve 
  279. define Grnt23_map
  280.       color_map(
  281.      [0.000, 0.178, <0.831, 0.631, 0.569>, <0.925, 0.831, 0.714>]
  282.      [0.178, 0.356, <0.925, 0.831, 0.714>, <0.871, 0.702, 0.659>]
  283.      [0.356, 0.525, <0.871, 0.702, 0.659>, <0.831, 0.631, 0.569>]
  284.      [0.525, 0.729, <0.831, 0.631, 0.569>, <0.937, 0.882, 0.820>]
  285.      [0.729, 1.001, <0.937, 0.882, 0.820>, <0.831, 0.631, 0.569>])
  286.  
  287. //--------- Light Grays
  288. define Grnt24_map
  289.       color_map(
  290.      [0.000, 0.154, <0.894, 0.886, 0.886>, <0.745, 0.745, 0.753>]
  291.      [0.154, 0.308, <0.745, 0.745, 0.753>, <0.902, 0.902, 0.859>]
  292.      [0.308, 0.444, <0.902, 0.902, 0.859>, <0.729, 0.706, 0.694>]
  293.      [0.444, 0.615, <0.729, 0.706, 0.694>, <0.588, 0.592, 0.635>]
  294.      [0.615, 0.803, <0.588, 0.592, 0.635>, <0.608, 0.616, 0.659>]
  295.      [0.803, 1.001, <0.608, 0.616, 0.659>, <0.894, 0.886, 0.886>])
  296.  
  297. //------------ Moss Greens & Tan 
  298. define Grnt25_map
  299.       color_map(
  300.      [0.000, 0.168, <0.824, 0.725, 0.584>, <0.514, 0.584, 0.533>]
  301.      [0.168, 0.301, <0.514, 0.584, 0.533>, <0.298, 0.376, 0.318>]
  302.      [0.301, 0.398, <0.298, 0.376, 0.318>, <0.263, 0.337, 0.282>]
  303.      [0.398, 0.558, <0.263, 0.337, 0.282>, <0.431, 0.506, 0.451>]
  304.      [0.558, 0.655, <0.431, 0.506, 0.451>, <0.529, 0.631, 0.471>]
  305.      [0.655, 0.735, <0.529, 0.631, 0.471>, <0.333, 0.376, 0.318>]
  306.      [0.735, 0.823, <0.333, 0.376, 0.318>, <0.298, 0.376, 0.318>]
  307.      [0.823, 0.876, <0.298, 0.376, 0.318>, <0.416, 0.376, 0.318>]
  308.      [0.876, 0.929, <0.416, 0.376, 0.318>, <0.416, 0.376, 0.318>]
  309.      [0.929, 1.001, <0.416, 0.376, 0.318>, <0.824, 0.725, 0.584>])
  310.  
  311. //---------- Salmon with thin Green Viens
  312. define Grnt26_map
  313.    color_map(
  314.       [0.000, 0.241, <0.973, 0.973, 0.976>, <0.973, 0.973, 0.976>]
  315.       [0.241, 0.284, <0.973, 0.973, 0.976>, <0.600, 0.741, 0.608>]
  316.       [0.284, 0.336, <0.600, 0.741, 0.608>, <0.820, 0.643, 0.537>]
  317.       [0.336, 0.474, <0.820, 0.643, 0.537>, <0.886, 0.780, 0.714>]
  318.       [0.474, 0.810, <0.886, 0.780, 0.714>, <0.996, 0.643, 0.537>]
  319.       [0.810, 0.836, <0.996, 0.643, 0.537>, <0.973, 0.973, 0.976>]
  320.       [0.836, 1.001, <0.973, 0.973, 0.976>, <0.973, 0.973, 0.976>])
  321.  
  322. //------ Dark Green & Browns
  323. define Grnt27_map
  324.    color_map(
  325.       [0.000, 0.043, <0.773, 0.647, 0.569>, <0.431, 0.322, 0.227>]
  326.       [0.043, 0.113, <0.431, 0.322, 0.227>, <0.278, 0.282, 0.216>]
  327.       [0.113, 0.304, <0.278, 0.282, 0.216>, <0.278, 0.282, 0.216>]
  328.       [0.304, 0.426, <0.278, 0.282, 0.216>, <0.459, 0.341, 0.243>]
  329.       [0.426, 0.843, <0.459, 0.341, 0.243>, <0.459, 0.341, 0.243>]
  330.       [0.843, 0.878, <0.459, 0.341, 0.243>, <0.459, 0.341, 0.243>]
  331.       [0.878, 0.983, <0.459, 0.341, 0.243>, <0.278, 0.282, 0.216>]
  332.       [0.983, 1.001, <0.278, 0.282, 0.216>, <0.773, 0.647, 0.569>])
  333.  
  334. //------- Red Swirl
  335. define Grnt28_map
  336.    color_map(
  337.       [0.000, 0.155, <0.686, 0.235, 0.282>, <0.686, 0.235, 0.282>]
  338.       [0.155, 0.328, <0.686, 0.235, 0.282>, <0.494, 0.243, 0.294>]
  339.       [0.328, 0.474, <0.494, 0.243, 0.294>, <0.769, 0.329, 0.373>]
  340.       [0.474, 0.647, <0.769, 0.329, 0.373>, <0.769, 0.329, 0.373>]
  341.       [0.647, 0.810, <0.769, 0.329, 0.373>, <0.686, 0.235, 0.282>]
  342.       [0.810, 0.922, <0.686, 0.235, 0.282>, <0.792, 0.388, 0.427>]
  343.       [0.922, 1.001, <0.792, 0.388, 0.427>, <0.686, 0.235, 0.282>])
  344.  
  345. //-------- White Tan & thin Reds
  346. define Grnt29_map
  347.    color_map(
  348.       [0.000, 0.053, <0.784, 0.627, 0.522>, <0.784, 0.627, 0.624>]
  349.       [0.053, 0.263, <0.784, 0.627, 0.624>, <0.824, 0.557, 0.376>]
  350.       [0.263, 0.281, <0.824, 0.557, 0.376>, <0.643, 0.380, 0.376>]
  351.       [0.281, 0.325, <0.643, 0.380, 0.376>, <0.839, 0.722, 0.722>]
  352.       [0.325, 0.711, <0.839, 0.722, 0.722>, <0.784, 0.627, 0.522>]
  353.       [0.711, 0.798, <0.784, 0.627, 0.522>, <0.769, 0.380, 0.376>]
  354.       [0.798, 0.895, <0.769, 0.380, 0.376>, <0.824, 0.557, 0.376>]
  355.       [0.895, 0.982, <0.824, 0.557, 0.376>, <0.784, 0.627, 0.522>]
  356.       [0.982, 1.001, <0.784, 0.627, 0.522>, <0.784, 0.627, 0.522>])
  357.  
  358. define Grnt0a_map
  359.       color_map(
  360.      [0.000, 0.153, <0.729, 0.502, 0.451>, 0.306,
  361.             <0.769, 0.686, 0.592>, 0.792]
  362.      [0.153, 0.398, <0.769, 0.686, 0.592>,  0.792,
  363.             <0.843, 0.753, 0.718>,  0.396]
  364.      [0.398, 0.559, <0.843, 0.753, 0.718>,  0.396,
  365.             <0.780, 0.667, 0.561>,  0.976]
  366.      [0.559, 0.729, <0.780, 0.667, 0.561>,  0.976,
  367.             <0.741, 0.659, 0.576>,  0.820]
  368.      [0.729, 1.001, <0.741, 0.659, 0.576>, 0.820,
  369.             <0.729, 0.502, 0.451>,  0.306])
  370.  
  371. //----- Translucent Grnt1
  372. define Grnt1a_map
  373.    color_map(
  374.       [0.000, 0.212, <0.898, 0.898, 0.851>, 0.306, 
  375.              <0.969, 0.980, 0.875>, 0.792]
  376.       [0.212, 0.424, <0.969, 0.980, 0.875>, 0.792, 
  377.              <0.859, 0.859, 0.859>, 0.396]
  378.       [0.424, 0.627, <0.859, 0.859, 0.859>, 0.396, 
  379.              <0.992, 0.922, 0.659>, 0.976]
  380.       [0.627, 0.881, <0.992, 0.922, 0.659>, 0.976, 
  381.              <0.937, 0.965, 0.902>, 0.820]
  382.       [0.881, 1.001, <0.937, 0.965, 0.902>, 0.820, 
  383.              <0.898, 0.898, 0.851>, 0.306])
  384.  
  385. //-----Translucent Grnt2
  386. define Grnt2a_map
  387.    color_map(
  388.       [0.000, 0.144, <0.863, 0.757, 0.596>, 0.596,
  389.              <0.925, 0.792, 0.714>, 0.349]
  390.       [0.144, 0.288, <0.925, 0.792, 0.714>, 0.349,
  391.              <0.871, 0.702, 0.659>, 0.784]
  392.       [0.288, 0.644, <0.871, 0.702, 0.659>, 0.784,
  393.              <0.992, 0.922, 0.659>, 0.498]
  394.       [0.644, 0.983, <0.992, 0.922, 0.659>, 0.498,
  395.              <0.902, 0.812, 0.714>, 0.722]
  396.       [0.983, 1.001, <0.902, 0.812, 0.714>, 0.722,
  397.              <0.863, 0.757, 0.596>, 0.596])
  398.  
  399. //-----Translucent Grnt3
  400. define Grnt3a_map
  401.    color_map(
  402.       [0.000, 0.153, <0.831, 0.631, 0.569>, 0.447,
  403.              <0.925, 0.831, 0.714>, 0.678]
  404.       [0.153, 0.297, <0.925, 0.831, 0.714>, 0.678,
  405.              <0.871, 0.702, 0.659>, 0.475]
  406.       [0.297, 0.441, <0.871, 0.702, 0.659>, 0.475,
  407.              <0.831, 0.631, 0.569>, 0.918]
  408.       [0.441, 0.763, <0.831, 0.631, 0.569>, 0.918,
  409.              <0.937, 0.882, 0.820>, 0.655]
  410.       [0.763, 1.001, <0.937, 0.882, 0.820>, 0.655,
  411.              <0.831, 0.631, 0.569>, 0.447])
  412.  
  413. //-----Translucent Grnt4
  414. define Grnt4a_map
  415.    color_map(
  416.       [0.000, 0.144, <0.804, 0.569, 0.494>, 0.569,
  417.              <0.816, 0.725, 0.537>, 0.467]
  418.       [0.144, 0.449, <0.816, 0.725, 0.537>, 0.467,
  419.              <0.820, 0.580, 0.522>, 0.584]
  420.       [0.449, 0.568, <0.820, 0.580, 0.522>, 0.584,
  421.              <0.882, 0.725, 0.537>, 0.871]
  422.       [0.568, 0.754, <0.882, 0.725, 0.537>, 0.871,
  423.              <0.855, 0.729, 0.584>, 0.816]
  424.       [0.754, 1.001, <0.855, 0.729, 0.584>, 0.816,
  425.              <0.804, 0.569, 0.494>, 0.569])
  426.  
  427. //-----Translucent Grnt4
  428. define Grnt5a_map
  429.    color_map(
  430.       [0.000, 0.178, <0.804, 0.569, 0.494>, 0.569, 
  431.              <0.855, 0.729, 0.584>, 0.467]
  432.       [0.178, 0.356, <0.855, 0.729, 0.584>, 0.467, 
  433.              <0.667, 0.502, 0.478>, 0.584]
  434.       [0.356, 0.525, <0.667, 0.502, 0.478>, 0.584, 
  435.              <0.859, 0.624, 0.545>, 0.871]
  436.       [0.525, 0.729, <0.859, 0.624, 0.545>, 0.871, 
  437.              <0.855, 0.729, 0.584>, 0.816]
  438.       [0.729, 1.001, <0.855, 0.729, 0.584>, 0.816, 
  439.              <0.804, 0.569, 0.494>, 0.569])
  440. //-----Translucent Grnt6
  441. define Grnt6a_map
  442.    color_map(
  443.       [0.000, 0.263, <0.545, 0.380, 0.345>, 0.733,
  444.              <0.588, 0.475, 0.333>, 0.741]
  445.       [0.263, 0.432, <0.588, 0.475, 0.333>, 0.741,
  446.              <0.675, 0.478, 0.404>, 0.545]
  447.       [0.432, 0.551, <0.675, 0.478, 0.404>, 0.545,
  448.              <0.757, 0.635, 0.522>, 0.384]
  449.       [0.551, 0.720, <0.757, 0.635, 0.522>, 0.384,
  450.              <0.659, 0.549, 0.443>, 0.675]
  451.       [0.720, 1.001, <0.659, 0.549, 0.443>, 0.675,
  452.              <0.545, 0.380, 0.345>, 0.733])
  453. //-----Translucent Grnt7
  454. define Grnt7a_map
  455.    color_map(
  456.       [0.000, 0.119, <0.439, 0.310, 0.282>, 0.631,
  457.              <0.463, 0.369, 0.259>, 0.847]
  458.       [0.119, 0.322, <0.463, 0.369, 0.259>, 0.847,
  459.              <0.541, 0.369, 0.298>, 0.549]
  460.       [0.322, 0.449, <0.541, 0.369, 0.298>, 0.549,
  461.              <0.573, 0.424, 0.286>, 0.965]
  462.       [0.449, 0.729, <0.573, 0.424, 0.286>, 0.965,
  463.              <0.494, 0.396, 0.306>, 0.741]
  464.       [0.729, 1.001, <0.494, 0.396, 0.306>, 0.741,
  465.              <0.439, 0.310, 0.282>, 0.631])
  466. //-----Aqua Tints 
  467. define Grnt8a_map
  468.    color_map(
  469.       [0.000, 0.119, <0.310, 0.384, 0.420>, 0.631,
  470.              <0.322, 0.369, 0.416>, 0.847]
  471.       [0.119, 0.322, <0.322, 0.369, 0.416>, 0.847,
  472.              <0.424, 0.369, 0.420>, 0.549]
  473.       [0.322, 0.449, <0.424, 0.369, 0.420>, 0.549,
  474.              <0.373, 0.424, 0.518>, 0.965]
  475.       [0.449, 0.729, <0.373, 0.424, 0.518>, 0.965,
  476.              <0.482, 0.573, 0.533>, 0.741]
  477.       [0.729, 1.001, <0.482, 0.573, 0.533>, 0.741,
  478.              <0.310, 0.384, 0.420>, 0.631])
  479. //-----Alpha Creams With Cracks
  480. define Grnt9a_map
  481.    color_map(
  482.       [0.000, 0.216, <0.812, 0.812, 0.812>, 0.835,
  483.              <0.745, 0.843, 0.835>, 0.847]
  484.       [0.216, 0.241, <0.745, 0.843, 0.835>, 0.847,
  485.              <0.404, 0.337, 0.337>, 0.463]
  486.       [0.241, 0.267, <0.404, 0.337, 0.337>, 0.463,
  487.              <0.773, 0.729, 0.745>, 0.622]
  488.       [0.267, 0.759, <0.773, 0.729, 0.745>, 0.622,
  489.              <0.914, 0.843, 0.725>, 0.651]
  490.       [0.759, 0.784, <0.914, 0.843, 0.725>, 0.651,
  491.              <0.153, 0.133, 0.208>, 0.437]
  492.       [0.784, 0.810, <0.153, 0.133, 0.208>, 0.437,
  493.              <0.812, 0.812, 0.812>, 0.835]
  494.       [0.810, 1.001, <0.812, 0.812, 0.812>, 0.835,
  495.              <0.812, 0.812, 0.812>, 0.835])
  496. //--------- Alpha Cream Rose & light yellow
  497. define Grnt10a_map
  498.    color_map(
  499.       [0.000, 0.179, <0.843, 0.655, 0.655>, 0.455,
  500.              <0.886, 0.769, 0.627>, 0.608]
  501.       [0.179, 0.368, <0.886, 0.769, 0.627>, 0.608,
  502.              <0.906, 0.820, 0.714>, 0.392]
  503.       [0.368, 0.538, <0.906, 0.820, 0.714>, 0.392,
  504.              <0.851, 0.671, 0.671>, 0.659]
  505.       [0.538, 0.744, <0.851, 0.671, 0.671>, 0.659,
  506.              <0.890, 0.792, 0.675>, 0.392]
  507.       [0.744, 0.983, <0.890, 0.792, 0.675>, 0.392,
  508.              <0.827, 0.612, 0.612>, 0.706]
  509.       [0.983, 1.001, <0.827, 0.612, 0.612>, 0.706,
  510.              <0.843, 0.655, 0.655>, 0.455])
  511. //--------- Alpha Light Grays
  512. define Grnt11a_map
  513.    color_map(
  514.       [0.000, 0.154, <0.894, 0.886, 0.886>, 0.659,
  515.              <0.745, 0.745, 0.753>, 0.584]
  516.       [0.154, 0.308, <0.745, 0.745, 0.753>, 0.584,
  517.              <0.902, 0.902, 0.859>, 0.780]
  518.       [0.308, 0.444, <0.902, 0.902, 0.859>, 0.780,
  519.              <0.729, 0.706, 0.694>, 0.686]
  520.       [0.444, 0.615, <0.729, 0.706, 0.694>, 0.686,
  521.              <0.588, 0.592, 0.635>, 0.424]
  522.       [0.615, 0.803, <0.588, 0.592, 0.635>, 0.424,
  523.              <0.608, 0.616, 0.659>, 0.761]
  524.       [0.803, 1.001, <0.608, 0.616, 0.659>, 0.761,
  525.              <0.894, 0.886, 0.886>, 0.659])
  526. //--------- Alpha Creams & Tans
  527. define Grnt12a_map
  528.       color_map(
  529.      [0.000, 0.154, <0.890, 0.690, 0.690>, 0.659,
  530.             <0.996, 0.835, 0.737>, 0.659]
  531.      [0.154, 0.308, <0.996, 0.835, 0.737>, 0.659,
  532.             <0.745, 0.635, 0.651>, 0.780]
  533.      [0.308, 0.444, <0.745, 0.635, 0.651>, 0.780,
  534.             <0.733, 0.596, 0.557>, 0.686]
  535.      [0.444, 0.615, <0.733, 0.596, 0.557>, 0.686,
  536.             <0.996, 0.835, 0.737>, 0.659]
  537.      [0.615, 0.803, <0.996, 0.835, 0.737>, 0.659,
  538.             <0.765, 0.616, 0.659>, 0.761]
  539.      [0.803, 1.001, <0.765, 0.616, 0.659>, 0.761,
  540.             <0.890, 0.690, 0.690>, 0.659])
  541. //--------- Alpha Creams & Grays
  542. define Grnt13a_map
  543.    color_map(
  544.       [0.000, 0.154, <0.800, 0.651, 0.557>, 0.000,
  545.              <0.996, 0.835, 0.737>, 0.608]
  546.       [0.154, 0.308, <0.996, 0.835, 0.737>, 0.608,
  547.              <0.800, 0.651, 0.557>, 0.635]
  548.       [0.308, 0.444, <0.800, 0.651, 0.557>, 0.635,
  549.              <0.694, 0.624, 0.604>, 0.294]
  550.       [0.444, 0.615, <0.694, 0.624, 0.604>, 0.294,
  551.              <0.800, 0.651, 0.557>, 0.816]
  552.       [0.615, 0.812, <0.800, 0.651, 0.557>, 0.816,
  553.              <0.725, 0.655, 0.651>, 0.957]
  554.       [0.812, 1.001, <0.725, 0.655, 0.651>, 0.957,
  555.              <0.800, 0.651, 0.557>, 0.000])
  556. //--------- Cream Rose & light moss
  557. define Grnt14a_map
  558.    color_map(
  559.       [0.000, 0.154, <0.996, 0.969, 0.800>, 0.373,
  560.              <0.996, 0.682, 0.604>, 0.412]
  561.       [0.154, 0.308, <0.996, 0.682, 0.604>, 0.412,
  562.              <0.906, 0.820, 0.714>, 0.616]
  563.       [0.308, 0.444, <0.906, 0.820, 0.714>, 0.616,
  564.              <0.816, 0.631, 0.537>, 0.443]
  565.       [0.444, 0.615, <0.816, 0.631, 0.537>, 0.443,
  566.              <0.890, 0.792, 0.675>, 0.745]
  567.       [0.615, 0.812, <0.890, 0.792, 0.675>, 0.745,
  568.              <0.973, 0.627, 0.627>, 0.600]
  569.       [0.812, 1.001, <0.973, 0.627, 0.627>, 0.600,
  570.              <0.996, 0.969, 0.800>, 0.373])
  571. //--------- Alpha Sand & light Orange
  572. define Grnt15a_map
  573.    color_map(
  574.       [0.000, 0.154, <0.996, 0.824, 0.780>, 0.412,
  575.              <0.996, 0.698, 0.624>, 0.412]
  576.       [0.154, 0.308, <0.996, 0.698, 0.624>, 0.412,
  577.              <0.906, 0.675, 0.553>, 0.616]
  578.       [0.308, 0.444, <0.906, 0.675, 0.553>, 0.616,
  579.              <0.996, 0.682, 0.604>, 0.412]
  580.       [0.444, 0.615, <0.996, 0.682, 0.604>, 0.412,
  581.              <0.996, 0.824, 0.780>, 0.412]
  582.       [0.615, 0.812, <0.996, 0.824, 0.780>, 0.412,
  583.              <0.973, 0.627, 0.627>, 0.600]
  584.       [0.812, 1.001, <0.973, 0.627, 0.627>, 0.600,
  585.              <0.996, 0.824, 0.780>, 0.412])
  586. //--------- Cream Rose & light moss
  587. define Grnt16a_map
  588.    color_map(
  589.       [0.000, 0.078, <0.769, 0.722, 0.690>, 0.180,
  590.              <0.745, 0.690, 0.655>, 1.000]
  591.       [0.078, 0.96, <0.745, 0.690, 0.655>, 1.000,
  592.              <0.839, 0.804, 0.780>, 1.000]
  593.       [0.96, 1.001, <0.839, 0.804, 0.780>, 0.278,
  594.              <0.769, 0.722, 0.690>, 0.180])
  595. define Grnt17a_map
  596.    color_map(
  597.       [0.000, 0.034, <0.027, 0.012, 0.012>, 0.000,
  598.              <0.851, 0.812, 0.741>, 0.235]
  599.       [0.034, 0.342, <0.851, 0.812, 0.741>, 0.235,
  600.              <0.792, 0.694, 0.690>, 0.839]
  601.       [0.342, 0.462, <0.792, 0.694, 0.690>, 0.839,
  602.              <0.631, 0.506, 0.471>, 0.608]
  603.       [0.462, 0.632, <0.631, 0.506, 0.471>, 0.608,
  604.              <0.851, 0.812, 0.741>, 0.922]
  605.       [0.632, 0.983, <0.851, 0.812, 0.741>, 0.922,
  606.              <0.647, 0.655, 0.655>, 0.282]
  607.       [0.983, 1.001, <0.647, 0.655, 0.655>, 0.282,
  608.              <0.027, 0.012, 0.012>, 0.000])
  609. define Grnt18a_map
  610.    color_map(
  611.       [0.000, 0.128, <0.820, 0.580, 0.580>, 0.000,
  612.              <0.851, 0.812, 0.741>, 0.235]
  613.       [0.128, 0.282, <0.851, 0.812, 0.741>, 0.235,
  614.              <0.792, 0.694, 0.690>, 0.282]
  615.       [0.282, 0.393, <0.792, 0.694, 0.690>, 0.282,
  616.              <0.647, 0.655, 0.655>, 0.133]
  617.       [0.393, 0.590, <0.647, 0.655, 0.655>, 0.133,
  618.              <0.851, 0.812, 0.741>, 0.333]
  619.       [0.590, 0.983, <0.851, 0.812, 0.741>, 0.333,
  620.              <0.647, 0.655, 0.655>, 0.282]
  621.       [0.983, 1.001, <0.647, 0.655, 0.655>, 0.282,
  622.              <0.820, 0.580, 0.580>, 0.000])
  623. //--------- Gray Marble with White feather Viens with Alpha
  624. define Grnt19a_map
  625.    color_map(
  626.       [0.00, 0.35, White,   0.0, DimGray, 0.5]
  627.       [0.35, 0.40, DimGray, 0.5, DimGray, 0.8]
  628.       [0.40, 1.00, DimGray, 0.8, DimGray, 0.9])
  629. //--------- White Feature Viens 
  630. define Grnt20a_map
  631.    color_map(
  632.       [0.0, 0.3, white, 0.0, white, 0.7]
  633.       [0.3, 0.4, white, 0.7, black, 1.0]
  634.       [0.4, 1.0, black, 1.0, black, 1.0])
  635. //--------- Thinner White Feature Viens 
  636. define Grnt21a_map
  637.    color_map(
  638.       [0.0, 0.2, white, 0.4, white, 0.8]
  639.       [0.2, 0.3, white, 0.8, black, 1.0]
  640.       [0.3, 1.0, black, 1.0, black, 1.0])
  641. define Grnt22a_map
  642.    color_map(
  643.       [0.000, 0.175, <1.000, 0.718, 0.541>, 0.890,
  644.              <0.843, 0.678, 0.655>, 0.753]
  645.       [0.175, 0.228, <0.843, 0.678, 0.655>, 0.753,
  646.              <0.906, 0.831, 0.773>, 0.98]
  647.       [0.228, 0.386, <0.906, 0.831, 0.773>, 0.698,
  648.              <0.992, 0.718, 0.545>, 0.794]
  649.       [0.386, 0.412, <0.992, 0.718, 0.545>, 0.794,
  650.              <0.333, 0.188, 0.067>, 0.784]
  651.       [0.412, 0.439, <0.333, 0.188, 0.067>, 0.784,
  652.              <0.925, 0.557, 0.514>, 0.778]
  653.       [0.439, 0.684, <0.925, 0.557, 0.514>, 0.678,
  654.              <0.984, 0.780, 0.655>, 0.696]
  655.       [0.684, 0.781, <0.984, 0.780, 0.655>, 0.696,
  656.              <0.965, 0.847, 0.675>, 0.880]
  657.       [0.781, 0.982, <0.965, 0.847, 0.675>, 0.880,
  658.              <1.000, 0.718, 0.541>, 0.990]
  659.       [0.982, 1.001, <1.000, 0.718, 0.541>, 0.890,
  660.              <1.000, 0.718, 0.541>, 0.890])
  661. //---------- Transparent Green Moss Colors
  662. define Grnt23a_map
  663.    color_map(
  664.       [0.000, 0.168, <0.824, 0.725, 0.584>, 0.600,
  665.              <0.514, 0.584, 0.533>, 0.600]
  666.       [0.168, 0.301, <0.514, 0.584, 0.533>, 0.600,
  667.              <0.298, 0.376, 0.318>, 0.600]
  668.       [0.301, 0.398, <0.298, 0.376, 0.318>, 0.600,
  669.              <0.263, 0.337, 0.282>, 0.700]
  670.       [0.398, 0.558, <0.263, 0.337, 0.282>, 0.700,
  671.              <0.431, 0.506, 0.451>, 0.600]
  672.       [0.558, 0.655, <0.431, 0.506, 0.451>, 0.600,
  673.              <0.529, 0.631, 0.471>, 0.500]
  674.       [0.655, 0.735, <0.529, 0.631, 0.471>, 0.500,
  675.              <0.333, 0.376, 0.318>, 0.700]
  676.       [0.735, 0.823, <0.333, 0.376, 0.318>, 0.700,
  677.              <0.298, 0.376, 0.318>, 0.600]
  678.       [0.823, 0.876, <0.298, 0.376, 0.318>, 0.600,
  679.              <0.416, 0.376, 0.318>, 0.500]
  680.       [0.876, 0.929, <0.416, 0.376, 0.318>, 0.500,
  681.              <0.416, 0.376, 0.318>, 0.600]
  682.       [0.929, 1.001, <0.416, 0.376, 0.318>, 0.600,
  683.              <0.824, 0.725, 0.584>, 0.700])
  684. define Grnt24a_map
  685.    color_map(
  686.       [0.000, 0.053, <0.784, 0.627, 0.522>, 0.500,
  687.              <0.784, 0.627, 0.624>, 0.500]
  688.       [0.053, 0.263, <0.784, 0.627, 0.624>, 0.500,
  689.              <0.824, 0.557, 0.376>, 0.500]
  690.       [0.263, 0.281, <0.824, 0.557, 0.376>, 0.500,
  691.              <0.643, 0.380, 0.376>, 0.500]
  692.       [0.281, 0.325, <0.643, 0.380, 0.376>, 0.500,
  693.              <0.839, 0.722, 0.722>, 0.500]
  694.       [0.325, 0.711, <0.839, 0.722, 0.722>, 0.500,
  695.              <0.784, 0.627, 0.522>, 0.500]
  696.       [0.711, 0.798, <0.784, 0.627, 0.522>, 0.500,
  697.              <0.769, 0.380, 0.376>, 0.500]
  698.       [0.798, 0.895, <0.769, 0.380, 0.376>, 0.500,
  699.              <0.824, 0.557, 0.376>, 0.500]
  700.       [0.895, 0.982, <0.824, 0.557, 0.376>, 0.500,
  701.              <0.784, 0.627, 0.522>, 0.500]
  702.       [0.982, 1.001, <0.784, 0.627, 0.522>, 0.500,
  703.              <0.784, 0.627, 0.522>, 0.500])
  704.  
  705. //--------------------Crack & OverTint /Red---------------------
  706. define Crack1_map
  707.    color_map(
  708.       [0.00, 0.03, black,     0.6, black,   0.6]
  709.       [0.03, 0.30, <0.6, 0.1, 0.1>, 0.8, <0.6, 0.1, 0.1>, 0.8] 
  710.       [0.30, 0.95, <0.6, 0.1, 0.1>, 0.8, dimgray, 0.8] 
  711.       [0.95, 1.00, dimgray,   0.8, black,   1.0])
  712.  
  713. //-----Alpha  Dark Cracks
  714. define Crack2_map
  715.    color_map(
  716.       [0.00, 0.50, black, 1.0, black, 1.0]
  717.       [0.50, 0.54, black, 1.0, black, 0.0]
  718.       [0.54, 1.00, black, 1.0, black, 1.0])
  719.  
  720. //---------- Overtint Green with Black Cracks
  721. define Crack3_map
  722.    color_map(
  723.       [0.00, 0.10, black,     0.60, black,     1.0]
  724.       [0.10, 0.90, DarkGreen, 0.80, DarkGreen, 0.90] 
  725.       [0.90, 1.00, black,     0.90, black,     1.0])
  726.  
  727. //--------- Overtint with White Crack
  728. define Crack4_map
  729.    color_map(
  730.       [0.00, 0.03, white, 0.30, white,   1.0]
  731.       [0.03, 0.97, black, 0.70, DimGray, 0.9] 
  732.       [0.97, 1.00, white, 0.90, white,   1.0])
  733.  
  734. define Grnt0 Grnt0_map[granite_fn_04]
  735. define Grnt1 Grnt1_map[granite_fn_06]
  736. define Grnt2 Grnt2_map[granite_fn_05]
  737. define Grnt3 Grnt3_map[granite_fn_05]
  738. define Grnt4 Grnt4_map[granite_fn_05]
  739. define Grnt5 Grnt5_map[granite_fn_05]
  740. define Grnt6 Grnt6_map[granite_fn_05]
  741. define Grnt7 Grnt7_map[granite_fn_05]
  742. define Grnt8 Grnt8_map[granite_fn_06]
  743. define Grnt9 Grnt9_map[granite_fn_06]
  744. define Grnt10 Grnt10_map[granite_fn_06]
  745. define Grnt11 Grnt11_map[granite_fn_06]
  746. define Grnt12 Grnt12_map[granite_fn_06]
  747. define Grnt13 Grnt13_map[granite_fn_06]
  748. define Grnt14 Grnt14_map[granite_fn_06]
  749. define Grnt15 Grnt15_map[granite_fn_06]
  750. define Grnt16 Grnt16_map[granite_fn_06]
  751. define Grnt17 Grnt17_map[granite_fn_06]
  752. define Grnt18 Grnt18_map[granite_fn_04]
  753. define Grnt19 Grnt19_map[granite_fn]
  754. define Grnt20 Grnt20_map[granite_fn]
  755. define Grnt21 Grnt21_map[granite_fn]
  756. define Grnt22 Grnt22_map[granite_fn]
  757. define Grnt23 Grnt23_map[granite_fn_05]
  758. define Grnt24 Grnt24_map[granite_fn_06]
  759. define Grnt25 Grnt25_map[marble_fn]
  760. define Grnt26 Grnt26_map[granite_fn]
  761. define Grnt27 Grnt27_map[granite_fn]
  762. define Grnt28 Grnt28_map[granite_fn_07]
  763. define Grnt29 Grnt29_map[noisy_layers]
  764.  
  765. define Grnt0a Grnt0a_map[granite_fn_06]
  766. define Grnt1a Grnt1a_map[granite_fn_06]
  767. define Grnt2a Grnt2a_map[granite_fn_06]
  768. define Grnt3a Grnt3a_map[granite_fn_06]
  769. define Grnt4a Grnt4a_map[granite_fn_06]
  770. define Grnt5a Grnt5a_map[granite_fn_05]
  771. define Grnt6a Grnt6a_map[granite_fn_06]
  772. define Grnt7a Grnt7a_map[granite_fn_06]
  773. define Grnt8a Grnt8a_map[granite_fn_06]
  774. define Grnt9a Grnt9a_map[granite_fn_06]
  775. define Grnt10a Grnt10a_map[granite_fn_06]
  776. define Grnt11a Grnt11a_map[granite_fn_06]
  777. define Grnt12a Grnt12a_map[granite_fn_06]
  778. define Grnt13a Grnt13a_map[granite_fn_06]
  779. define Grnt14a Grnt14a_map[granite_fn_06]
  780. define Grnt15a Grnt15a_map[granite_fn_06]
  781. define Grnt16a Grnt16a_map[granite_fn_06]
  782. define Grnt17a Grnt17a_map[granite_fn_06]
  783. define Grnt18a Grnt18a_map[granite_fn_06]
  784. define Grnt19a Grnt19a_map[granite_fn_06]
  785. define Grnt20a Grnt20a_map[granite_fn]
  786. define Grnt21a Grnt21a_map[granite_fn]
  787. define Grnt22a Grnt22a_map[granite_fn_05]
  788. define Grnt23a Grnt23a_map[granite_fn]
  789. define Grnt24a Grnt24a_map[granite_fn_05]
  790.  
  791. define Crack1
  792.    texture {
  793.       special shiny {
  794.      color Crack1_map[noisy_layers2]
  795.      diffuse 0.4
  796.      // Filter lower layers by crack color
  797.      transmission Crack1_map[noisy_layers2], 1, 1
  798.      }
  799.       }
  800.  
  801. define Crack2
  802.    texture {
  803.       special shiny {
  804.      color Crack2_map[noisy_layers2]
  805.      transmission Crack2_map[noisy_layers2], 1, 1
  806.      }
  807.       }
  808. define Crack3 Crack3_map[noisy_layers]
  809. define Crack4 Crack4_map[noisy_layers]
  810.  
  811. //------------- Deep Rose & Green Marble with large White Swirls
  812. define Stone1
  813. texture {
  814.    layered
  815.       texture { special shiny { color Grnt0a }
  816.             scale <2, 3, 2> rotate <0, 0, -30> },
  817.       texture { special shiny { color Grnt7 }
  818.             scale <2, 3, 2> rotate <0, 0, 40> }
  819.    }
  820.  
  821. //------------- Light Greenish Tan Marble with Agate style veining
  822. define Stone2
  823. texture {
  824.    layered
  825.       texture { special shiny { color Grnt7a }
  826.             scale <1.3, 2, 1.3> rotate <0, 0, -30> rotate <40, 0, 0> },
  827.       texture { special shiny { color Grnt0 }
  828.             scale <2, 3, 2> rotate <0, 0, 40> }
  829.       }
  830.  
  831. //------------- Rose & Yellow Marble with fog white veining
  832. define Stone3
  833. texture {
  834.    layered
  835.       texture { special shiny { color Grnt0a }
  836.             scale <2, 3, 2> rotate <0, 0, -30> },
  837.       texture { special shiny { color Grnt5 }
  838.             scale <2, 3, 2> rotate <0, 0, 40> }
  839.    }
  840.  
  841. //------------- Tan Marble with Rose patches
  842. define Stone4
  843. texture {
  844.    layered
  845.       texture { special shiny { color Grnt10a }
  846.         scale <1, 3, 2> rotate <0, 0, -30> },
  847.       texture { special shiny { color Grnt6 }
  848.         scale <1.5, 3, 2> rotate <0, 0, 40> }
  849.    }
  850.  
  851. //------------- White Cream Marble with Pink veining
  852. define Stone5
  853. texture {
  854.    layered
  855.       Crack1 { scale <1, 2, 1.4> rotate <10, 0, -20> },
  856.       texture { special shiny { color Grnt17a }
  857.             scale <2, 3, 2> rotate <0, 0, -30> },
  858.       texture { special shiny { color Grnt12 }
  859.         scale <2, 3, 2> rotate <0, 0, 40> }
  860.    }
  861.  
  862. //------------- Rose & Yellow Cream Marble
  863. define Stone6
  864. texture {
  865.    layered
  866.       Crack1 { scale <1, 2, 1.4> rotate <10, 0, -20> },
  867.       texture { special shiny { color Grnt19a }
  868.             scale <2, 4, 1.3> rotate <0, 0, 30> },
  869.       texture { special shiny { color Grnt18 }
  870.             scale <1.5, 3, 3> rotate <0, 0, 40> }
  871.    }
  872.  
  873. //------------- Light Coffee Marble with darker patches
  874. define Stone7
  875. texture {
  876.    layered
  877.       texture { special shiny { color Grnt9a }
  878.             scale <3.5, 5, 4> rotate <0, 0, 60> },
  879.       texture { special shiny { color Grnt6a }
  880.             scale <1, 3, 2> rotate <0, 0, 40> },
  881.       texture { shiny { color salmon } }
  882.    }
  883.  
  884. //------------- Gray Granite with white patches
  885. define Stone8
  886. texture {
  887.    layered
  888.       texture { special shiny { color Grnt9a }
  889.             scale <5, 3, 4> rotate <0, 0, 40> },
  890.       texture { special shiny { color Grnt0a }
  891.             scale <2, 3, 2> rotate <0, 0, -30> },
  892.       shiny_white
  893.    }
  894.  
  895. //------------- White & Light Blue Marble with light violets
  896. define Stone9
  897. texture {
  898.    layered
  899.       Crack1 { scale <1, 2, 1.4> rotate <10, 0, -20> },
  900.       texture { special shiny { color Grnt9 }
  901.             scale <1.2, 2.4, 1.2> rotate <0, 0, -30> rotate <40, 0, 0> }
  902.    }
  903.  
  904. //------------- Dark Brown & Tan swirl Granite with gray undertones
  905. define Stone10
  906. texture {
  907.    layered
  908.       texture { special shiny { color Grnt3a }
  909.             scale <1, 2, 1> rotate <0, 0, -50> },
  910.       texture { special shiny { color Grnt17a }
  911.             scale <3, 6, 2> rotate <0, 0, 50> },
  912.       shiny_black
  913.    }
  914.  
  915. //------------- Rose & White Marble with dark tan swirl
  916. define Stone11
  917. texture {
  918.    layered
  919.       Crack1 { scale <1, 2, 1.4> rotate <10, 0, -20> },
  920.       texture { special shiny { color Grnt2a }
  921.             scale <3, 3, 4> rotate <0, 0, 40> },
  922.       texture { special shiny { color Grnt15a }
  923.             scale <1.2, 3, 1.5> rotate <70, 0, 30> },
  924.       shiny_black
  925.    }
  926.  
  927. //------------- White & Pinkish Tan Marble
  928. define Stone12
  929. texture {
  930.    layered
  931.       texture { special shiny { color Grnt0a }
  932.             scale <1, 3, 2> rotate <0, 0, -30> },
  933.       texture { special shiny { color Grnt23 }
  934.             scale <1, 5, 1> rotate <0, 0, 50> }
  935.    }
  936.  
  937. //------------- Medium Gray Blue Marble
  938. define Stone13
  939. texture {
  940.    layered
  941.       texture { special shiny { color Grnt8a }
  942.             scale <1, 3, 2> rotate <0, 0, -30> },
  943.       texture { special shiny { color Grnt24 }
  944.             scale <2, 5, 2> rotate <0, 0, 50> }
  945.    }
  946.  
  947. //------------- Tan & Olive Marble with gray white veins
  948. define Stone14
  949. texture {
  950.    layered
  951.       texture { special shiny { color Grnt19a }
  952.             scale <1, 3, 1> rotate <0, 0, 40> },
  953.       texture { special shiny { color Grnt6 }
  954.             scale <2, 3, 2> rotate <0, 0, -30> }
  955.    }
  956.  
  957. //------------- Deep Gray Marble with white veining
  958. define Stone15
  959. texture {
  960.    layered
  961.       texture { special shiny { color Grnt8a }
  962.             scale <1, 2, 1> rotate <0, 0, 40> },
  963.       texture { special shiny { color Grnt20 }
  964.             scale <1, 2, 2> rotate <0, 0, -30> }
  965.    }
  966.  
  967. //------------- Peach & Yellow Marble with white veining
  968. define Stone16
  969. texture {
  970.    layered
  971.       texture { special shiny { color Grnt20a }
  972.             scale <1, 2, 1> rotate <0, 0, 40> },
  973.       texture { special shiny { color Grnt19a }
  974.             scale <2, 4, 2> rotate <0, 0, -30> },
  975.       texture { special shiny { color Grnt18 }
  976.             scale <1.3, 2, 2> rotate <0, 0, -30> }
  977.    }
  978.  
  979. //------------- White Marble with gray veining
  980. define Stone17
  981. texture {
  982.    layered
  983.       texture { special shiny { color Crack3 }
  984.             scale <1, 2, 1.4> rotate <10, 0, -20> },
  985.       texture { special shiny { color Grnt20 }
  986.             scale <1, 2, 2> rotate <0, 0, -30> }
  987.    }
  988.  
  989. //------------- Green Jade with white veining
  990. define Stone18
  991. texture {
  992.    layered
  993.       texture { special shiny { color Crack4 }
  994.             scale <0.7, 1, 1> rotate <10, 0, -20> },
  995.       texture { special shiny { color Grnt20a }
  996.             scale <2.5, 2, 0.5> rotate <0, 0, -50> },
  997.       texture { special shiny { color Grnt22 }
  998.             scale <1.5, 0.7, 0.5> rotate <0, 0, 40> },
  999.       texture { special shiny { color SeaGreen } }
  1000.    }
  1001.  
  1002. //------------- Peach Granite with white patches & green trim
  1003. define Stone19
  1004. texture {
  1005.    layered
  1006.       texture { special shiny { color Grnt20a }
  1007.             scale <2, 3, 1> rotate <10, 0, -20> },
  1008.       texture { special shiny { color Grnt26 }
  1009.             scale <1, 0.7, 0.5> rotate <0, 0, 40> }
  1010.    }
  1011.  
  1012. //------------- Brown & Olive Marble with white veining
  1013. define Stone20
  1014. texture {
  1015.    layered
  1016.       Crack1 { scale <1, 0.6, 1> rotate <10, 0, -20> },
  1017.       texture { special shiny { color Grnt20a }
  1018.             scale <1.9, 3, 0.5> rotate <0, 0, -50> },
  1019.       texture { special shiny { color Grnt12a }
  1020.             scale <1, 1.3, 2> rotate <0, 0, 40> },
  1021.       texture { special shiny { color Grnt27 }
  1022.             scale <0.7, 0.99, 0.7> rotate <0, 0, 40> }
  1023.    }
  1024.  
  1025. //------------- Red Marble with gray & white veining
  1026. define Stone21
  1027. texture {
  1028.    layered
  1029.       texture { special shiny { color Crack4 }
  1030.             scale <1, 0.6, 1> rotate <10, 0, -20> },
  1031.       texture { special shiny { color Grnt22 }
  1032.             scale <1, 2, 2> rotate <0, 0, 40> },
  1033.       texture { special shiny { color Grnt28 }
  1034.             scale <1.3, 2.5, 1.7> rotate <0, 0, 40> }
  1035.    }
  1036.  
  1037. //------------- Dark Tan Marble with gray & white veining
  1038. define Stone22
  1039. texture {
  1040.    layered
  1041.       texture { special shiny { color Crack4 }
  1042.             rotate <10, 0, -40> },
  1043.       texture { special shiny { color Grnt22 }
  1044.             scale <2, 4, 1.5> rotate <0, 0, -50> },
  1045.       texture { special shiny { color Grnt8a }
  1046.             scale <1, 2, 2> rotate <0, 0, 40> },
  1047.       texture { shiny { color tan } }
  1048.    }
  1049.  
  1050. //------------- Peach & Cream Marble with orange veining
  1051. define Stone23
  1052. texture {
  1053.    layered
  1054.       clear_yellow,
  1055.       Crack1 { scale <1, 2, 1.5> rotate <0, 0, 40> },
  1056.       texture { special shiny { color Grnt24a }
  1057.             scale <2, 1, 2> rotate <40, 0, 30> },
  1058.       texture { special shiny { color Grnt29 }
  1059.             scale <1, 1, 2> rotate <40, 0, 30> }
  1060.    }
  1061.  
  1062. //------------- Green & Tan Moss Marble
  1063. define Stone24
  1064. texture {
  1065.    layered
  1066.       texture { special shiny { color Grnt23a }
  1067.             scale <2, 1, 2> rotate <40, 0, -30> },
  1068.       texture { special shiny { color Grnt25 }
  1069.             scale <1, 1, 2> rotate <0, 0, 50> rotate <20, 0, 30> }
  1070.    }
  1071.  
  1072.