home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / maj / 2328 / setup3.pov < prev    next >
Text File  |  1993-11-22  |  2KB  |  111 lines

  1. // --- L-System Parser/Mutator --- Lj Lapre --- 
  2. // use with output?.inc generated by lparser -Bc
  3. // and change direction/zoom scale to get correct view
  4.  
  5. #include "colors.inc"
  6. #include "shapes.inc"
  7. #include "textures.inc"
  8.  
  9. // Choose 8 colors
  10.  
  11. #declare col_0  = colour red 1.0 green 1.0 blue 1.0
  12. #declare col_1  = colour red 0.8 green 0.498039 blue 0.196078
  13. #declare col_2  = colour red 1.0
  14. #declare col_3  = colour red 1.0 green 1.0
  15. #declare col_4  = colour green 1.0
  16. #declare col_5  = colour blue 1.0 green 1.0
  17. #declare col_6  = colour blue 1.0
  18. #declare col_7  = colour red 1.0 blue 1.0
  19.  
  20. // Setup camera
  21.  
  22. camera {
  23.     location  <200, 180, 250>
  24.     direction <0, 0, 2.0>
  25.     look_at   <0, 0, 0>
  26. }
  27.  
  28. // Setup light sources
  29.  
  30. object { light_source { <200, 180, 250> color White } }
  31.  
  32. object {  
  33.         blob {
  34.         threshold 0.5
  35. #include "output0.inc"
  36.         sturm
  37.         }
  38.         finish { ambient 0.3 diffuse 0.7 phong 1 }
  39.     pigment { color col_0 }
  40. }
  41.  
  42. object {  
  43.         blob {
  44.         threshold 0.5
  45. #include "output1.inc"
  46.         sturm
  47.         }
  48.         finish { ambient 0.3 diffuse 0.7 phong 1 }
  49.     pigment { color col_1 }
  50. }
  51.  
  52. object {  
  53.         blob {
  54.         threshold 0.5
  55. #include "output2.inc"
  56.         sturm
  57.         }
  58.         finish { ambient 0.3 diffuse 0.7 phong 1 }
  59.     pigment { color col_2 }
  60. }
  61.  
  62. object {  
  63.         blob {
  64.         threshold 0.5
  65. #include "output3.inc"
  66.         sturm
  67.         }
  68.         finish { ambient 0.3 diffuse 0.7 phong 1 }
  69.     pigment { color col_3 }
  70. }
  71.  
  72. object {  
  73.         blob {
  74.         threshold 0.5
  75. #include "output4.inc"
  76.         sturm
  77.         }
  78.         finish { ambient 0.3 diffuse 0.7 phong 1 }
  79.     pigment { color col_4 }
  80. }
  81.  
  82. object {  
  83.         blob {
  84.         threshold 0.5
  85. #include "output5.inc"
  86.         sturm
  87.         }
  88.         finish { ambient 0.3 diffuse 0.7 phong 1 }
  89.     pigment { color col_5 }
  90. }
  91.  
  92. object {  
  93.         blob {
  94.         threshold 0.5
  95. #include "output6.inc"
  96.         sturm
  97.         }
  98.         finish { ambient 0.3 diffuse 0.7 phong 1 }
  99.     pigment { color col_6 }
  100. }
  101.  
  102. object {  
  103.         blob {
  104.         threshold 0.5
  105. #include "output7.inc"
  106.         sturm
  107.         }
  108.         finish { ambient 0.3 diffuse 0.7 phong 1 }
  109.     pigment { color col_7 }
  110. }
  111.