home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / maj / pvs / scene / tore.pov < prev    next >
Encoding:
Text File  |  1993-11-02  |  1.2 KB  |  80 lines

  1. // fichier d'exemple pour torus.exe
  2.  
  3. #include "shapes.inc"
  4. #include "colors.inc"
  5. #include "textures.inc"
  6.  
  7. #version 1.0
  8.  
  9. camera {
  10.    location  <0.0  2.0 -10.0>
  11.    look_at   <0.0  0.0   0.0>
  12.    up        <0.0  1.0   0.0>
  13.    right     <1.33 0.0   0.0>
  14. }
  15.  
  16. object { light_source { <50 100 0> colour White }}
  17.  
  18. object {
  19.    quartic {
  20.       <
  21.         1.0
  22.         0.0
  23.         0.0
  24.         0.0
  25.         2.0
  26.         0.0
  27.         0.0
  28.         2.0
  29.         0.0
  30.      -104.0
  31.         0.0
  32.         0.0
  33.         0.0
  34.         0.0
  35.         0.0
  36.         0.0
  37.         0.0
  38.         0.0
  39.         0.0
  40.         0.0
  41.         1.0
  42.         0.0
  43.         0.0
  44.         2.0
  45.         0.0
  46.        56.0
  47.         0.0
  48.         0.0
  49.         0.0
  50.         0.0
  51.         1.0
  52.         0.0
  53.      -104.0
  54.         0.0
  55.       784.0
  56.      >
  57.      // rayon majeur : 6.3
  58.      // rayon mineur : 3.5
  59.    }
  60.    bounded_by {
  61.       sphere { <0 0 0> 10 }
  62.    }
  63.    texture {
  64.       color Red
  65.       phong 1.0
  66.       diffuse 0.5
  67.    }
  68.    rotate <-45 0 0>
  69.    translate <0 0 20>
  70. }
  71.  
  72. object {
  73.    plane { <0.0  1.0  0.0> -20.0 }
  74.    texture {
  75.       checker color White color MidnightBlue
  76.       scale < 15.0 15.0 15.0 >
  77.    }
  78. }
  79.  
  80.