home *** CD-ROM | disk | FTP | other *** search
- // Un script décrivant un paysage et qui est prévu pour inclure la
- // description d'un terrain plasma généré par procédure (TERRAIN.INC)
-
- #inclure couleurs.inc
-
- environnement
- {
- position_camera 14 -28 25
- pointe_vers 14 30 25
- orientation_z 0 0 1
- champ_visuel 75
- resolution 640 480
- seuil 8
- brouillard 0.00007
- anti_crenelage recursif
- facteur_proportionnel 1.3333
- artefact
- fond Bleu_Ciel_Clair
- }
-
- // le soleil
-
- source_lumineuse
- {
- type point
- puissance 0
- position 200 -250 300
- intensite .72 .73 .74
- }
-
- // la montagne
-
- matiere
- {
- texture
- {
- echantillon fractal
- cycle 3
- ajuster .5 .5 .5
- matiere { diffuse Vert_Chasseur }
- matiere { diffuse Kaki }
- }
- bosses
- {
- turbulence
- {
- ajuster .125 .125 .05
- amplitude .3
- cycle 8
- }
- }
- force_crenelage
- }
-
- // Les coordonnées du bloc ci-dessous devront être modifiées chaque fois
- // qu'un nouveau terrain généré par la procédure 'Terrain Plasma' est utilisé
-
- bloc { pivoter 0 0 75 deplacer 38 -14 0 }
- #inclure terrain.inc
- fin_bloc
-
- // la mer
-
- matiere
- {
- reflexion .8 .8 .8
- speculaire 50 Blanc
- bosses
- {
- turbulence
- {
- amplitude .2
- cycle 4
- }
- }
- }
-
- disque
- {
- centre 0 0 13
- normale 0 0 1
- rayon 30000
- }
-
- // le ciel
-
- matiere
- {
- texture
- {
- echantillon fractal
- ajuster 1000 400 650
- cycle 2
- transition .8
- turbulence
- {
- amplitude 4
- cycle 4
- }
- matiere { ambiante Bleu_Ciel }
- matiere { ambiante Argent2 }
- }
- }
-
- disque
- {
- centre 0 0 800
- normale 0 0 -1
- rayon 30000
- }
-