home *** CD-ROM | disk | FTP | other *** search
- // Un parc touristique, pur produit de la réalité virtuelle de Luxart.
-
- #inclure couleurs.inc
-
- environnement
- {
- position_camera 0 -300 100
- pointe_vers 0 0 60
- orientation_z 0 0 1
- champ_visuel 40
- resolution 640 480
- facteur_proportionnel 1.3333
- anti_crenelage recursif
- seuil 4
- fond { gris.pal orientation_z 0 0 -1 }
- atmosphere .2 .2 .2
- }
-
- // le soleil
-
- source_lumineuse { type point puissance 0 position -180 -300 500 intensite .9 .9 .9 }
-
- // la pelouse
-
- matiere
- {
- diffuse
- {
- plaquer_image herbe1.lux
- centre 0 0 0
- cadre 1 0 0
- normale 0 0 1
- ajuster 30
- }
- }
-
- disque { centre 0 0 0 normale 0 0 1 rayon 10000 }
-
- // le mur de brique du fond
-
- matiere
- {
- diffuse
- {
- plaquer_image brique2.lux
- centre 0 0 0
- cadre 1 0 0
- normale 0 1 0
- ajuster 95
- }
- ambiante .1 .1 .1
- }
-
- polygone
- {
- sommets 4
- sommet -1000 210 0
- sommet -1000 210 110
- sommet 1000 210 110
- sommet 1000 210 0
- }
-
- /* les arbres fractals créés algorithmiquement.
- (option 'Arbre fractal' du menu Procédures) */
-
- #declarer TRONC +
- matiere { +
- texture { +
- turbulence { +
- ajuster .1 .9 1 +
- amplitude 1.3 +
- cycle 3 +
- } +
- echantillon concentrique +
- ajuster .5 3 3 +
- deplacer 0 0 5 +
- transition .5 +
- rayon .15 +
- rayon .06 +
- matiere { +
- texture { +
- echantillon fractal +
- ajuster 3 .03 .03 +
- cycle 2 +
- matiere { diffuse Bois_Moyen } +
- matiere { diffuse Bois_Clair } +
- } +
- } +
- matiere { +
- texture { +
- echantillon fractal +
- ajuster 3 .03 .03 +
- cycle 2 +
- matiere { diffuse Bois_Fonce } +
- matiere { diffuse Marron_Sombre } +
- } +
- } +
- ajuster 2 8 8 +
- } +
- }
-
- #inclure arbre.inc // ce qu'a calculé la procédure est inclus dans ce
- // fichier script objet.
-
- bloc { pivoter 0 0 45 deplacer 50 -4 0 }
- #inclure arbre.inc
- fin_bloc
-
- bloc { pivoter 0 0 132 deplacer -75 20 0 }
- #inclure arbre.inc
- fin_bloc
-
- bloc { pivoter 0 0 223 deplacer -40 90 0 }
- #inclure arbre.inc
- fin_bloc
-
- bloc { pivoter 0 0 331 deplacer 43 90 0 }
- #inclure arbre.inc
- fin_bloc
-
- bloc { pivoter 0 0 41 deplacer 95 45 0 }
- #inclure arbre.inc
- fin_bloc
-
- bloc { pivoter 0 0 25 deplacer -94 64 0 }
- #inclure arbre.inc
- fin_bloc
-
- bloc { pivoter 0 0 25 deplacer -115 80 0 }
- #inclure arbre.inc
- fin_bloc
-
- // les colonnes qui supportent les statues
-
- matiere
- {
- texture
- {
- echantillon concentrique
- ajuster 0 1 1
- turbulence
- {
- cycle 4
- amplitude 4
- }
- transition .7
- rayon 2.2
- rayon 1.5
- matiere { diffuse Noir speculaire 20 Blanc }
- matiere { diffuse Blanc speculaire 20 Blanc }
- }
- }
-
- bloc { pivoter 0 0 45 deplacer -55 -40 0 ajuster 1.1 }
- #inclure colonne.inc
- fin_bloc
-
- bloc { pivoter 0 0 -45 deplacer 55 -40 0 ajuster 1.1 }
- #inclure colonne.inc
- fin_bloc
-
- // les deux statues de pierre
-
- matiere
- {
- bosses
- {
- turbulence
- {
- ajuster .025 .025 .025
- amplitude .5
- cycle 5
- }
- }
- diffuse Etain
- reflexion .1 .1 .1
- speculaire 50 Blanc
- force_crenelage
- }
-
- bloc { pivoter 0 0 45 deplacer -11.7 -9 14 ajuster 5 }
- #inclure statue.inc
- fin_bloc
-
- matiere
- {
- bosses
- {
- turbulence
- {
- ajuster .025 .025 .025
- amplitude .5
- cycle 5
- }
- }
- diffuse Cuivre
- reflexion .1 .1 .1
- speculaire 60 Blanc
- force_crenelage
- }
-
- bloc { pivoter 0 0 -45 deplacer 11.7 -9 14 ajuster 5 }
- #inclure statue.inc
- fin_bloc
-
- // un ciel nuageux
-
- matiere
- {
- texture
- {
- echantillon fractal
- ajuster 1000 700 700
- cycle 2
- transition .9
- turbulence
- {
- amplitude 4
- cycle 3
- }
- matiere { ambiante Or }
- matiere { ambiante Blanc }
- }
- }
-
- disque
- {
- centre 0 0 580
- normale 0 0 -1
- rayon 30000
- }
-