Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "colors.inc"
- #include "woods.inc"
- camera{
- location <-1, 6, -10>
- look_at <0,3,0>
- }
- light_source {
- <10,0,0>
- White
- }
- light_source {
- <-6, 9, -10>
- White
- }
- light_source {
- <-20, 1, -10>
- White
- }
- light_source {
- <0, 1, -10>
- White
- }
- plane {
- y, -2
- }
- # declare ludzik =
- union
- {
- sphere {
- <0,2,0>
- 2
- pigment {color Yellow}
- }
- sphere {
- <2,3,0>
- 0.8
- pigment {color Yellow}
- }
- sphere {
- <-2,3,0>
- 0.8
- pigment {color Yellow}
- }
- sphere {
- <-1,3,-2>
- 0.3
- pigment {color Black}
- }
- sphere {
- <1,3,-2>
- 0.3
- pigment {color Black}
- }
- sphere {
- <0,2.3,-2>
- 0.3
- pigment {color Red}
- }
- cone {
- <0,3.3,0> 2
- <0,5,0> 0.5
- open
- pigment {hexagon Brown, Green, White}
- }
- cylinder {<0,-4,0>
- <0,3.3,0>
- 0.5
- pigment {color Red}
- }
- }
- #declare i=-20;
- #while (i<20)
- object {ludzik translate <i,0,0> scale 0.3}
- #declare i=i+4;
- #end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement