Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "colors.inc" // The include files contain
- #include "stones.inc" // pre-defined scene elements
- #include "textures.inc" // pre-defined scene elements
- #include "shapes.inc"
- #include "glass.inc"
- #include "metals.inc"
- #include "woods.inc"
- camera {
- location <0, 5, -2>
- look_at 0
- angle 36
- }
- light_source { <0, 500, -100> White }
- plane { <0,1,0>, -1.5
- pigment { checker White Green }
- }
- union{
- cylinder {
- <0, 0, 3.1>, // polozenie srodka podstawy
- <0, 0, 3>, // polozenie srodka drugiej podstawy
- 0.1 // promien
- rotate<-90,0,0>
- scale<1.5,1,1>
- translate<0,-4,0>
- texture { Aluminum scale 4 }
- }
- cylinder {
- <0, 0, 2.1>, // polozenie srodka podstawy
- <0, 0, 2>, // polozenie srodka drugiej podstawy
- 0.1 // promien
- rotate<-90,0,0>
- scale<1.5,1,1>
- translate<0.8,-4,0>
- texture { Aluminum scale 4 }
- }
- }
- cylinder {
- <1, 0, 2.2>, // polozenie srodka podstawy
- <2, 0, 2>, // polozenie srodka drugiej podstawy
- 1 // promien
- scale<6,2,2>
- translate<0,-4,0>
- texture { Brass_Metal scale 4 }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement