home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / RAYTRACE / _POV_DAT / LION / LIONFIN.INC < prev    next >
Encoding:
Text File  |  1993-05-04  |  4.7 KB  |  161 lines

  1. /*-----------------------------------------------------------------------------*/
  2. /* This file generated by Connect The Dots Smoother v2.0d (c) 1992 Truman Brown*/
  3. /*-----------------------------------------------------------------------------*/
  4.  
  5. #declare YourTexture =
  6.     texture {
  7.        material_map {<1 -1 0> gif "lionfin1.gif" map_type 0 interpolate 2
  8.          texture {color White alpha 0.9}
  9.          texture {   
  10.            onion
  11.            color_map {
  12.              [0.0 0.025 color White color White]
  13.              [0.025 0.1 color White alpha 0.5 color White alpha 0.7]
  14.              [0.1 0.125 color White color White]
  15.              [0.125 0.2 color White alpha 0.5 color White alpha 0.7]
  16.              [0.2 0.225 color White color White]
  17.              [0.225 0.3 color White alpha 0.5 color White alpha 0.7]
  18.              [0.3 0.325 color White color White]
  19.              [0.325 0.4 color White alpha 0.5 color White alpha 0.7]
  20.              [0.4 0.425 color White color White]
  21.              [0.425 0.5 color White alpha 0.5 color White alpha 0.7]
  22.              [0.5 0.525 color White color White]
  23.              [0.525 0.6 color White alpha 0.5 color White alpha 0.7]
  24.              [0.6 1.0 color DarkBrown color DarkBrown]
  25.            }
  26.          scale <.25 .25 .25>
  27.          }
  28.        }
  29.        translate <-.35 -.5 0>
  30.        scale <10 10 10>
  31.        ambient   0.3
  32.        diffuse   0.6
  33.        specular  1.0
  34.        roughness 0.001
  35.     }
  36.  
  37. #declare Dot =
  38.     quadric {
  39.        < 1.0  1.0  1.0>
  40.        < 0.0  0.0  0.0>
  41.        < 0.0  0.0  0.0>
  42.         -1.0
  43.     }
  44.  
  45. #declare Connector_1 = 
  46.    object {
  47.       quadric {
  48.          < 0.0  1.0  1.0>
  49.          < 0.0  0.0  0.0>
  50.          < 0.0  0.0  0.0>
  51.           -1.0
  52.       }
  53.       clipped_by {
  54.          plane { < 1.0  0.0  0.0> 1.0 }
  55.          plane { <-1.0  0.0  0.0> 0.0 }
  56.       }
  57.    }
  58.  
  59. #declare Connector_2 =
  60.    quadric {
  61.       < 1.0 -1.0  1.0>
  62.       < 0.0  0.0  0.0>
  63.       < 0.0  0.0  0.0>
  64.         0.0
  65.       rotate < 0.0  0.0  90.0>
  66.    }
  67.  
  68. #declare transx1 = 0
  69. #declare transy1 = 0
  70. #declare transz1 = 0
  71.  
  72. #declare transx2 = 0
  73. #declare transy2 = 0
  74. #declare transz2 = 0
  75.  
  76. #declare scalex1 = 1
  77. #declare scaley1 = 1
  78. #declare scalez1 = 1
  79.  
  80. /*----------------------------------------------------------------------------*/
  81.  
  82. #declare Lionfin =
  83.    composite {
  84.       object {
  85.          quadric {
  86.             Dot
  87.             scale     < 0.500000  0.500000  0.500000>
  88.             translate <-2.974950 -0.052190  0.000000>
  89.          }
  90.          texture { YourTexture }
  91.       }
  92.       object {
  93.          quadric { Connector_2 }
  94.          clipped_by {
  95.             plane { < 1.000000  0.000000  0.000000>  0.846606 }
  96.             plane { < 1.000000  0.000000  0.000000>  0.423303 inverse }
  97.          }
  98.          translate <-0.423303  0.000000  0.000000>
  99.          scale     < 1.590704  1.000000  1.000000>
  100.          translate <-0.266110  0.000000  0.000000>
  101.          translate <-2.974950 -0.052190  0.000000>
  102.          texture { YourTexture }
  103.       }
  104.       object {
  105.          quadric {
  106.             Dot
  107.             translate <-2.035490 -0.052190  0.000000>
  108.          }
  109.          texture { YourTexture }
  110.       }
  111.       object {
  112.          quadric { Connector_2 }
  113.          clipped_by {
  114.             plane { < 1.000000  0.000000  0.000000>  1.603615 }
  115.             plane { < 1.000000  0.000000  0.000000>  0.801807 inverse }
  116.          }
  117.          translate <-0.801807  0.000000  0.000000>
  118.          scale     < 1.341751  1.000000  1.000000>
  119.          translate <-0.597583  0.000000  0.000000>
  120.          rotate    < 0.000000  0.000000  3.576185>
  121.          translate <-2.035490 -0.052190  0.000000>
  122.          texture { YourTexture }
  123.       }
  124.       object {
  125.          quadric {
  126.             Dot
  127.             scale     < 2.000000  2.000000  2.000000>
  128.             translate <-0.365340  0.052190  0.000000>
  129.          }
  130.          texture { YourTexture }
  131.       }
  132.       object {
  133.          quadric { Connector_2 }
  134.          clipped_by {
  135.             plane { < 1.000000  0.000000  0.000000>  2.590739 }
  136.             plane { < 1.000000  0.000000  0.000000>  1.727159 inverse }
  137.          }
  138.          translate <-1.727159  0.000000  0.000000>
  139.          scale     < 1.712729  1.000000  1.000000>
  140.          translate <-1.008425  0.000000  0.000000>
  141.          translate <-0.365340  0.052190  0.000000>
  142.          texture { YourTexture }
  143.       }
  144.       object {
  145.          quadric {
  146.             Dot
  147.             scale     < 3.000000  3.000000  3.000000>
  148.             translate < 1.617950  0.052190  0.000000>
  149.          }
  150.          texture { YourTexture }
  151.       }
  152.       bounded_by {
  153.          quadric {
  154.             Dot
  155.             scale < 5.862914  5.862914  5.862914>
  156.             translate < 0.571500  0.052190  0.000000>
  157.          }
  158.       }
  159.    }
  160.  
  161.