Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "colors.inc"
- #include "stones.inc"
- #include "textures.inc"
- #include "shapes.inc"
- #include "glass.inc"
- #include "metals.inc"
- #include "woods.inc"
- camera {
- location <0, 1, -10>
- look_at 0
- angle 36
- }
- light_source {
- <0, 10, -3>
- color Red
- spotlight
- radius 50
- falloff 20
- tightness 10
- point_at <0, 0, 0>
- }
- torus{
- 0.08
- 0.03
- rotate <90,50,20>
- translate <0, 0, 1.25>
- texture { T_Gold_1A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- }
- torus{
- 0.08
- 0.03
- rotate <90,50,20>
- translate <-0.05, -0.02, 1.23>
- texture { T_Gold_1A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- }
- torus{
- 0.08
- 0.03
- rotate <90,50,20>
- translate <-0.8, -0.29, 0.55>
- texture { T_Gold_1A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- }
- sphere{
- <-1.3, -0.47, 0.14> 0.08
- texture { T_Gold_1A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- }
- intersection
- {
- cylinder{ //duży cylinder
- <-0.59, 0, 1>
- <-0.4, 0, 1>
- 0.6
- texture { T_Gold_1A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- rotate <-15, 20, 90>
- translate <0.8, 0.16, 3>
- }
- cylinder{ //duży cylinder
- <-0.59, 0, 1>
- <-0.4, 0, 1>
- 0.9
- texture { T_Gold_1A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- rotate <-15, 20, 90>
- translate <0.8, 0.16, 3>
- }
- }
- cylinder{
- <-1, 0, 1>
- <1, 0, 1>
- 0.08
- rotate <0, -40, 20>
- texture { T_Copper_3A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- }
- box{
- <0, 0, 0>
- <0.5, 0.07, 0.08>
- rotate <-110, -45, 20>
- translate <-1.1, -0.5, 0.1>
- scale 1.1
- texture { T_Gold_1A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- }
- box{
- <0, 0.3, 0>
- <0.5, 0.07, 0.08>
- rotate <-110, -45, 20>
- translate <-1.2, -0.5, 0.1>
- scale 1.1
- texture { T_Gold_1A
- //normal { bumps 0.5 scale 0.15}
- finish { phong 1}
- } // end of texture
- }
- plane{ <0,-2,0>, 1
- texture{ pigment{ checker color rgb<1,2,1>*1.2 color rgb<0.25,2.15,0.1>*0}
- finish { phong 0.1}
- }
- }
Add Comment
Please, Sign In to add comment