Advertisement
rootuss

ludzik rotacja

May 26th, 2017
2,634
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "colors.inc"  
  2. #include "woods.inc"
  3.  
  4. camera{
  5. location <-1, 6, -10>
  6. look_at <0,3,0>
  7. }  
  8.  
  9. light_source {
  10. <10,0,0>
  11.  
  12. White
  13. }      
  14.  
  15. light_source {
  16. <-6, 9, -10>
  17.  
  18. White
  19. }    
  20.  
  21. light_source {
  22. <-20, 1, -10>
  23.  
  24. White
  25. }  
  26.  
  27. light_source {
  28. <0, 1, -10>
  29.  
  30. White
  31. }
  32.    
  33.    
  34. plane {
  35.  
  36. y, -2
  37.  
  38. }
  39.  
  40.  
  41. # declare ludzik =
  42.  
  43. union
  44.  
  45. {
  46.  
  47.         sphere {
  48.         <0,2,0>
  49.         2
  50.         pigment {color Yellow}
  51.        
  52.        
  53.         }  
  54.        
  55.         sphere {
  56.         <2,3,0>
  57.         0.8
  58.         pigment {color Yellow}  
  59.        
  60.        
  61.         }  
  62.        
  63.         sphere {
  64.         <-2,3,0>
  65.         0.8
  66.         pigment {color Yellow}    
  67.        
  68.        
  69.         }  
  70.        
  71.        
  72.         sphere {
  73.         <-1,3,-2>
  74.         0.3
  75.         pigment {color Black}      
  76.        
  77.        
  78.         }  
  79.        
  80.         sphere {
  81.         <1,3,-2>
  82.         0.3
  83.         pigment {color Black}  
  84.        
  85.        
  86.         }
  87.        
  88.         sphere {
  89.         <0,2.3,-2>
  90.         0.3
  91.         pigment {color Red}  
  92.        
  93.        
  94.         }    
  95.        
  96.        
  97.         cone {
  98.          <0,3.3,0> 2
  99.          <0,5,0> 0.5
  100.          open
  101.          pigment {hexagon Brown, Green, White}  
  102.          
  103.        
  104.         }
  105.            
  106.        
  107.         cylinder {<0,-4,0>
  108.                 <0,3.3,0>
  109.                 0.5
  110.                 pigment {color Red}  
  111.                
  112.                
  113.         }
  114. }
  115.  
  116. #declare i=-20;
  117.  
  118.  
  119. #while (i<20)
  120.  
  121.  
  122. object {ludzik translate <i,0,0> scale 0.3}
  123. #declare i=i+4;    
  124. #end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement