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

  1. /* Second test pour le rendu des ombres douces.
  2.    Attention, il y a 11 sources de lumière. Si vous ne possédez pas
  3.    de 486DX, prévoyez de partir en vacances après avoir lancé le calcul. */
  4.  
  5. #inclure couleurs.inc
  6.  
  7. environnement
  8. {
  9.  position_camera 5 -20 20
  10.  pointe_vers 0 0 0
  11.  orientation_z 0 0 1
  12.  champ_visuel 50
  13.  resolution 640 480
  14.  anti_crenelage recursif
  15.  seuil 2
  16.  facteur_proportionnel 1.333
  17.  fond { gris.pal }
  18.  atmosphere Noir
  19. }
  20.  
  21. // Un sol blanc pour mieux faire ressortir les ombres douces
  22.  
  23. matiere { diffuse Blanc }
  24. disque { centre 0 0 0 normale 0 0 1 rayon 1000 }
  25.  
  26. // le néon
  27.  
  28. matiere
  29. {
  30.  ambiante Blanc
  31.  refraction Blanc
  32. }
  33.  
  34. cylindre
  35. {
  36.  haut -6 0 10
  37.  base 6 0 10
  38.  rayon 1
  39. }
  40.  
  41. // le gaz à l'intérieur du néon pour produire la lumière
  42.  
  43. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position -5 0 10 }
  44. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position -4 0 10 }
  45. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position -3 0 10 }
  46. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position -2 0 10 }
  47. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position -1 0 10 }
  48. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position  0 0 10 }
  49. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position  1 0 10 }
  50. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position  2 0 10 }
  51. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position  3 0 10 }
  52. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position  4 0 10 }
  53. source_lumineuse { type ampoule rayon .5 douceur 4 puissance 2 intensite 10 10 10 position  5 0 10 }
  54.  
  55. // les 5 objets répartis sur le sol
  56.  
  57. matiere
  58. {
  59.  diffuse .5 .5 .5
  60.  reflexion .5 .5 .5
  61. }
  62.  
  63. sphere { centre 4 2 1 rayon 1 }
  64. sphere { centre -4 -2 2 rayon 2 }
  65. sphere { centre 1 -5 3 rayon 3 }
  66. cylindre { haut -2 3 0 base -2 3 4 rayon 1 }
  67. disque { centre -2 3 4 normale 0 0 1 rayon 1 }
  68. cone { base 6 3 0 tete 6 3 4 rayon_base 1 rayon_tete 0 }
  69.