Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. ###
  2. # Use all scene modifiers
  3.  
  4. imagesize 800
  5. background 0.6 0.3 0.3
  6. ambient 0.5 0.4 0.2
  7. angle 45.0
  8.  
  9. ###
  10. # lights in the scene
  11. # random positions and colours
  12. light -2.0 -2.0 -2.0 0.4 0.2 0.2
  13. light 2.0 -2.0 -2.0 0.2 0.6 0.3
  14. light -2.0 2.0 -8.0 0.2 0.2 0.8
  15. light -20.0 -5.0 3.0 0.8 0.8 0.8
  16.  
  17. ###
  18. # sphere 1: red - top left (rotated ==> left ??)
  19. sphere -10.0 -10.0 8.0 1.5
  20. material 0.8 0.2 0.2 0.0 0.0 0.0 0.5 0.8 0.8 10
  21.  
  22. ###
  23. # sphere 2: green - top right (rotated ==> top ??)
  24. sphere 10.0 -10.0 8.0 2.5
  25. material 0.2 0.8 0.2 0.0 0.0 0.0 0.5 0.9 0.8 100
  26.  
  27. ###
  28. # sphere 3: blue mirrored - centre
  29. sphere 0.0 0.0 8.0 3.5
  30. material 0.2 0.2 0.4 0.2 0.2 0.4 0.5 0.5 0.5 200
  31.  
  32. endview
  33. ######
  34.  
  35. This scene is an example of specifying all scene information
  36. (image size, background colour, ambient light, and camera rotation)
  37.  
  38. some lights
  39. (placed in random positions, with random colours)
  40.  
  41. and some spheres
  42. (with different material properties
  43. -- diffuse, specular, mirror
  44. )
  45.  
  46. ######
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement