F&F Tower en POV RAY

Para los fanaticos de POV RAY les comparto mi primer diseño, el edificio F&F Tower conocido como el Tornado en la ciudad de Panamá.


También les dejo el código por si quieren mejorarlo. Tomen en cuenta que fué mi primer diseño y no conocía sobre declaración de variables ni mejores prácticas para hacer diseños en POV RAY. Así que lo mas seguro es que salga alguién diciendo que lo puede hacer en menos líneas de código.

Espero le den buen uso!

 ********************
// Diseñado por Silvino Omar Herrera   
// Librerias ---------------------------------------
#include "colors.inc"  
#include "glass.inc" 
#include "textures.inc"
#include "stones.inc" 
#include "shapes.inc"
#include "metals.inc"
#include "woods.inc" 
// Fin de Librerias --------------------------------

// Camara ------------------------------------------
camera {angle 65
        location  <-12, 0.1 ,-13>
        look_at   <0 , 9.4 , 3.5>}
// Fin de Camara -----------------------------------       



// Sol ---------------------------------------------
light_source{ <1500,4500,-2500> color White}    
// Fin del Sol -------------------------------------

// Segunda Luz, efecto vidrio ---------------------- 
light_source{ <-1500,500,-2550> color Cyan}  
// Fin Luz efecto vidrio ---------------------------


//Texto -------------------------------------------

text {
        ttf "timrom.ttf" "F&F Tower" 0.2,0
        texture { T_Stone8 scale 5}
        scale .5                     
        rotate <0,0,0>
        translate <-1,3,3>
     }
    
text {
        ttf "timrom.ttf" "Silvino Herrera" 0.2,0
        texture { T_Stone26 scale 5}
        scale 0.5                     
        rotate <0,70,0>
        translate <-6,.1,-7>
     }
// Fin de texto ------------------------------------ 

  
  
// Cielo de Fondo con nubes-------------------------
plane{<0,1,0>,1 hollow
     
        texture{ pigment {color rgb<0.1,0.35,0.8>*0.8}
                 finish {ambient 1  diffuse 0}
               }

        texture{ pigment{ bozo turbulence 0.75
                          octaves 6 
                          omega 0.7
                          lambda 2
                          color_map {
                                    [0.0  color rgb <0.95, 0.95, 0.95> ]
                                    [0.05  color rgb <1, 1, 1>*1.25 ]
                                    [0.15 color rgb <0.85, 0.85, 0.85> ]
                                    [0.55 color rgbt <1, 1, 1, 1>*1 ]
                                    [1.0 color rgbt <1, 1, 1, 1>*1 ]
                                    }
                         translate< 3, 0,-1>
                         scale <0.3, 0.4, 0.2>*3
                        }
                 finish {ambient 1 diffuse 0}
               }

      scale 10000}   
// Niebla en el horizonte   
fog{distance 300000 color White}  
// Fin del Cielo ----------------------------------

// Cesped -----------------------------------------------
plane { <0,1,0>, 0
        texture{ pigment{color rgb<0.35,0.65,0.0>*0.9}
             normal {bumps 0.75 scale 0.015}
                 finish {ambient 0.1 diffuse 0.5}
               }
      }
//Fin de Cesped-------------------------------------------


//Estacionamientos ---------------------------------------
box {
    < -2, 0,  3>, < 2, 0.4,  7>
    texture { T_Stone6 scale 5}
    scale 1                     
    rotate <0,0,0>
    translate <0,0,0>
    } 
   
box {
    < -2, 0,  3>, < 2, 0.4,  7>
    texture { T_Stone6 scale 5}
    scale 1                     
    rotate <0,0,0>
    translate <0,0.5,0>
    }   

box {
    < -2, 0,  3>, < 2, 0.4,  7>
    texture { T_Stone6 scale 5}
    scale 1                     
    rotate <0,0,0>
    translate <0,1,0>
    } 
      
box {
    < -2, 0,  3>, < 2, 0.4,  7>
    texture { T_Stone6 scale 5}
    scale 1                     
    rotate <0,0,0>
    translate <0,1.5,0>
    }  
   
box {
    < -2, 0,  3>, < 2, 0.4,  7>
    texture { T_Stone6 scale 5}
    scale 1                     
    rotate <0,0,0>
    translate <0,2,0>
    }    
box {
    < -2, 0,  3>, < 2, 0.4,  7>
    texture { T_Stone6 scale 5}
    scale 1                     
    rotate <0,0,0>
    translate <0,2.5,0>
    }               
// Fin de Estacionamientos ---------------------------  

// Lineas entre pisos --------------------------------
box {
    < -2.1, 0,  2.9>, < 2.1, 0.1,  7.1>
    texture { T_Stone8 scale 1}
    scale 1                     
    rotate <0,0,0>
    translate <0,0.4,0>
    }   
box {
    < -2.1, 0,  2.9>, < 2.1, 0.1,  7.1>
    texture { T_Stone8 scale 1}
    scale 1                     
    rotate <0,0,0>
    translate <0,0.9,0>
    }                        
box {
    < -2.1, 0,  2.9>, < 2.1, 0.1,  7.1>
    texture { T_Stone8 scale 1}
    scale 1                     
    rotate <0,0,0>
    translate <0,1.4,0>
    }
box {
    < -2.1, 0,  2.9>, < 2.1, 0.1,  7.1>
    texture { T_Stone8 scale 1}
    scale 1                     
    rotate <0,0,0>
    translate <0,1.9,0>
    }
box {
    < -2.1, 0,  2.9>, < 2.1, 0.1,  7.1>
    texture { T_Stone8 scale 1}
    scale 1                     
    rotate <0,0,0>
    translate <0,2.4,0>
    }
box {
    < -2.1, 0,  2.9>, < 2.1, 0.1,  7.1>
    texture { T_Stone8 scale 1}
    scale 1                     
    rotate <0,0,0>
    translate <0,2.9,0>
    }     
// Fin de Lineas entre pisos ------------------------------   

// Losa 1 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1                    
    rotate <0,0,0>
    translate <0,3,0>
    }
box {
    < -1.5, 0,  3.5>, < 1.5, 0.1,  6.5>
    texture { T_Stone8 scale 1}
    scale 1                    
    rotate <0,0,0>
    translate <0,3.4,0>
    }
// Fin Losa 1 --------------------------------------------- 

// Losa 2 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1                    
    rotate <0,0,0>
    translate <0,3.5,0>
    }
box {
    < -1.5, 0,  3.5>, < 1.5, 0.1,  6.5>
    texture { T_Stone8 scale 1}
    scale 1                    
    rotate <0,0,0>
    translate <0,3.9,0>
    }
// Fin Losa 2 ---------------------------------------------

// Losa 3 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1                    
    rotate <0,0,0>
    translate <0,4,0>
    }
box {
    < -1.5, 0,  3.5>, < 1.5, 0.1,  6.5>
    texture { T_Stone8 scale 1}
    scale 1                    
    rotate <0,0,0>
    translate <0,4.4,0>
    }
// Fin Losa 3 --------------------------------------------- 

// Losa 4 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1                    
    rotate <0,0,0>
    translate <0,4.5,0>
    }
box {
    < -1.5, 0,  3.5>, < 1.5, 0.1,  6.5>
    texture { T_Stone8 scale 1}
    scale 1                    
    rotate <0,0,0>
    translate <0,4.9,0>
    }
// Fin Losa 4 ---------------------------------------------

// Losa 5 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1                    
    rotate <0,0,0>
    translate <0,5,0>
    }
box {
    < -1.5, 0,  3.5>, < 1.5, 0.1,  6.5>
    texture { T_Stone8 scale 1}
    scale 1                    
    rotate <0,0,0>
    translate <0,5.4,0>
    }
// Fin Losa 5 ---------------------------------------------   

// Primer ciclo ------------------------------------------------------

// Losa del Torno 1 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-7,0>               
    translate <0.6,5.5,0>     
    }

// Fin Losa del torno 1 --------------------------------------------- 
  
// Losa del Torno 2 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-14,0>               
    translate <1.2,5.9,0.2>     
    }                   

// Fin Losa del torno 2 ---------------------------------------------   

// Losa del Torno 3 -------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-21,0>               
    translate <1.8,6.3,0.3>     
    }

// Fin Losa del torno 3 ---------------------------------------------          

// Losa del Torno 4 -------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-28,0>               
    translate <2.4,6.7,0.6>     
    }

// Fin Losa del torno 4 ---------------------------------------------

// Losa del Torno 5 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-35,0>               
    translate <2.9,7.1,0.9>     
    }

// Fin Losa del torno 5 ---------------------------------------------

// Losa del Torno 6 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-42,0>               
    translate <3.4,7.5,1.2>     
    }

// Fin Losa del torno 6 ---------------------------------------------   

// Losa del Torno 7 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-49,0>               
    translate <3.8,7.9,1.7>     
    }

// Fin Losa del torno 7 ---------------------------------------------    

// Losa del Torno 8 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-56,0>               
    translate <4.1,8.3,2.2>     
    }

// Fin Losa del torno 8 ---------------------------------------------   

// Losa del Torno 9 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-63,0>               
    translate <4.5,8.7,2.7>     
    }

// Fin Losa del torno 9 --------------------------------------------- 

// Losa del Torno 10 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-70,0>               
    translate <4.7,9.1,3.3>     
    }

// Fin Losa del torno 10 ---------------------------------------------   

// Losa del Torno 11 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-77,0>               
    translate <4.85,9.5,3.85>     
    }

// Fin Losa del torno 11 ---------------------------------------------    
                                                                          
// Losa del Torno 12 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-84,0>               
    translate <4.97,9.9,4.48>     
    }

// Fin Losa del torno 12 --------------------------------------------- 

// Losa del Torno 13 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1   
    rotate <0,-90,0>               
    translate <5,10.3,5>     
    }

// Fin Losa del torno 13 ---------------------------------------------  
// Fin Primer Ciclo --------------------------------------------------
      
   
// Segundo ciclo  ---------------------------------------------------- 
// Losa del Torno 1 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-7,0>               
    translate <0.6,10.7,0>     
    }

// Fin Losa del torno 1 --------------------------------------------- 
  
// Losa del Torno 2 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-14,0>               
    translate <1.2,11.1,0.2>     
    }                   

// Fin Losa del torno 2 ---------------------------------------------   

// Losa del Torno 3 -------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-21,0>               
    translate <1.8,11.5,0.3>     
    }

// Fin Losa del torno 3 ---------------------------------------------          

// Losa del Torno 4 -------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-28,0>               
    translate <2.4,11.9,0.6>     
    }

// Fin Losa del torno 4 ---------------------------------------------

// Losa del Torno 5 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-35,0>               
    translate <2.9,12.3,0.9>     
    }

// Fin Losa del torno 5 ---------------------------------------------

// Losa del Torno 6 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-42,0>               
    translate <3.4,12.7,1.2>     
    }

// Fin Losa del torno 6 ---------------------------------------------   

// Losa del Torno 7 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-49,0>               
    translate <3.8,13.1,1.7>     
    }

// Fin Losa del torno 7 ---------------------------------------------    

// Losa del Torno 8 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-56,0>               
    translate <4.1,13.5,2.2>     
    }

// Fin Losa del torno 8 ---------------------------------------------   

// Losa del Torno 9 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-63,0>               
    translate <4.5,13.9,2.7>     
    }

// Fin Losa del torno 9 --------------------------------------------- 

// Losa del Torno 10 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-70,0>               
    translate <4.7,14.3,3.3>     
    }

// Fin Losa del torno 10 ---------------------------------------------   

// Losa del Torno 11 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-77,0>               
    translate <4.85,14.7,3.85>     
    }

// Fin Losa del torno 11 ---------------------------------------------    
                                                                          
// Losa del Torno 12 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-84,0>               
    translate <4.97,15.1,4.48>     
    }

// Fin Losa del torno 12 --------------------------------------------- 

// Losa del Torno 13 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1   
    rotate <0,-90,0>               
    translate <5,15.5,5>     
    }

// Fin Losa del torno 13 ---------------------------------------------  
// Fin Segundo Ciclo -------------------------------------------------
      
                                  
// Tercer Ciclo  ---------------------------------------------------- 
// Losa del Torno 1 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-7,0>               
    translate <0.6,15.9,0>     
    }

// Fin Losa del torno 1 --------------------------------------------- 
  
// Losa del Torno 2 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-14,0>               
    translate <1.2,16.3,0.2>     
    }                   

// Fin Losa del torno 2 ---------------------------------------------   

// Losa del Torno 3 -------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-21,0>               
    translate <1.8,16.7,0.3>     
    }

// Fin Losa del torno 3 ---------------------------------------------          

// Losa del Torno 4 -------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-28,0>               
    translate <2.4,17.1,0.6>     
    }

// Fin Losa del torno 4 ---------------------------------------------

// Losa del Torno 5 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-35,0>               
    translate <2.9,17.5,0.9>     
    }

// Fin Losa del torno 5 ---------------------------------------------

// Losa del Torno 6 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-42,0>               
    translate <3.4,17.9,1.2>     
    }

// Fin Losa del torno 6 ---------------------------------------------   

// Losa del Torno 7 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-49,0>               
    translate <3.8,18.3,1.7>     
    }

// Fin Losa del torno 7 ---------------------------------------------    

// Losa del Torno 8 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-56,0>               
    translate <4.1,18.7,2.2>     
    }

// Fin Losa del torno 8 ---------------------------------------------   

// Losa del Torno 9 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-63,0>               
    translate <4.5,19.1,2.7>     
    }

// Fin Losa del torno 9 --------------------------------------------- 

// Losa del Torno 10 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-70,0>               
    translate <4.7,19.5,3.3>     
    }

// Fin Losa del torno 10 ---------------------------------------------   

// Losa del Torno 11 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-77,0>               
    translate <4.85,19.9,3.85>     
    }

// Fin Losa del torno 11 ---------------------------------------------    
                                                                          
// Losa del Torno 12 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-84,0>               
    translate <4.97,20.3,4.48>     
    }

// Fin Losa del torno 12 --------------------------------------------- 

// Losa del Torno 13 --------------------------------------------------
box {
    < -1.4, 0,  3.6>, < 1.4, 0.4,  6.4>
    texture { T_Stone6 scale 5}
    scale 1   
    rotate <0,-90,0>               
    translate <5,20.7,5>     
    }

// Fin Losa del torno 13 ---------------------------------------------  
// Fin Tercer Ciclo --------------------------------------------------

// Punta de la Torre    
// Losa del Torno 1 --------------------------------------------------
box {
    < -1.2, 0,  3.8>, < 1.2, 0.4,  6.2>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-7,0>               
    translate <0.6,21.1,0>     
    }

// Fin Losa del torno 1 --------------------------------------------- 
  
// Losa del Torno 2 --------------------------------------------------
box {
    < -1, 0, 4>, < 1, 0.4, 6>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-14,0>               
    translate <1.2,21.5,0.2>     
    }                   

// Fin Losa del torno 2 ---------------------------------------------   

// Losa del Torno 3 -------------------------------------------------
box {
    < -0.8, 0,  4.2>, < 0.8, 0.4,  5.8>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-21,0>               
    translate <1.8,21.9,0.3>     
    }

// Fin Losa del torno 3 ---------------------------------------------          

// Losa del Torno 4 -------------------------------------------------
box {
    < -0.6, 0,  4.4>, < 0.6, 0.4,  5.6>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-28,0>               
    translate <2.4,22.3,0.6>     
    }

// Fin Losa del torno 4 ---------------------------------------------

// Losa del Torno 5 --------------------------------------------------
box {
    < -0.4, 0,  4.6>, < 0.4, 0.4,  5.4>
    texture { T_Stone6 scale 5}
    scale 1    
    rotate <0,-35,0>               
    translate <2.9,22.7,0.9>     
    }

// Fin Losa del torno 5 ---------------------------------------------

//Punta  

 cone {
    <-2, 0,  3>,0.35
    < -2, 2, 3>,0
    //open              // Removes end caps
    texture { T_Stone17 scale 1 }   
    scale 1    
    //rotate <0,-35,0>               
    translate <2.03,23.1,2.03> 
  }

*************************************

Comentarios