home *** CD-ROM | disk | FTP | other *** search
- // Un script pour tester le résultat d'un rendu lorsque l'on utilise
- // l'ouverture du diaphragme et la profondeur de champ.
-
- #inclure couleurs.inc
-
- environnement
- {
- position_camera 8 0 3
- pointe_vers 0 0 0
- orientation_z 0 0 1
- champ_visuel 45
- resolution 640 480
- anti_crenelage recursif
- seuil 2
- facteur_proportionnel 1.3333
-
- ouverture_diaphragme .2
- profondeur_champ 8.5
- quantite 4
- }
-
- source_lumineuse
- {
- type point
- puissance 0
- position -2 1 4
- intensite .7 .7 .7
- }
-
- source_lumineuse
- {
- type point
- puissance 0
- position 10 1 8
- intensite .4 .4 .4
- }
-
- // le parquet
-
- matiere
- {
- diffuse
- {
- plaquer_image parquet1.lux
- centre 0 0 0
- cadre 1 0 0
- normale 0 0 1
- ajuster 3
- }
- }
-
- disque
- {
- centre 0 0 0
- normale 0 0 1
- rayon 1000
- }
-
- // Disposition des trois boules alignées dans le champ de vision
-
- matiere
- {
- diffuse Rouge
- reflexion .2 .2 .2
- speculaire 30
- }
-
- sphere { centre 0 0 0.5 rayon 1.0 }
-
- matiere
- {
- diffuse Vert
- reflexion .2 .2 .2
- speculaire 30
- }
-
- sphere { centre -3 1 1.5 rayon 1.0 }
-
- matiere
- {
- diffuse Bleu
- reflexion .2 .2 .2
- speculaire 30
- }
-
- sphere { centre 3 -1 1.0 rayon 1.0 }
-