Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "colors.inc"
- #include "golds.inc"
- #include "stones.inc"
- #include "metals.inc"
- #include "glass.inc"
- #include "woods.inc"
- #include "shapes.inc"
- camera {
- sky <0,0,1>
- direction <-10,0,0>
- right <-4/3,0,0>
- location <0,-20,-30>
- look_at <0,-10,0>
- angle 60
- }
- global_settings { ambient_light White }
- light_source {
- <10,-5,-70>
- color Orange*0.2 // brightness 2 kali normal
- }
- //atur background
- background {color White}
- #declare the_angle = 0;
- #declare Texture_W =
- texture{ pigment{ color White*0.9}
- normal { bumps 1 scale 0.025}
- finish { diffuse 0.9 specular 1}
- } // end of texture
- #declare Texture_S =
- texture{ T_Stone10 scale 1
- normal { agate 0.5 scale 0.25}
- finish { diffuse 0.9 phong 1 }
- } // end of texture
- object {
- // Round_Box(A, B, WireRadius, Merge)
- Round_Box(<-4.5,0,-0.5>,<4.5,-18,0.5>, 0.35, 0)
- texture{
- pigment{ color Red}
- finish { phong 1}
- }// end of texture
- scale<1,1,1>
- rotate<0,0,0>
- translate<0,0,0>
- }
- object {
- // Round_Box(A, B, WireRadius, Merge)
- plane{< 0,1,0 >,0.5
- texture{ crackle scale 1.5 turbulence 0.1
- texture_map {[0.00 Texture_W]
- [1.00 Texture_W]
- [1.00 Texture_S]
- [5.00 Texture_S]
- }// end of texture_map
- scale 0.2}}}
- //object {
- // Round_Box(A, B, WireRadius, Merge)
- box{<-4,-1,-0.5>,<4,-17,-0.505>
- texture{
- pigment{ color Black}
- finish { phong 1}
- }// end of texture
- scale<1,1,1>
- rotate<0,0,0>
- translate<0,0,0>
- }
- //object {
- // // Round_Box(A, B, WireRadius, Merge)
- // Round_Box(<-4.5,0.5,-9>,<4.5,0.5,9>, 0.35, 0)
- // texture{
- // pigment{ color Black}
- // finish { phong 1}
- // }// end of texture
- // scale<1,1,1>
- // rotate<0,0,0>
- // translate<0,0,0>
- // }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement