File:Mudbrick house two flats patio 1.png
Original file (1,600 × 1,200 pixels, file size: 3.05 MB, MIME type: image/png)
Captions
Summary[edit]
DescriptionMudbrick house two flats patio 1.png |
English: Mudbrick house with two flats and patio. Seems smmewhat like Sumerian houses. Very basic model. |
Date | |
Source | Own work |
Author | Merikanto |
Code to produce image is in
Use camera 1
This
Old Pov-ray 3.7 source code:
//
// povray 3.7
//
// multi room mudbrick house
// w/ inner court
//
// 20.4.2021 v 0000.000
//
- include "colors.inc"
- include "textures.inc"
- include "stones.inc"
- include "stones1.inc"
- include "woods.inc"
- include "rand.inc"
camera
{
// location <0,1,0>
// location <-0.8,-0.9,0>
location <0,10,-5>*13
// location <0,150,0>
look_at <0,0,0>
}
light_source {
<1000,1000,1000>
color rgb White
}
sky_sphere {
pigment{ gradient <0,1,0>
color_map{
[0.0 color rgb<1,1,1> ]
[0.8 color rgb<0.1,0.25,0.75>]
[1.0 color rgb<0.1,0.25,0.75>]}
} // end pigment
}
plane{<0,1,0>,1 hollow
texture{ pigment {color rgb<0.1,0.3,0.75>*0.7}
#if (version = 3.7 ) finish {emission 1 diffuse 0}
#else finish { ambient 1 diffuse 0}
#end
}
texture{ pigment{ bozo turbulence 0.75
octaves 46 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
}
#if (version = 3.7 ) finish {emission 1 diffuse 0}
#else finish { ambient 1 diffuse 0}
#end
}
scale 10000
}
#declare kol1=(Green+Brown)/2;
#declare kol2=(Green*2+Brown)/3;
object {
plane {
y,0
}
texture {
pigment {
agate
// checker
// brick
// pigment{kol1},
// pigment{ kol2 }
// scale 5
}
normal {
granite
}
}
}
- declare house_texture_1=
texture {
//pigment {color Red}
T_Stone1
scale 0.005
normal {
//brick
granite
scale 0.05
}
}
- declare floor_texture_1=
texture {
//pigment {color Red}
T_Stone1
scale 0.05
normal {
brick
//granite
scale 0.05
}
}
- declare roof_of_patio_texture_1=
texture {
//pigment {color Brown}
// Tom_Wood
Tan_Wood
//T_Stone1
scale 0.0001
normal {
//brick
granite
scale 0.05
}
}
- declare house_tihickness_1=0.5;
- declare inner_size_1=1-0.5;
- declare outer_size_1=1+0.5;
- declare wall_thickness_1=0.05;
- declare inner_wall_size_1=1-0.05;
- declare outer_wall_size_1=1+0.05;
- declare inner_tunnel_size_1=inner_size_1+wall_thickness_1;
- declare outer_tunnel_size_1=1-wall_thickness_1;
- declare house_size_1=20;
- declare basik1=difference {
box {<-1,-1,-1>,<1,1,1>}
box {<-inner_size_1,-1,-inner_size_1>,<inner_size_1,outer_size_1,inner_size_1> }
// texture {house_texture_1}
// scale house_size_1
// translate house_size_1/2
}
- declare tunnel1=difference {
box {<-outer_tunnel_size_1,-outer_tunnel_size_1,-outer_tunnel_size_1 >,<outer_tunnel_size_1,outer_tunnel_size_1,outer_tunnel_size_1 >}
box {<-inner_tunnel_size_1,-inner_tunnel_size_1,-inner_tunnel_size_1>, <inner_tunnel_size_1,inner_tunnel_size_1,inner_tunnel_size_1> }
// texture {house_texture_1}
// scale house_size_1
// translate house_size_1/2
}
- declare basik2= difference {
object {basik1}
object {tunnel1}
}
- declare door_lokation_x_1=0;
- declare door_width_1=0.2;
- declare door_height_y_1=0.75;
- declare door_base_y_1=-1;
- declare door_begin_x_1= door_lokation_x_1 - door_width_1/2;
- declare door_end_x_1= door_lokation_x_1 + door_width_1/2;
- declare door_upper_y_1=door_base_y_1 +door_height_y_1;
- declare door_z_delta_1=wall_thickness_1+0.02;
- declare door_gap_0= box {<door_begin_x_1,door_base_y_1,-door_z_delta_1-1>,<door_end_x_1,door_upper_y_1,+door_z_delta_1-1> }
- declare door_gap_1= box {<door_begin_x_1,door_base_y_1,-door_z_delta_1-0.5>,<door_end_x_1,door_upper_y_1,+door_z_delta_1-0.5> }
- declare door_gap_2= box {<door_begin_x_1,door_base_y_1,-door_z_delta_1+0.5>,<door_end_x_1,door_upper_y_1,+door_z_delta_1+0.5> }
- declare window_lokation_x_1=-0.5;
- declare window_width_1=0.2;
- declare window_height_y_1=0.4;
- declare window_base_y_1=-0.5;
- declare window_begin_x_1= window_lokation_x_1 - window_width_1/2;
- declare window_end_x_1= window_lokation_x_1 + window_width_1/2;
- declare window_upper_y_1=window_base_y_1 +window_height_y_1;
- declare window_z_delta_1=wall_thickness_1+0.03;
- declare window_gap_0= box {<window_begin_x_1,window_base_y_1,-window_z_delta_1-1>,<window_end_x_1,window_upper_y_1,+window_z_delta_1-1> }
//#declare door_gap_0= box {<-0.5,-1,-1>,<0.5,0.0,-0.5> }
- declare innerwall_1= box{
<-0.55,-1,-1>,<-0.55+wall_thickness_1,1,-0.5>
}
- declare floor_1=box
{
<-1,-1,-1><1,-0.995,1>
}
- declare roof_of_patio_1=difference
{
box { <-0.5,0.995,-0.5><0.5,1,0.5> }
box { <-0.3,0.994,-0.3><0.3,1.001,0.3> }
}
- declare roof_crown_1=difference
{
box { <-1,1,-1><1,1.1,1> }
box { <-0.95,0.95,-0.95><0.95,1.2,0.95> }
}
- declare roof_of_first_block_1=difference
{
box { <-1,-0.02,-1><1,0,1> }
box { <-0.3,-0.05,-0.3><0.3,0.001,0.3> }
}
- declare pole1= cylinder
{
<-0.3,-1,-0.3>, <-0.3,1,-0.3>, 0.02
}
- declare basik3=difference
{
object {basik2}
object {door_gap_0}
object {door_gap_1}
object {door_gap_2}
object {door_gap_2
rotate y*90
}
object {door_gap_2
rotate y*-90
}
object {
window_gap_0
rotate y*180
}
object {
window_gap_0
// translate x*0.9
rotate y*-90
}
object {
window_gap_0
translate x*0.9
rotate y*-90
}
object {
window_gap_0
translate y*1
rotate y*-90
}
object {
window_gap_0
translate y*1
translate x*0.9
rotate y*-90
}
}
- declare basik4=union {
object {basik3}
object {innerwall_1}
object {innerwall_1
translate x*1
}
object {innerwall_1
rotate y*90
//translate x*1
}
object {innerwall_1
rotate y*-90
translate z*1
}
object {
roof_crown_1
}
}
- declare house_base_0=difference {
object {basik4}
}
- declare house_base_1=union {
object {
house_base_0
texture {
house_texture_1
}
}
object {
floor_1
translate y*0
texture {
floor_texture_1
}
}
object {
roof_of_patio_1
texture {
roof_of_patio_texture_1
}
}
object {
roof_of_first_block_1
texture {
roof_of_patio_texture_1
}
}
object {
pole1
texture {
roof_of_patio_texture_1
}
}
object {
pole1
rotate y*90
texture {
roof_of_patio_texture_1
}
}
object {
pole1
rotate y*180
texture {
roof_of_patio_texture_1
}
}
object {
pole1
rotate y*270
texture {
roof_of_patio_texture_1
}
}
}
- declare house_1=difference
{
object {house_base_1 }
/*
// debug cut!
box {<-1.2,0.1,-1.2>,<1.2,1.2,1.2>
texture
{
pigment {
color Red
}
}
}
*/
}
object {
house_1
translate y*1
scale <35,20,35>
rotate y*30
}
Licensing[edit]
- 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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:13, 2 May 2022 | 1,600 × 1,200 (3.05 MB) | Merikanto (talk | contribs) | update | |
14:44, 30 April 2022 | 1,600 × 1,200 (4.25 MB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
PNG file comment |
|
---|---|
File change date and time | 13:12, 2 May 2022 |
Software used |