Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###
- # Use all scene modifiers
- imagesize 800
- background 0.6 0.3 0.3
- ambient 0.5 0.4 0.2
- angle 45.0
- ###
- # lights in the scene
- # random positions and colours
- light -2.0 -2.0 -2.0 0.4 0.2 0.2
- light 2.0 -2.0 -2.0 0.2 0.6 0.3
- light -2.0 2.0 -8.0 0.2 0.2 0.8
- light -20.0 -5.0 3.0 0.8 0.8 0.8
- ###
- # sphere 1: red - top left (rotated ==> left ??)
- sphere -10.0 -10.0 8.0 1.5
- material 0.8 0.2 0.2 0.0 0.0 0.0 0.5 0.8 0.8 10
- ###
- # sphere 2: green - top right (rotated ==> top ??)
- sphere 10.0 -10.0 8.0 2.5
- material 0.2 0.8 0.2 0.0 0.0 0.0 0.5 0.9 0.8 100
- ###
- # sphere 3: blue mirrored - centre
- sphere 0.0 0.0 8.0 3.5
- material 0.2 0.2 0.4 0.2 0.2 0.4 0.5 0.5 0.5 200
- endview
- ######
- This scene is an example of specifying all scene information
- (image size, background colour, ambient light, and camera rotation)
- some lights
- (placed in random positions, with random colours)
- and some spheres
- (with different material properties
- -- diffuse, specular, mirror
- )
- ######
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement