;description=Silo
;auteur=Corentin Le Fur
;copyright=lefur.corentin@free.fr

;Silo front
[MeshBuilder]
Vertex -10,0,-10
Vertex -10,25,-10
vertex  10,25,-10
Vertex  10,0,-10
Face 0,1,2,3

[Texture]
Load SILO2.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,5,0
Coordinates 3,5,1
transparent 0,0,255

;Silo front1
[MeshBuilder]
Vertex -10,0,-10
Vertex -10,25,-10
vertex -15,25,-10
Vertex -15,0,-10
Face 3,2,1,0

[Texture]
Load SILO2.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,1,0
Coordinates 3,1,1
transparent 0,0,255

;Silo Side1
[MeshBuilder]
Vertex 10,0,-10
Vertex 10,25,-10
Vertex 10,25,10
Vertex 10,0,10
Face 0,1,2,3
[Texture]
Load SILO2.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,2,0
Coordinates 3,2,1
transparent 0,0,255

;Silo back
[MeshBuilder]
Vertex -10,0,10
Vertex -10,25,10
Vertex  10,25,10
Vertex  10,0,10
Face 3,2,1,0
[Texture]
Load SILO2.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,5,0
Coordinates 3,5,1
transparent 0,0,255

;Silo back
[MeshBuilder]
Vertex -10,0,13
Vertex -10,25,13
Vertex -15,25,13
Vertex -15,0,13
Face 0,1,2,3
[Texture]
Load SILO2.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,1,0
Coordinates 3,1,1
transparent 0,0,255

;Silo Side1
[MeshBuilder]
Vertex -10,0,-10
Vertex -10,25,-10
Vertex -10,25,13
Vertex -10,0,13
Face2 3,2,1,0
[Texture]
Load SILO2.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,3,0
Coordinates 3,3,1
transparent 0,0,255

;Silo Side1
[MeshBuilder]
Vertex -15,0,-10
Vertex -15,25,-10
Vertex -15,25,13
Vertex -15,0,13
Face 3,2,1,0
[Texture]
Load SILO2.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,3,0
Coordinates 3,3,1
transparent 0,0,255

;Toit1
[MeshBuilder]
Vertex -10,25,-10
Vertex -10,25,10
Vertex  10,25,10
Vertex  10,25,-10 
Face 0,1,2,3
[Texture]
Load SILO.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,2,0
Coordinates 3,2,1

;Toit2
[MeshBuilder]
Vertex -10,25,-10
Vertex -10,25,13
Vertex -15,25,13
Vertex -15,25,-10 
Face 3,2,1,0
[Texture]
Load SILO.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,2,0
Coordinates 3,2,1

;Maison du dessus1
[MeshBuilder]
Cube 10,2,6
translate -1,27,0
color 182,172,132
[MeshBuilder]
Cube 10.5,0.3,6.5
translate -1,29,0
color 170,115,15

;Maison du dessus2
[MeshBuilder]
Cube 4,7,4
translate -10,30,0
color 182,182,132
[MeshBuilder]
Cube 4.5,0.5,4.5
translate -10,37,0
color 100,100,100

;Antenne
[MeshBuilder]
Cylinder 10,0.3,1,20
Translate -10,45,0
Color 240,240,220

;Sol
[MeshBuilder]
Vertex -16,0,-15
Vertex -16,0,15
Vertex  11,0,15
Vertex  11,0,-15
Face2 0,1,2,3
[Texture]
Load grass6.bmp
Coordinates 0,0,1
Coordinates 1,0,0
Coordinates 2,2,0
Coordinates 3,2,1