Advertisement
Guest User

cube cut

a guest
Jan 5th, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "colors.inc"
  2.  
  3. camera {
  4.         location <15,0,-25>
  5.         look_at 0
  6.         }
  7.        
  8. //light_source { <50,50,-50> color White }
  9.  
  10. //background { color White }                            
  11.  
  12. light_source { <0,0,-100> color White
  13.         area_light
  14.         <20, 0, 0> <0, 10, 20>
  15.         65, 65  
  16.         adaptive 1
  17.         jitter
  18.         circular
  19.         orient
  20. }
  21.  
  22.  
  23. //main inner cube
  24. box {-5,5 pigment { White }}
  25.  
  26.  
  27. #declare Cube_Edges =
  28. union{
  29. //top left
  30. box {-2,2 pigment { White } translate <-4,4,-4> }
  31. //top right
  32. box {-2,2 pigment { White } translate <4,4,-4> }
  33. //bottom left
  34. box {-2,2 pigment { White } translate <-4,-4,-4> }
  35. //bottom right
  36. box {-2,2 pigment { White } translate <4,-4,-4> }
  37. }
  38.  
  39.  
  40. difference{
  41. object {Cube_Edges}
  42. cone { <0,0,-8>,6 <0,0,-4>,4 pigment {White}}
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement