home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / rex5 / rextex.inc < prev    next >
Text File  |  1993-01-19  |  3KB  |  150 lines

  1. //--- Textures For Space Rex    & CTDS shapes
  2.  
  3. #declare Gold3 = 
  4. texture {  
  5.     0.02  
  6.     ambient 0.2 
  7.     diffuse 0.4 
  8.     colour red 0.71 green 0.65 blue 0.26
  9.     reflection 0.6 
  10.     brilliance 8 
  11.     specular 0.4 
  12. }
  13.  
  14. //--- Dark Metallic Steel
  15. #declare HTex = 
  16. texture {  
  17.     0.02  
  18.     ambient 0.2 
  19.     diffuse 0.5 
  20.         color DarkSlateGray
  21.     reflection 0.6 
  22.     brilliance 8 
  23.     specular 0.4 
  24. }
  25.  
  26. #declare RayGunGreen = 
  27. texture {  
  28.     0.02  
  29.     ambient 0.2 
  30.     diffuse 0.3 
  31.     colour red 0.21 green 0.65 blue 0.44
  32.     reflection 0.5 
  33.     brilliance 6 
  34.     specular 0.4 
  35. }
  36.  
  37. #declare LaserDust =
  38. texture {
  39.  color Clear
  40.  alpha .99
  41.  refraction .7
  42.  ior 2
  43.  ambient 1
  44.  diffuse 0
  45. }
  46. texture {
  47.    gradient <1 0 0>
  48.    color_map {
  49.      [0 .6 color Yellow alpha .5 color Clear]
  50.      [.6 1 color Clear color Clear]
  51.    }
  52.    scale <33 1 1>
  53. }
  54.  
  55.  
  56.  
  57.  
  58. #declare Laser =
  59. texture {
  60.   color Red
  61.   ambient 1
  62.   diffuse .5
  63. }
  64.  
  65.  
  66. #declare EarComm_Texture     = texture { Gold3 }
  67. #declare ArmBand_Texture     = texture { Gold3 }
  68. #declare Arm_Texture         = texture { HTex }
  69. #declare Elbow_Texture        = texture { Gold3 }
  70. #declare Shoulder_Texture     = texture { HTex }
  71. #declare Knob_Texture         = texture { Gold3 }
  72. #declare Helmet_Texture        = texture { HTex }
  73. #declare Neck_Texture         = texture { Gold3 }
  74. #declare NeckRing_Texture     = texture { HTex }
  75. #declare Harness_Texture    = texture { Gold3 }
  76. #declare Chest_Texture         = texture { HTex }
  77. #declare Stomach_Texture     = texture { HTex }
  78. #declare EyeTexture         = texture { HTex }
  79. #declare Wire_Texture         = texture { Gold3 }
  80. #declare FM             = texture { Gold3 }
  81. #declare HandTexture        = texture { Gold3 }
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91. //--- CTDS Parts 
  92. // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  93.  
  94.  
  95. #declare YourTexture =      texture {
  96.        color red 0.556863 green 0.419608 blue 0.137255
  97.        ambient   0.1
  98.        diffuse   0.6
  99.        phong 1
  100.     }
  101.  
  102. #declare Dot =
  103.     quadric {
  104.        < 1.0  1.0  1.0>
  105.        < 0.0  0.0  0.0>
  106.        < 0.0  0.0  0.0>
  107.         -1.0
  108.     }
  109.  
  110.  
  111. #declare Connector_1 = 
  112.    object {
  113.       quadric {
  114.          < 0.0  1.0  1.0>
  115.          < 0.0  0.0  0.0>
  116.          < 0.0  0.0  0.0>
  117.           -1.0
  118.       }
  119.       clipped_by {
  120.          plane { < 1.0  0.0  0.0> 1.0 }
  121.          plane { <-1.0  0.0  0.0> 0.0 }
  122.       }
  123.    }
  124.  
  125.  
  126. #declare Connector_2 =
  127.    quadric {
  128.       < 1.0 -1.0  1.0>
  129.       < 0.0  0.0  0.0>
  130.       < 0.0  0.0  0.0>
  131.         0.0
  132.       rotate < 0.0  0.0  90.0>
  133.    }
  134.  
  135. #declare Connector_4 = 
  136. intersection {
  137.       quadric {
  138.          < 0.0  1.0  1.0>
  139.          < 0.0  0.0  0.0>
  140.          < 0.0  0.0  0.0>
  141.           -1.0
  142.       }
  143.          plane { < 1.0  0.0  0.0> 1.0 }
  144.          plane { <-1.0  0.0  0.0> 0.0 }
  145.       }
  146.  
  147.  
  148.  
  149.  
  150.