Advertisement
halbritter

Sala 0

May 18th, 2021
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #version 3.7;
  2.  
  3. #declare Mat_Grid = pigment {
  4.     gradient x
  5.     scale 40
  6.     color_map {
  7.         [0.000   color rgbt <1,1,1,0>*1.0]
  8.         [0+0.025 color rgbt <1,1,1,0>*1.0]
  9.         [0+0.025 color rgbt <1,1,1,1>    ]
  10.         [1-0.025 color rgbt <1,1,1,1>    ]
  11.         [1-0.025 color rgbt <1,1,1,0>*1.0]
  12.         [1.000   color rgbt <1,1,1,0>*1.0]
  13.     }
  14. }
  15.  
  16. // Cutting Mat "à la" Dahle Vantage
  17. plane {
  18.     y, -1.5
  19.     texture { pigment { color rgb <0.0, 0.5, 1.0> } }
  20.     texture { Mat_Grid }
  21.     texture {
  22.         Mat_Grid
  23.         rotate y*90
  24.     }
  25. }
  26.  
  27. union {    
  28.     // Folha A3
  29.     box {
  30.         <0,0,0>, <42,0.005,27>
  31.         texture {
  32.             pigment { color rgb <1,1,1> }            
  33.         }
  34.         scale 40
  35.         translate <-16,0,-16>*50
  36.     }
  37.    
  38.     // Paredes (planta-baixa)
  39.     union {    
  40.         box {
  41.             <0,0.006,0>, <48.83,0.007,0.5>  
  42.             texture {
  43.                 pigment { color Gray }
  44.             }
  45.             scale 30
  46.             translate <-13.5,0.007,-0.9>*50    
  47.         }
  48.        
  49.         box {
  50.             <0,0.006,0>, <18.3,0.007,0.5>  
  51.             texture {
  52.                 pigment { color Gray }
  53.             }
  54.             scale 30
  55.             rotate y*90
  56.             translate <15.5,0.007,-0.9>*50    
  57.         }
  58.        
  59.         box {
  60.             <0,0.006,0>, <41.35,0.007,0.5>  
  61.             texture {
  62.                 pigment { color Gray }
  63.             }
  64.             scale 30
  65.             rotate y*180
  66.             translate <15.5,0.007,-11.6>*50    
  67.         }
  68.        
  69.         box {
  70.             <0,0.006,0>, <15.5,0.007,0.5>  
  71.             texture {
  72.                 pigment { color Gray }
  73.             }
  74.             scale 30
  75.             rotate y*270
  76.             translate <-9,0.007,-11.6>*50    
  77.         }
  78.        
  79.         box {
  80.             <0,0.006,0>, <8.0,0.007,0.5>  
  81.             texture {
  82.                 pigment { color Gray }
  83.             }
  84.             scale 30
  85.             rotate y*180
  86.             translate <-8.7,0.007,-2.1>*50    
  87.         }
  88.        
  89.         box {
  90.             <0,0.006,0>, <9.7,0.007,0.5>  
  91.             texture {
  92.                 pigment { color Gray }
  93.             }
  94.             scale 30
  95.             rotate y*90
  96.             translate <-4,0.007,-0.9>*50    
  97.         }
  98.        
  99.         box {
  100.             <0,0.006,0>, <0.8,0.007,0.5>  
  101.             texture {
  102.                 pigment { color Gray }
  103.             }
  104.             scale 30
  105.             rotate y*90
  106.             translate <3,0.007,-0.9>*50    
  107.         }
  108.        
  109.         box {
  110.             <0,0.006,0>, <6.9,0.007,0.5>  
  111.             texture {
  112.                 pigment { color Gray }
  113.             }
  114.             scale 30
  115.             rotate y*270
  116.             translate <3.3,0.007,-6.7>*50    
  117.         }
  118.        
  119.         box {
  120.             <0,0.006,0>, <7.2,0.007,0.5>  
  121.             texture {
  122.                 pigment { color Gray }
  123.             }
  124.             scale 30
  125.             rotate y*270
  126.             translate <-1.8,0.007,-6.7>*50    
  127.         }
  128.        
  129.         box {
  130.             <0,0.006,0>, <1.0,0.007,0.5>  
  131.             texture {
  132.                 pigment { color Gray }
  133.             }
  134.             scale 30
  135.             rotate y*180
  136.             translate <-1.8,0.007,-2.1>*50    
  137.         }
  138.        
  139.         box {
  140.             <0,0.006,0>, <6.7,0.007,0.5>  
  141.             texture {
  142.                 pigment { color Gray }
  143.             }
  144.             scale 30
  145.             rotate y*90
  146.             translate <8.5,0.007,-0.9>*50    
  147.         }
  148.        
  149.         box {
  150.             <0,0.006,0>, <17.5,0.007,0.5>  
  151.             texture {
  152.                 pigment { color Gray }
  153.             }
  154.             scale 30
  155.             translate <-9.0,0.007,-8.1>*50    
  156.         }
  157.        
  158.         box {
  159.             <0,0.006,0>, <9.2,0.007,0.5>  
  160.             texture {
  161.                 pigment { color Gray }
  162.             }
  163.             scale 30
  164.             translate <-4.0,0.007,-7.0>*50    
  165.         }
  166.        
  167.         box {
  168.             <0,0.006,0>, <1.7,0.007,0.5>  
  169.             texture {
  170.                 pigment { color Gray }
  171.             }
  172.             scale 30
  173.             translate <2.62,0.007,-7.0>*50    
  174.         }
  175.        
  176.         box {
  177.             <0,0.006,0>, <15.0,0.007,0.5>  
  178.             texture {
  179.                 pigment { color Gray }
  180.             }
  181.             scale 30
  182.             translate <4.8,0.007,-7.0>*50    
  183.         }
  184.        
  185.         box {
  186.             <0,0.006,0>, <0.9,0.007,0.5>  
  187.             texture {
  188.                 pigment { color Gray }
  189.             }
  190.             scale 30
  191.             rotate y*180
  192.             translate <15.5,0.007,-6.7>*50    
  193.         }
  194.        
  195.         box {
  196.             <0,0.006,0>, <5.7,0.007,0.5>  
  197.             texture {
  198.                 pigment { color Gray }
  199.             }
  200.             scale 30
  201.             rotate y*270
  202.             translate <10.3,0.007,-11.9>*50    
  203.         }
  204.        
  205.         box {
  206.             <0,0.006,0>, <0.8,0.007,0.5>  
  207.             texture {
  208.                 pigment { color Gray }
  209.             }
  210.             scale 30
  211.             rotate y*90
  212.             translate <10.0,0.007,-7.0>*50    
  213.         }
  214.        
  215.         box {
  216.             <0,0.006,0>, <6.83,0.007,0.5>  
  217.             texture {
  218.                 pigment { color Gray }
  219.             }
  220.             scale 30
  221.             rotate y*270
  222.             translate <7.5,0.007,-11.9>*50    
  223.         }
  224.        
  225.         box {
  226.             <0,0.006,0>, <5.1,0.007,0.5>  
  227.             texture {
  228.                 pigment { color Gray }
  229.             }
  230.             scale 30
  231.             translate <2.6,0.007,-8.1>*50    
  232.         }
  233.        
  234.         box {
  235.             <0,0.006,0>, <0.8,0.007,0.5>  
  236.             texture {
  237.                 pigment { color Gray }
  238.             }
  239.             scale 30
  240.             rotate y*180
  241.             translate <7.3,0.007,-7.8>*50    
  242.         }
  243.        
  244.         box {
  245.             <0,0.006,0>, <6.83,0.007,0.5>  
  246.             texture {
  247.                 pigment { color Gray }
  248.             }
  249.             scale 30
  250.             rotate y*270
  251.             translate <3.6,0.007,-11.9>*50    
  252.         }
  253.        
  254.         box {
  255.             <0,0.006,0>, <3.83,0.007,0.5>  
  256.             texture {
  257.                 pigment { color Gray }
  258.             }
  259.             scale 30
  260.             rotate y*270
  261.             translate <-4.2,0.007,-11.9>*50    
  262.         }
  263.        
  264.         box {
  265.             <0,0.006,0>, <0.8,0.007,0.5>  
  266.             texture {
  267.                 pigment { color Gray }
  268.             }
  269.             scale 30
  270.             rotate y*90
  271.             translate <-4.5,0.007,-8.0>*50    
  272.         }
  273.        
  274.         box {
  275.             <0,0.006,0>, <6.8,0.007,0.5>  
  276.             texture {
  277.                 pigment { color Gray }
  278.             }
  279.             scale 30
  280.             translate <-7.4,0.007,-2.4>*50    
  281.         }
  282.        
  283.         box {
  284.             <0,0.006,0>, <0.8,0.007,0.5>  
  285.             texture {
  286.                 pigment { color Gray }
  287.             }
  288.             scale 30
  289.             rotate y*270
  290.             translate <8.8,0.007,-6.7>*50    
  291.         }
  292.        
  293.         // Em diante, janelas (planta-baixa)
  294.         box {
  295.             <0,0.006,0>, <1.7,0.007,0.5>  
  296.             texture {
  297.                 pigment { color rgb < 0.0, 1.0, 1.0> }
  298.             }
  299.             scale 30
  300.             translate <8.9,0.008,-7.0>*50    
  301.         }
  302.        
  303.         box {
  304.             <0,0.006,0>, <2.5,0.007,0.5>  
  305.             texture {
  306.                 pigment { color rgb < 0.0, 1.0, 1.0> }
  307.             }
  308.             scale 30
  309.             translate <6.3,0.008,-7.0>*50    
  310.         }
  311.        
  312.         box {
  313.             <0,0.006,0>, <2.5,0.007,0.5>  
  314.             texture {
  315.                 pigment { color rgb < 0.0, 1.0, 1.0> }
  316.             }
  317.             scale 30
  318.             translate <-0.9,0.008,-7.0>*50    
  319.         }
  320.        
  321.         box {
  322.             <0,0.006,0>, <1.6,0.007,0.5>  
  323.             texture {
  324.                 pigment { color rgb < 0.0, 1.0, 1.0> }
  325.             }
  326.             scale 30
  327.             translate <-3.4,0.008,-7.0>*50    
  328.         }
  329.        
  330.         box {
  331.             <0,0.006,0>, <1.6,0.007,0.5>  
  332.             texture {
  333.                 pigment { color rgb < 0.0, 1.0, 1.0> }
  334.             }
  335.             scale 30
  336.             translate <3.9,0.008,-8.1>*50    
  337.         }
  338.        
  339.         box {
  340.             <0,0.006,0>, <2.2,0.007,0.5>  
  341.             texture {
  342.                 pigment { color rgb < 0.0, 1.0, 1.0> }
  343.             }
  344.             scale 30
  345.             translate <-3.1,0.008,-8.1>*50    
  346.         }
  347.        
  348.         box {
  349.             <0,0.006,0>, <2.2,0.007,0.5>  
  350.             texture {
  351.                 pigment { color rgb < 0.0, 1.0, 1.0> }
  352.             }
  353.             scale 30
  354.             translate <-7.8,0.008,-8.1>*50    
  355.         }
  356.        
  357.         box {
  358.             <0,0.006,0>, <2.9,0.007,0.5>  
  359.             texture {
  360.                 pigment { color rgb < 0.0, 1.0, 1.0> }
  361.             }
  362.             scale 30
  363.             rotate y*90
  364.             translate <10.0,0.008,-9.4>*50    
  365.         }
  366.         translate <-0.75,0,1.4>*30
  367.     }
  368.     translate <-1,0,1.9>*50
  369.     rotate y*12
  370. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement