#include "SHARE-3D_g.inc"

#declare ROOFTEX = texture {
	pigment {
		color Black
	}
}
#declare MAINTEX = texture {
	pigment {
		color White
	}
	finish {
		ambient 10
	}
}
#declare BRIGHTRED= texture {
	pigment {
		color Red
	}
	finish {
		ambient 10
	}
}
#declare FRAMES =texture{
	pigment {
		color Black
	}
	finish {
	}
}
#declare HOUSEGLASS=texture {
	pigment {
		colour rgbf <.8,.8,.8,.9>
	}
	finish {}
}

#declare BUNG=union {
/*object{ P_01			//Can't see this
	texture {BRIGHTRED}
}*/
object{ P_FACIA_01		//Bit below roof
	texture {FRAMES}
}
object{ P_ROOF_PLY01 
	texture {ROOFTEX}
	}
object{ P_ROOF_FIL01 
	texture {ROOFTEX}
	}
object{ P_WIN_SLAT01
	texture {MAINTEX}	//Bits between frames
}
object{ P_WIN_GLAS01 
	texture {HOUSEGLASS}	//Window glass
}
object{ P_WIN_GLID01 		// Window frames
	texture {FRAMES}
}
object{ P_WALL_EXT01 		//Inside walls
	texture {MAINTEX}
}
object{ P_GAR_CASE01		//Round garage door
	texture {FRAMES}
}
object{ P_GAR_DOOR01		//Garage door
	texture {MAINTEX}
}
/*object{ P_FRONT_CS01		//Can't see this
	texture {BRIGHTRED}
}*/
/*object{ P_FRONT_DR01		//Can't see this
	texture {BRIGHTRED}
}*/
object{ P_SLAB_01		//paving slabs around base
	texture {T_DEFAULT}
}
/*object{ P_VENT_RND01		//Missed out the vents: very american
	texture {MAINTEX}
}*/
/*object{ P_VENT_SQR01 		//Can't see this
	texture {MAINTEX}
}*/
object{ P_MOLD_01 		//More window frame type stuff (with the shutters)
	texture {MAINTEX}
}
object{ P_TRIM01 
	texture {FRAMES}	//Lines down corners of walls
}
object{ P_WIN_CASE01		//MORE window frame
	texture {FRAMES}	
}
object{ P_SIDEING01		//The walls!
	texture {MAINTEX}
}
rotate x*-90+y*90
translate <150,197.5,300>
}

#declare BUNGALOW=union {
	object {BUNG}
	object {
	box {
		<5,3.5,0>
		<-200,-1,200>
	}
	pigment {colour White*.7}
}
}