Advertisement
Guest User

base

a guest
Apr 17th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "colors.inc"
  2. #include "shapes.inc"
  3. #include "textures.inc"
  4.            
  5. ////////////////
  6.        
  7. camera {  
  8. location <15,50,-100>
  9. look_at <0,0,0>
  10. }              
  11.  
  12. ////////////////                              
  13.  
  14. light_source{<100,100,100> White}
  15. light_source{<100,100,-100> White}
  16. light_source{<-100,100,100> White}
  17. light_source{<-100,100,-100> White}
  18. light_source{<100,-100,100> White}
  19. light_source{<100,-100,-100> White}
  20. light_source{<-100,-100,100> White}
  21. light_source{<-100,-100,-100> White}  
  22.  
  23. ////////////////
  24.  
  25. box //x
  26. {
  27. <1000,.2,.2>
  28. <-1000,-.2,-.2>
  29. texture {pigment {Red}}
  30. }
  31.  
  32. box //y
  33. {
  34. <.2,1000,.2>
  35. <-.2,-1000,-.2>
  36. texture {pigment {Blue}}
  37. }
  38.  
  39. box //z
  40. {
  41. <.2,.2,1000>
  42. <-.2,-.2,-1000>
  43. texture {pigment {Green}}
  44. }    
  45.  
  46. ////////////////
  47.  
  48. sphere //x+
  49. {
  50. <25,0,0>
  51. 1
  52. texture {pigment {Red}}
  53. }    
  54.  
  55. sphere //y+
  56. {
  57. <0,25,0>
  58. 1
  59. texture {pigment {Blue}}
  60. }
  61.  
  62. sphere //z+
  63. {
  64. <0,0,25>
  65. 1
  66. texture {pigment {Green}}
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement