Advertisement
fryc1906

klucz

Mar 16th, 2016
2,455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "colors.inc"    // The include files contain
  2. #include "stones.inc"    // pre-defined scene elements
  3. #include "textures.inc"    // pre-defined scene elements
  4. #include "shapes.inc"
  5. #include "glass.inc"
  6. #include "metals.inc"
  7. #include "woods.inc"
  8.  
  9.  camera {
  10.  location <0, 5, -2>
  11.  look_at 0
  12.  angle 36
  13.  }
  14.  light_source { <0, 500, -100> White }
  15.  plane { <0,1,0>, -1.5
  16.  pigment { checker White Green }
  17.  }
  18.  
  19. union{
  20.      
  21.  cylinder {
  22.  <0, 0, 3.1>, // polozenie srodka podstawy
  23.  <0, 0, 3>, // polozenie srodka drugiej podstawy
  24.  0.1 // promien
  25.  rotate<-90,0,0>
  26.  scale<1.5,1,1>
  27.  translate<0,-4,0>
  28.  texture { Aluminum scale 4 }
  29.  }    
  30.      
  31.  
  32.  cylinder {
  33.  <0, 0, 2.1>, // polozenie srodka podstawy
  34.  <0, 0, 2>, // polozenie srodka drugiej podstawy
  35.  0.1 // promien
  36.  rotate<-90,0,0>
  37.  scale<1.5,1,1>
  38.  translate<0.8,-4,0>
  39.  texture { Aluminum scale 4 }
  40.  }
  41.  }
  42.  
  43.  cylinder {
  44.  <1, 0, 2.2>, // polozenie srodka podstawy
  45.  <2, 0, 2>, // polozenie srodka drugiej podstawy
  46.  1 // promien
  47.  
  48.  scale<6,2,2>
  49.      
  50.  translate<0,-4,0>
  51.  texture { Brass_Metal scale 4 }
  52.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement