File:Many new mudbrick houses 1.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(1,600 × 1,200 pixels, file size: 1.71 MB, MIME type: image/png)

Captions

Captions

Many new mudbrick houses

Summary

[edit]
Description
English: Many new mudbrick houses. Maybe workers area in ancient city.
Date
Source Own work
Author Merikanto

Povray 3.7 source code

// many new mudbrick houses type of ancient near east

// povray 3.7 src


  1. include "colors.inc"
  2. include "textures.inc"
  3. include "stones.inc"
  4. include "skies.inc"
  5. include "woods.inc"

camera {

 location <0.5,5,-10>*3     
 
//  location <-3,2.5,0>   
   
 look_at <0,0,0> 
 
 angle 20

}

light_source { <-1000,1000,1000> color rgb White

}


sky_sphere {

   pigment {
     gradient y
     color_map {
       [ 0.5  color CornflowerBlue ]
       [ 1.0  color MidnightBlue ]
     }
     scale 2
     translate -1
   }
 }  
 
 
    

plane { y,0

texture {

  // pigment {color rgb Green} 
   // tiling 6
  //  Tan_Wood
    T_Stone2
    
     scale 0.05
     
     normal {
     granite 1
     scale 0.05
     }
     
   }

}



  1. declare house_texture_1=texture {

//T_Stone23

//scale 0.1

//normal { //granite //scale 0.1 // normal{granite.2} //}

     pigment{ brick
             color DarkBrown*1.8
             color DarkBrown*1.6
             //color rgb<0.8,0.25,0.1> 
            //  color  rgb <1,0.6,0.5>
             // color mortar, color brick
             brick_size <0.25, 0.0525, 0.125 >
             // format in x-,y-,z- direction
             mortar 0.01 // size of the mortar 
             
           }
    normal { wrinkles 0.75 scale 0.01}
    
    finish { diffuse 0.9 phong 0.2}  
    scale 0.75

}



   #declare TileNormal =
   normal
   { gradient x 2 // Double the strength because of the averaging
     slope_map
     { [0 <0, 1>] // 0 height, strong slope up
       [.05 <1, 0>] // maximum height, horizontal
       [.95 <1, 0>] // maximum height, horizontal
       [1 <0, -1>] // 0 height, strong slope down
     }
   }
 
 
 
 
 
 
 
 
 
  
  1. declare house_texture_2=texture {

T_Stone1

scale 0.1

//normal { //granite //scale 0.01 //}

normal
 { average normal_map
   { [1 TileNormal]
     [1 TileNormal rotate y*90]
   }
 
 scale 0.05
 }

}


  1. declare type_0_house_1= union

{


  1. declare seinak=0.9;

difference { // base boxes box {<-1,0,-1>,<1,1.1,1>} box {<-1*seinak,0,-1*seinak>,<1*seinak,1*1.2,1*seinak>} // doorhole

box {<-1*seinak/6,0,-1.5>,<1*seinak/6,seinak/1.5,-0.5>} // windowhole

// middle win //box {<-1.2,0.4,-0.1>,<-0.2,0.6,0.1>} //box {<0.2,0.4,-0.1>,<1.2,0.6,0.1>}

// quad windows in x direction

box {<-1.2,0.4,-0.4>,<-0.2,0.6,-0.2>}  
box {<-1.2,0.4,0.2>,<-0.2,0.6,0.4>} 

  
 box {<0.2,0.4,-0.4>,<1.2,0.6,-0.2>}  
box {<0.2,0.4,0.2>,<1.2,0.6,0.4>} 
 
  
box {<-0.1,0.4,0.8>,<0.1,0.6,1.2>}                                                      


 
 texture {
   house_texture_1
   }

}


// roof

difference { box { <-0.9,0.9,-0.9>,<0.9,1,0.9>

  texture {
    Tom_Wood
    scale 0.1
  //Tan_Wood 
  
  // pigment {color rgb Brown} 
   normal {
   agate
   scale 0.1
   }
   
   }

}

// hole in roof

box { <0.6,0.8,0.6>,<0.9,1.2,0.9>

}
}


// structure on roof


difference {

box {

<0.3,1.0,0.3>,<0.9,1.5,0.9> 

}

box {

<0.4,0.9,0.4>,<0.8,1.4,0.8> 
}

// door of box

box {

<0.2,1.0,0.5>,<0.9,1.4,0.7> 
}

    texture {
    house_texture_1
   }

}


// floor


box { <-1.1,0.0,-1.1>,<1.1,0.01,1.1>

  texture {
    house_texture_2 
   }

}


}


  1. declare xnum=7;
  2. declare znum=7;
  1. declare tx=0;
  2. declare tz=0;
  1. declare iz=-znum;


  1. while (iz<znum)
#declare tz=iz*5;  
  1. declare ix=-xnum;
  1. while (ix<xnum)
#declare tx=ix*2.5;
 
 
object {
   type_0_house_1     
   
   scale y*1.3
   translate <tx,0,tz>
   } 

  1. declare ix=ix+1;
  1. end
  1. declare iz=iz+1;
  1. end


/*

object {
   type_0_house_1
   
   } 
   
   */ 

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:48, 29 April 2022Thumbnail for version as of 13:48, 29 April 20221,600 × 1,200 (1.71 MB)Merikanto (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

Metadata