Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###
- # Use all scene modifiers
- imagesize 800
- background 0.3 0.3 0.3
- ambient 0.6 0.6 0.6
- ###
- # lights in the scene
- # random positions and colours
- light 10.0 0.0 -10.0 0.4 0.4 0.4
- #light 0.0 10.0 -10.0 0.8 0.8 0.8
- #light -10.0 10.0 -10.0 0.4 0.4 0.4
- #light 15.0 10.0 -5.0 0.4 0.4 0.4
- ###
- # sphere 1: red - top left (rotated ==> left ??)
- sphere 1.0 0.0 1.0 1.0
- material 1.0 0.0 0.0 0.0 0.0 0.0 0.5 0.5 0.5 100
- ###
- # sphere 2: green - top right (rotated ==> top ??)
- sphere 4.0 0.0 4.0 3.0
- material 0.0 1.0 0.0 0.0 0.0 0.0 0.5 0.5 0.5 100
- ###
- # sphere 3: blue mirrored - centre
- sphere -1.5 1.0 3.0 1.0
- material 0.0 0.0 1.0 0.0 0.0 0.0 0.5 0.5 0.5 100
- 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