Advertisement
Guest User

Untitled

a guest
May 27th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "colors.inc"
  2. #include "golds.inc"
  3. #include "stones.inc"
  4. #include "metals.inc"
  5. #include "glass.inc"
  6. #include "woods.inc"
  7. #include "shapes.inc"
  8.  
  9. camera {
  10.         sky <0,0,1>
  11.         direction <-10,0,0>
  12.         right <-4/3,0,0>
  13.         location <0,-20,-30>
  14.         look_at <0,-10,0>
  15.         angle 60
  16. }
  17.  
  18. global_settings { ambient_light White }
  19.  
  20. light_source {
  21.         <10,-5,-70>
  22.         color Orange*0.2           // brightness 2 kali normal
  23. }
  24.  
  25. //atur background
  26. background {color White}
  27.  
  28. #declare the_angle = 0;  
  29.  
  30. #declare Texture_W =
  31.  texture{ pigment{ color White*0.9}
  32.           normal { bumps 1 scale 0.025}
  33.           finish { diffuse 0.9 specular 1}
  34.         } // end of texture
  35. #declare Texture_S =
  36.  texture{ T_Stone10 scale 1
  37.           normal { agate 0.5 scale 0.25}
  38.           finish { diffuse 0.9 phong 1 }
  39.         } // end of texture
  40.  
  41.  
  42. object {
  43.  // Round_Box(A, B, WireRadius, Merge)
  44.  Round_Box(<-4.5,0,-0.5>,<4.5,-18,0.5>, 0.35, 0)
  45.  texture{
  46.    pigment{ color Red}
  47.    finish { phong 1}
  48.  }// end of texture
  49.  scale<1,1,1>
  50.  rotate<0,0,0>
  51.  translate<0,0,0>
  52.  }
  53.  
  54. object {
  55.  // Round_Box(A, B, WireRadius, Merge)
  56.  plane{< 0,1,0 >,0.5
  57.        texture{ crackle  scale 1.5 turbulence 0.1
  58.            texture_map {[0.00 Texture_W]
  59.                         [1.00 Texture_W]
  60.                         [1.00 Texture_S]
  61.                         [5.00 Texture_S]
  62.                        }// end of texture_map
  63.                    scale 0.2}}}
  64.                    
  65. //object {
  66.  // Round_Box(A, B, WireRadius, Merge)
  67.  
  68.  
  69. box{<-4,-1,-0.5>,<4,-17,-0.505>
  70.      texture{
  71.    pigment{ color Black}
  72.    finish { phong 1}
  73.  }// end of texture
  74.  scale<1,1,1>
  75.  rotate<0,0,0>
  76.  translate<0,0,0>
  77.  }
  78.  
  79. //object {
  80. // // Round_Box(A, B, WireRadius, Merge)
  81. // Round_Box(<-4.5,0.5,-9>,<4.5,0.5,9>, 0.35, 0)
  82. // texture{
  83. //   pigment{ color Black}
  84. //   finish { phong 1}
  85. // }// end of texture
  86. // scale<1,1,1>
  87. // rotate<0,0,0>
  88. // translate<0,0,0>
  89. // }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement