home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / decset / dummy.pov < prev    next >
Text File  |  1994-01-19  |  4KB  |  191 lines

  1. //This file is a "dummy" file with simple primitives and textures replacing the
  2. //objects and textures to be used in the final scene. This file may be rendered
  3. //as is without any other .inc, .pov, or .gif files. Comment out includes, 
  4. //cameras and lights and rename to dummy.inc to include in another file.
  5.  
  6. #include "colors.inc"
  7. #include "textures.inc"
  8. #include "shapes.inc"
  9.  
  10. #declare BezFlatness = 0.01
  11. #declare BezUStep    = 3
  12. #declare BezVStep    = 3
  13.  
  14. camera {  //  Camera Camera01
  15.   location  <25, -5, -25>
  16.   //location  <0, 5, -50>
  17.   direction <0.0,     2.0,  0>
  18.   sky       <0.0,     1.0,  0.0>
  19.   up        <0.0,     1.0,  0.0>
  20.   right     <1.3333,  0.0,  0.0>
  21.   look_at   <0.0, 0.0, 0.0>
  22. }
  23.  
  24. object {   // Light source Light001
  25.   light_source {
  26.     <-5000, 5000, -5000>
  27.     color  White
  28.   }
  29. }
  30.  
  31. object {   // Light source Light002
  32.   light_source {
  33.     <5000, 5000, -5000>
  34.     color  White
  35.   }
  36. }
  37.  
  38. #declare Dummy = texture {
  39.  pigment { color Red }
  40.  finish {
  41.   ambient   0.10
  42.   diffuse   0.50
  43.   phong   1.00
  44.   phong_size 100.00
  45.  }
  46. }
  47.  
  48.  
  49. #declare Texture01 = texture {
  50.  pigment { color White }
  51.  finish {
  52.   ambient   0.10
  53.   diffuse   0.50
  54.   brilliance   1.00
  55.   phong   0.60
  56.   phong_size  20.00
  57.  }
  58. }
  59.  
  60.  
  61. #declare Decanterbody = object {
  62.   sphere {<0,0,0>,1}
  63.   scale <2, 2, 2.5>
  64. }
  65.  
  66. #declare Decanterneck = cylinder {
  67.   <0,0,1>, <0,0,0>, 1
  68.   scale <0.5, 0.5, 2.5>
  69.   translate <0, 0, 2.261622>
  70. }
  71.  
  72. #declare lipcyl = cylinder {
  73.   <0,0,1>, <0,0,0>, 1
  74.   scale <1.3, 1.3, 0.1>
  75.   translate <0, 0, 4.75>
  76. }
  77.  
  78. #declare Decantertop = union {
  79.   object { Decanterbody }
  80.   object { Decanterneck }
  81.   object { lipcyl }
  82. }
  83.  
  84. #declare Stoppersphere = object {
  85.   sphere {<0,0,0>,1}
  86.   scale <1, 1, 1.25>
  87.   translate <0, 0, 5.639282>
  88. }
  89.  
  90. #declare Stopperball2 = object {
  91.   sphere {<0,0,0>,1}
  92.   scale <0.15, 0.15, 0.15>
  93.   translate <0, 0, 7>
  94. }
  95.  
  96. #declare Stopper = union {
  97.   object { Stoppersphere }
  98.   object { Stopperball2 }
  99. }
  100.  
  101. #declare Stembead = object {
  102.   sphere {<0,0,0>,1}
  103.   scale <0.5, 0.5, 0.5>
  104.   translate <0, 0, -2.947915>
  105. }
  106.  
  107. #declare fishsphere = object {
  108.   sphere {<0,0,0>,1}
  109.   scale <1.25, 0.1, 1>
  110.   translate <0, 0, 8>
  111. }
  112.  
  113. #declare Basecone = cone {
  114.   <0,0,0>, 0
  115.   <0,0,1>, 1
  116.   scale <1.5, 1.5, 5>
  117.   rotate <-180, 0, 0>
  118.   translate <0, 0, -3.180343>
  119. }
  120.  
  121. union {   // Decanter
  122.   object { Decantertop }
  123.   object { Stopper }
  124.   object { Stembead }
  125.   object { fishsphere }
  126.   object { Basecone }
  127.   texture {
  128.     Texture01
  129.   }
  130.   rotate <-90, 0, 0>  //rotated so y=up
  131. }
  132.  
  133.  
  134. box {   // floor - comment out of final scene
  135.   <-1, -1, -1>, <1, 1, 1>
  136.   texture {
  137.     Dummy
  138.   }
  139.   scale <50, 0.00001, 50>
  140.   translate <0, -8.2, 0>
  141. }
  142.  
  143.  
  144. #declare Basecone2 = cone {
  145.   <0,0,0>, 0
  146.   <0,0,1>, 1
  147.   scale <1.5, 1.5, 5>
  148.   rotate <-180, 0, 0>
  149.   translate <0, 0, -3.147834>
  150. }
  151.  
  152. #declare Gobletsphere1 = object {
  153.   sphere {<0,0,0>,1}
  154.   scale <1.585, 1.585, 3.922718>
  155.   translate <0, 0, 0.438408>
  156. }
  157.  
  158. #declare Stembead2 = object {
  159.   sphere {<0,0,0>,1}
  160.   scale <0.5, 0.5, 0.5>
  161.   translate <0, 0, -2.947915>
  162. }
  163.  
  164. union {   // Goblet1
  165.   object { Basecone2 }
  166.   object { Gobletsphere1 }
  167.   object { Stembead2 }
  168.   texture {
  169.     Texture01
  170.   }
  171.   scale <0.85, 0.85, 0.85>
  172.   rotate <-90, 0, 0> //rotated so y=up
  173.   translate <-6, -1.25, 0>
  174. }
  175.  
  176.  
  177. union {   // Goblet2
  178.   object { Basecone2 }
  179.   object { Gobletsphere1 }
  180.   object { Stembead2 }
  181.   texture {
  182.     Texture01
  183.   }
  184.   scale <0.85, 0.85, 0.85>
  185.   rotate <-90, 0, 0>  //rotated so y=up
  186.   translate <6, -1.25, 0>
  187. }
  188.  
  189.  
  190.  
  191.