; Stará budova
; ------------
; (c) Vince Black, 2008
; Originál se nachází u stanice Praha-Bubny


; BOK-levý
CreateMeshBuilder,
AddVertex, -4, 0, 18
AddVertex, -4, 5.5, 18
AddVertex, -4, 5.5, 0
AddVertex, -4, 0, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_bok_l.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; PŘEDEK
CreateMeshBuilder,
AddVertex, -4, 0, 0
AddVertex, -4, 5.5, 0
AddVertex, 4, 5.5, 0
AddVertex, 4, 0, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_predek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; ŠTÍT-přední
CreateMeshBuilder,
AddVertex, -4, 5.49, 0
AddVertex, -4, 7.7, 0
AddVertex, 4, 7.7, 0
AddVertex, 4, 5.49, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_stit.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor, 0, 0, 0,

; BOK-pravý
CreateMeshBuilder,
AddVertex, 4, 0, 0
AddVertex, 4, 5.5, 0
AddVertex, 4, 5.5, 18
AddVertex, 4, 0, 18
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_bok_p.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; ZADEK
CreateMeshBuilder,
AddVertex, 4, 0, 18
AddVertex, 4, 5.5, 18
AddVertex, -4, 5.5, 18
AddVertex, -4, 0, 18
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_zadek.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; ŠTÍT-zadní
CreateMeshBuilder,
AddVertex, 4, 5.49, 18
AddVertex, 4, 7.7, 18
AddVertex, -4, 7.7, 18
AddVertex, -4, 5.49, 18
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_stit.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor, 0, 0, 0,


; *****************************************************************************************************************************************************
; STŘECHA-levá část
CreateMeshBuilder,
AddVertex, -4.5, 5.7, -0.5
AddVertex, -4.5, 5.7, 18.5
AddVertex, 0, 7.7, 18.5
AddVertex, 0, 7.7, -0.5
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_strecha.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
; podhled
CreateMeshBuilder,
AddVertex, -4.5, 5.69, -0.5
AddVertex, -4.5, 5.69, 18.5
AddVertex, 0, 7.69, 18.5
AddVertex, 0, 7.69, -0.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor, 5, 11, 10,
; část pod střechou
CreateMeshBuilder,
AddVertex, -4, 5.4, 18
AddVertex, -4, 5.9, 18
AddVertex, -4, 5.9, 0
AddVertex, -4, 5.5, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor, 5, 11, 10,
; dřevěná lišta-přední
CreateMeshBuilder,
AddVertex, -4.5, 5.5, -0.5
AddVertex, -4.5, 5.8, -0.5
AddVertex, 0, 7.8, -0.5
AddVertex, 0, 7.5, -0.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_krov.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
; dřevěná lišta-zadní
CreateMeshBuilder,
AddVertex, -4.5, 5.5, 18.5
AddVertex, -4.5, 5.8, 18.5
AddVertex, 0, 7.8, 18.5
AddVertex, 0, 7.5, 18.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_krov.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,


; STŘECHA-pravá část
CreateMeshBuilder,
AddVertex, 0, 7.7, -0.5
AddVertex, 0, 7.7, 18.5
AddVertex, 4.5, 5.7, 18.5
AddVertex, 4.5, 5.7, -0.5
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_strecha.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
; podhled
CreateMeshBuilder,
AddVertex, 0, 7.69, -0.5
AddVertex, 0, 7.69, 18.5
AddVertex, 4.5, 5.69, 18.5
AddVertex, 4.5, 5.69, -0.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor, 5, 11, 10,
; část pod střechou
CreateMeshBuilder,
AddVertex, 4, 5.4, 0
AddVertex, 4, 5.9, 0
AddVertex, 4, 5.9, 18
AddVertex, 4, 5.4, 18
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor, 5, 11, 10,
; dřevěná lišta-přední
CreateMeshBuilder,
AddVertex, 0, 7.5, -0.5
AddVertex, 0, 7.8, -0.5
AddVertex, 4.5, 5.8, -0.5
AddVertex, 4.5, 5.5, -0.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_krov.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; dřevěná lišta-zadní
CreateMeshBuilder,
AddVertex, 0, 7.5, 18.5
AddVertex, 0, 7.8, 18.5
AddVertex, 4.5, 5.8, 18.5
AddVertex, 4.5, 5.5, 18.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_krov.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,


; *****************************************************************************************************************************************************
; KOMÍNY - levá část
; 1. komín
CreateMeshBuilder,
Cube,0.15,0.45,0.3
Translate, -0.85, 7.69, 14.3
Generatenormals,
LoadTexture,budova_st_komin1.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, -1, 8.141, 14
AddVertex, -1, 8.141, 14.6
AddVertex, -0.7, 8.141, 14.6
AddVertex, -0.7, 8.141, 14
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,

; větrání?
CreateMeshBuilder,
Cylinder, 20, 0.05, 0.05, 0.94
Translate, -4, 6.3, 12.7
LoadTexture,budova_st_vetrani.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 

CreateMeshBuilder,
Cylinder, 20, 0.05, 0.05, 0.74
Translate, -3, 6.75, 12.7
LoadTexture,budova_st_vetrani.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 


; 2. komín
CreateMeshBuilder,
Cube,0.15,0.6,0.15
Translate, -3, 6.6, 11.7
Generatenormals,
LoadTexture,budova_st_komin2.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, -3.15, 7.21, 11.55
AddVertex, -3.15, 7.21, 11.85
AddVertex, -2.85, 7.21, 11.85
AddVertex, -2.85, 7.21, 11.55
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,112, 77, 40,

CreateMeshBuilder,
Cylinder, 20, 0.05, 0.05, 0.64
Translate, -3, 7.5, 11.7
LoadTexture,budova_st_komin2-r.png,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,1 
SetTextureCoordinates,2,0.1,0 
SetTextureCoordinates,3,0.1,1
SetTextureCoordinates,4,0.2,0 
SetTextureCoordinates,5,0.2,1 
SetTextureCoordinates,6,0.3,0 
SetTextureCoordinates,7,0.3,1 
SetTextureCoordinates,8,0.4,0 
SetTextureCoordinates,9,0.4,1 
SetTextureCoordinates,10,0.5,0 
SetTextureCoordinates,11,0.5,1
SetTextureCoordinates,12,0.6,0 
SetTextureCoordinates,13,0.6,1 
SetTextureCoordinates,14,0.7,0 
SetTextureCoordinates,15,0.7,1 
SetTextureCoordinates,16,0.8,0 
SetTextureCoordinates,17,0.8,1 
SetTextureCoordinates,18,0.9,0 
SetTextureCoordinates,19,0.9,1 
SetTextureCoordinates,20,1,0 
SetTextureCoordinates,21,1,1 
SetTextureCoordinates,22,1.1,0 
SetTextureCoordinates,23,1.1,1 
SetTextureCoordinates,24,1.2,0 
SetTextureCoordinates,25,1.2,1 
SetTextureCoordinates,26,1.3,0 
SetTextureCoordinates,27,1.3,1 
SetTextureCoordinates,28,1.4,0 
SetTextureCoordinates,29,1.4,1 
SetTextureCoordinates,30,1.5,0 
SetTextureCoordinates,31,1.5,1 
SetTextureCoordinates,32,1.6,0 
SetTextureCoordinates,33,1.6,1 
SetTextureCoordinates,34,1.7,0 
SetTextureCoordinates,35,1.7,1 
SetTextureCoordinates,36,1.8,0 
SetTextureCoordinates,37,1.8,1 
SetTextureCoordinates,38,1.9,0 
SetTextureCoordinates,39,1.9,1 


; 3. komín
CreateMeshBuilder,
Cube,0.15,0.6,0.15
Translate, -1.2, 7.53, 10.1
Generatenormals,
LoadTexture,budova_st_komin3.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
Cube,0.19,0.025,0.19
Translate, -1.2, 8.15, 10.1
Generatenormals,
LoadTexture,budova_st_komin_obruba.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, -1.39, 8.176, 9.91
AddVertex, -1.39, 8.176, 10.29
AddVertex, -1.01, 8.176, 10.29
AddVertex, -1.01, 8.176, 9.91
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,


; 4. komín
CreateMeshBuilder,
Cube,0.15,0.45,0.3
Translate, -0.85, 7.69, 6.3
Generatenormals,
LoadTexture,budova_st_komin1.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
Cube,0.19,0.05,0.39
Translate, -0.85, 8.19, 6.3
Generatenormals,
LoadTexture,budova_st_komin_obruba.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, -1.04, 8.25, 5.91
AddVertex, -1.04, 8.25, 6.69
AddVertex, -0.66, 8.25, 6.69
AddVertex, -0.66, 8.25, 5.91
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,


; 5. komín
CreateMeshBuilder,
Cube,0.15,0.45,0.3
Translate, -0.85, 7.69, 4.3
Generatenormals,
LoadTexture,budova_st_komin1.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
Cube,0.19,0.02,0.39
Translate, -0.85, 8.16, 4.3
Generatenormals,
LoadTexture,budova_st_komin_obruba.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, -1.04, 8.181, 3.91
AddVertex, -1.04, 8.181, 4.69
AddVertex, -0.66, 8.181, 4.69
AddVertex, -0.66, 8.181, 3.91
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,


; *****************************************************************************************************************************************************
; KOMÍNY - levá část
; 1. komín
CreateMeshBuilder,
Cube,0.15,0.6,0.15
Translate, 0.5, 7.93, 17.6
Generatenormals,
LoadTexture,budova_st_komin3.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
Cube,0.19,0.025,0.19
Translate, 0.5, 8.55, 17.6
Generatenormals,
LoadTexture,budova_st_komin_obruba.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, 0.69, 8.576, 17.41
AddVertex, 0.69, 8.576, 17.79
AddVertex, 0.31, 8.576, 17.79
AddVertex, 0.31, 8.576, 17.41
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,

; 2. komín
CreateMeshBuilder,
Cube,0.15,0.45,0.3
Translate, 0.85, 7.69, 14.8
Generatenormals,
LoadTexture,budova_st_komin1.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, 1, 8.141, 14.5
AddVertex, 1, 8.141, 15.1
AddVertex, 0.7, 8.141, 15.1
AddVertex, 0.7, 8.141, 14.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,

; 3. komín
CreateMeshBuilder,
Cube,0.15,0.45,0.3
Translate, 0.85, 7.69, 10.6
Generatenormals,
LoadTexture,budova_st_komin1.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, 1, 8.141, 10.3
AddVertex, 1, 8.141, 10.9
AddVertex, 0.7, 8.141, 10.9
AddVertex, 0.7, 8.141, 10.3
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,


; 4. komín
CreateMeshBuilder,
Cube,0.15,0.65,0.3
Translate, 0.85, 7.79, 8.3
Generatenormals,
LoadTexture,budova_st_komin1.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
Cube,0.19,0.05,0.39
Translate, 0.85, 8.39, 8.3
Generatenormals,
LoadTexture,budova_st_komin_obruba.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, 1.04, 8.45, 7.91
AddVertex, 1.04, 8.45, 8.69
AddVertex, 0.66, 8.45, 8.69
AddVertex, 0.66, 8.45, 7.91
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,


; 5. komín
CreateMeshBuilder,
Cube,0.15,0.65,0.4
Translate, 0.85, 7.79, 3.3
Generatenormals,
LoadTexture,budova_st_komin1.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
Cube,0.19,0.05,0.49
Translate, 0.85, 8.39, 3.3
Generatenormals,
LoadTexture,budova_st_komin_obruba.png,	
SetTextureCoordinates,3,0,0 
SetTextureCoordinates,2,0,1  
SetTextureCoordinates,0,1,0 
SetTextureCoordinates,1,1,1 
SetTextureCoordinates,4,2,0 
SetTextureCoordinates,5,2,1 
SetTextureCoordinates,7,1,0 
SetTextureCoordinates,6,1,1 

CreateMeshBuilder,
AddVertex, 1.04, 8.45, 2.81
AddVertex, 1.04, 8.45, 3.79
AddVertex, 0.66, 8.45, 3.79
AddVertex, 0.66, 8.45, 2.81
AddFace2, 0, 1, 2, 3
GenerateNormals,
SetColor,14, 8, 1,


; *****************************************************************************************************************************************************
; LÁVKA
CreateMeshBuilder,
Cube,0.15,0.025,8.1
Translate, 0, 7.82, 10.4
Generatenormals,
SetColor,26, 25, 23,

; LÁVKA-zábradlí
CreateMeshBuilder,
AddVertex, -0.15, 7.82, 18.2
AddVertex, -0.15, 8.42, 18.2
AddVertex, -0.15, 8.42, 18.15
AddVertex, -0.15, 7.82, 18.15
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.82, 16.6
AddVertex, -0.15, 8.42, 16.6
AddVertex, -0.15, 8.42, 16.55
AddVertex, -0.15, 7.82, 16.55
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.7, 15
AddVertex, -0.15, 8.42, 15
AddVertex, -0.15, 8.42, 14.95
AddVertex, -0.15, 7.7, 14.95
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.82, 13.4
AddVertex, -0.15, 8.42, 13.4
AddVertex, -0.15, 8.42, 13.35
AddVertex, -0.15, 7.82, 13.35
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.7, 11.8
AddVertex, -0.15, 8.42, 11.8
AddVertex, -0.15, 8.42, 11.75
AddVertex, -0.15, 7.7, 11.75
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.82, 10.2
AddVertex, -0.15, 8.42, 10.2
AddVertex, -0.15, 8.42, 10.15
AddVertex, -0.15, 7.82, 10.15
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.7, 8.6
AddVertex, -0.15, 8.42, 8.6
AddVertex, -0.15, 8.42, 8.55
AddVertex, -0.15, 7.7, 8.55
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.82, 7.2
AddVertex, -0.15, 8.42, 7.2
AddVertex, -0.15, 8.42, 7.15
AddVertex, -0.15, 7.82, 7.15
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.7, 5.6
AddVertex, -0.15, 8.42, 5.6
AddVertex, -0.15, 8.42, 5.55
AddVertex, -0.15, 7.7, 5.55
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.7, 4
AddVertex, -0.15, 8.42, 4
AddVertex, -0.15, 8.42, 3.95
AddVertex, -0.15, 7.7, 3.95
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 7.7, 2.4
AddVertex, -0.15, 8.42, 2.4
AddVertex, -0.15, 8.42, 2.35
AddVertex, -0.15, 7.7, 2.35
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,

CreateMeshBuilder,
AddVertex, -0.15, 8.39, 18.4
AddVertex, -0.15, 8.42, 18.4
AddVertex, -0.15, 8.42, 2.3
AddVertex, -0.15, 8.39, 2.3
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,26, 25, 23,


; HROMOSVODY
CreateMeshBuilder,
AddVertex, -0.15, 7.82, 18.2
AddVertex, -0.15, 9.02, 18.2
AddVertex, -0.15, 9.02, 18.17
AddVertex, -0.15, 7.82, 18.17
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,159, 153, 163,

CreateMeshBuilder,
AddVertex, -0.15, 7.7, 8.8
AddVertex, -0.15, 9.02, 8.8
AddVertex, -0.15, 9.02, 8.77
AddVertex, -0.15, 7.7, 8.77
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,159, 153, 163,

CreateMeshBuilder,
AddVertex, 0, 7.7, 0.1
AddVertex, 0, 9.02, 0.1
AddVertex, 0, 9.02, 0.07
AddVertex, 0, 7.7, 0.07
AddFace2, 0, 1, 2, 3
Generatenormals,
SetColor,159, 153, 163,





; OKAP VODOROVNÝ-levý
CreateMeshBuilder,
AddVertex, -4.55, 5.6, 18.5
AddVertex, -4.5, 5.7, 18.5
AddVertex, -4.5, 5.7, -0.5
AddVertex, -4.55, 5.6, -0.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_okap.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 2.5, 0,
SetTextureCoordinates,3, 2.5, 1,

CreateMeshBuilder,
AddVertex, -4.65, 5.6, 18.5
AddVertex, -4.55, 5.6, 18.5
AddVertex, -4.55, 5.6, -0.5
AddVertex, -4.65, 5.6, -0.5
AddFace2, 0, 1, 2, 3
SetColor, 16, 17, 18
GenerateNormals,

CreateMeshBuilder,
AddVertex, -4.65, 5.6, 18.5
AddVertex, -4.7, 5.7, 18.5
AddVertex, -4.7, 5.7, -0.5
AddVertex, -4.65, 5.6, -0.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_okap.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 2.5, 0,
SetTextureCoordinates,3, 2.5, 1,


; OKAP VODOROVNÝ-pravý
CreateMeshBuilder,
AddVertex, 4.55, 5.6, 18.5
AddVertex, 4.5, 5.7, 18.5
AddVertex, 4.5, 5.7, -0.5
AddVertex, 4.55, 5.6, -0.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_okap.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 2.5, 0,
SetTextureCoordinates,3, 2.5, 1,

CreateMeshBuilder,
AddVertex, 4.55, 5.6, 18.5
AddVertex, 4.65, 5.6, 18.5
AddVertex, 4.65, 5.6, -0.5
AddVertex, 4.55, 5.6, -0.5
AddFace2, 0, 1, 2, 3
SetColor, 16, 17, 18
GenerateNormals,

CreateMeshBuilder,
AddVertex, 4.65, 5.6, 18.5
AddVertex, 4.7, 5.7, 18.5
AddVertex, 4.7, 5.7, -0.5
AddVertex, 4.65, 5.6, -0.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,budova_st_okap.png,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 2.5, 0,
SetTextureCoordinates,3, 2.5, 1,
