home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / dos / fr / luxart20 / scenes / parc.art < prev    next >
Text File  |  1994-09-28  |  5KB  |  232 lines

  1. // Un parc touristique, pur produit de la réalité virtuelle de Luxart.
  2.  
  3. #inclure couleurs.inc
  4.  
  5. environnement
  6. {
  7.  position_camera 0 -300 100
  8.  pointe_vers 0 0 60
  9.  orientation_z 0 0 1
  10.  champ_visuel 40
  11.  resolution 640 480
  12.  facteur_proportionnel  1.3333
  13.  anti_crenelage recursif
  14.  seuil 4
  15.  fond { gris.pal  orientation_z 0 0 -1 }
  16.  atmosphere .2 .2 .2
  17. }
  18.  
  19. // le soleil
  20.  
  21. source_lumineuse { type point puissance 0 position -180 -300 500 intensite .9 .9 .9 }
  22.  
  23. // la pelouse
  24.  
  25. matiere
  26. {
  27.  diffuse
  28.  {
  29.   plaquer_image herbe1.lux
  30.   centre 0 0 0
  31.   cadre 1 0 0
  32.   normale 0 0 1
  33.   ajuster 30
  34.  }
  35. }
  36.  
  37. disque { centre 0 0 0 normale 0 0 1 rayon 10000 }
  38.  
  39. // le mur de brique du fond
  40.  
  41. matiere
  42. {
  43.  diffuse
  44.  {
  45.   plaquer_image brique2.lux
  46.   centre 0 0 0
  47.   cadre 1 0 0
  48.   normale 0 1 0
  49.   ajuster 95
  50.  }
  51.  ambiante .1 .1 .1
  52. }
  53.  
  54. polygone
  55. {
  56.  sommets 4
  57.  sommet -1000 210 0
  58.  sommet -1000 210 110
  59.  sommet 1000 210 110
  60.  sommet 1000 210 0
  61. }
  62.   
  63. /* les arbres fractals créés algorithmiquement.
  64.    (option 'Arbre fractal' du menu Procédures)  */
  65.  
  66. #declarer TRONC +
  67. matiere { +
  68.          texture { +
  69.                   turbulence { +
  70.                               ajuster  .1 .9 1 +
  71.                               amplitude  1.3 +
  72.                               cycle  3 +
  73.                              } +
  74.                   echantillon concentrique +
  75.                   ajuster  .5 3 3 +
  76.                   deplacer  0 0 5 +
  77.                   transition  .5 +
  78.                   rayon  .15 +
  79.                   rayon  .06 +
  80.                   matiere { +
  81.                            texture { +
  82.                                     echantillon fractal +
  83.                                     ajuster 3 .03 .03 +
  84.                                     cycle 2 +
  85.                                     matiere { diffuse Bois_Moyen } +
  86.                                     matiere { diffuse Bois_Clair } +
  87.                                    } +
  88.                           } +
  89.                   matiere { +
  90.                            texture { +
  91.                                     echantillon fractal +
  92.                                     ajuster 3 .03 .03 +
  93.                                     cycle 2 +
  94.                                     matiere { diffuse Bois_Fonce    } +
  95.                                     matiere { diffuse Marron_Sombre } +
  96.                                    } +
  97.                           } +
  98.                    ajuster 2 8 8 +
  99.                  } +
  100. }
  101.  
  102. #inclure arbre.inc  // ce qu'a calculé la procédure est inclus dans ce
  103.                     // fichier script objet.
  104.  
  105. bloc { pivoter 0 0 45 deplacer 50 -4 0 }
  106. #inclure arbre.inc
  107. fin_bloc
  108.  
  109. bloc { pivoter 0 0 132 deplacer -75 20 0 }
  110. #inclure arbre.inc
  111. fin_bloc
  112.  
  113. bloc { pivoter 0 0 223 deplacer -40 90 0 }
  114. #inclure arbre.inc
  115. fin_bloc
  116.  
  117. bloc { pivoter 0 0 331 deplacer 43 90 0 }
  118. #inclure arbre.inc
  119. fin_bloc
  120.  
  121. bloc { pivoter 0 0 41 deplacer 95 45 0 }
  122. #inclure arbre.inc
  123. fin_bloc
  124.  
  125. bloc { pivoter 0 0 25 deplacer -94 64 0 }
  126. #inclure arbre.inc
  127. fin_bloc
  128.  
  129. bloc { pivoter 0 0 25 deplacer -115 80 0 }
  130. #inclure arbre.inc
  131. fin_bloc
  132.  
  133. // les colonnes qui supportent les statues
  134.  
  135. matiere
  136. {
  137.  texture
  138.  {
  139.   echantillon concentrique
  140.   ajuster 0 1 1
  141.   turbulence
  142.   {
  143.    cycle 4
  144.    amplitude 4
  145.   }
  146.   transition .7
  147.   rayon 2.2
  148.   rayon 1.5
  149.   matiere { diffuse Noir speculaire 20 Blanc }
  150.   matiere { diffuse Blanc speculaire 20 Blanc }
  151.  }
  152. }
  153.  
  154. bloc { pivoter 0 0 45 deplacer -55 -40 0 ajuster 1.1 }
  155. #inclure colonne.inc
  156. fin_bloc
  157.  
  158. bloc { pivoter 0 0 -45 deplacer 55 -40 0 ajuster 1.1 }
  159. #inclure colonne.inc
  160. fin_bloc
  161.    
  162. // les deux statues de pierre
  163.  
  164. matiere
  165. {
  166.  bosses
  167.  {
  168.   turbulence
  169.   {
  170.    ajuster .025 .025 .025
  171.    amplitude .5
  172.    cycle 5
  173.   }
  174.  }
  175.  diffuse Etain
  176.  reflexion .1 .1 .1
  177.  speculaire 50 Blanc
  178.  force_crenelage
  179. }
  180.  
  181. bloc { pivoter 0 0 45 deplacer -11.7 -9 14 ajuster 5 }
  182. #inclure statue.inc
  183. fin_bloc
  184.  
  185. matiere
  186. {
  187.  bosses
  188.  {
  189.   turbulence
  190.   {
  191.    ajuster .025 .025 .025
  192.    amplitude .5
  193.    cycle 5
  194.   }
  195.  }
  196.  diffuse Cuivre
  197.  reflexion .1 .1 .1
  198.  speculaire 60 Blanc
  199.  force_crenelage
  200. }
  201.  
  202. bloc { pivoter 0 0 -45 deplacer 11.7 -9 14 ajuster 5 }
  203. #inclure statue.inc
  204. fin_bloc
  205.  
  206. // un ciel nuageux
  207.  
  208. matiere
  209. {
  210.  texture
  211.  {
  212.   echantillon fractal
  213.   ajuster 1000 700 700
  214.   cycle 2
  215.   transition .9
  216.   turbulence
  217.   {
  218.    amplitude 4
  219.    cycle 3
  220.   }
  221.   matiere { ambiante Or }
  222.   matiere { ambiante Blanc }
  223.  }
  224. }
  225.  
  226. disque
  227. {
  228.  centre 0 0 580
  229.  normale 0 0 -1
  230.  rayon 30000
  231. }
  232.