; Perón - betonové boky, šedý povrch, zastřešený počáteční díl (vzdálenost podpěr 0-12,5 m)
; -----------------------------------------------------------------------------------------
; (c) Vince Black, 2007
; Originál se nachází ve stanici Praha - Masarykovo nádraží

; PŘEDEK (ZAČÁTEK) A KONEC PERÓNU
CreateMeshBuilder,
AddVertex, -3.1, -0.4, 0
AddVertex, -3.1, 0.25, 0
AddVertex, 3.1, 0.25, 0
AddVertex, 3.1, -0.4, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.5, 0,
SetTextureCoordinates,3, 0.5, 1,

CreateMeshBuilder,
AddVertex, -3.1, -0.4, 25
AddVertex, -3.1, 0.25, 25
AddVertex, 3.1, 0.25, 25
AddVertex, 3.1, -0.4, 25
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.5, 0,
SetTextureCoordinates,3, 0.5, 1,

; POVRCH NÁSTUPIŠTĚ
CreateMeshBuilder,
AddVertex, -3.1, 0.25, 0
AddVertex, -3.1, 0.25, 25
AddVertex, 3.1, 0.25, 25
AddVertex, 3.1, 0.25, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_povrch_sedy.bmp,
SetTextureCoordinates,0, 0, 5,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 5,

; KRAJE
CreateMeshBuilder,
AddVertex, -3.1, 0.251, 0
AddVertex, -3.1, 0.251, 25
AddVertex, -2.8, 0.251, 25
AddVertex, -2.8, 0.251, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_kraj.bmp,
SetTextureCoordinates,0, 0, 9,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 9,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 2.8, 0.251, 0
AddVertex, 2.8, 0.251, 25
AddVertex, 3.1, 0.251, 25
AddVertex, 3.1, 0.251, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_kraj.bmp,
SetTextureCoordinates,0, 0, 9,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 9,
SetDecalTransparentColor,0,0,0,


; BOKY
CreateMeshBuilder,
AddVertex, -3.1, -0.4, 0
AddVertex, -3.1, 0.25, 0
AddVertex, -3.1, 0.25, 25
AddVertex, -3.1, -0.4, 25
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 2, 0,
SetTextureCoordinates,3, 2, 1,

CreateMeshBuilder,
AddVertex, 3.1, -0.4, 0
AddVertex, 3.1, 0.25, 0
AddVertex, 3.1, 0.25, 25
AddVertex, 3.1, -0.4, 25
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 2, 0,
SetTextureCoordinates,3, 2, 1,

; 1. PODPĚRA -------------------------------------------------------------------------------------------------------------------
; ZÁKLADNÍ PODPĚRA

CreateMeshBuilder,
AddVertex, -0.2, 0.25, 0.12
AddVertex, -0.17, 4.2, 0.12
AddVertex, 0.17, 4.2, 0.12
AddVertex, 0.2, 0.25, 0.12
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, 0.2, 0.25, 0
AddVertex, 0.17, 3.8, 0
AddVertex, 0.17, 3.8, 0.24
AddVertex, 0.2, 0.25, 0.24
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -0.2, 0.25, 0
AddVertex, -0.17, 3.8, 0
AddVertex, -0.17, 3.8, 0.24
AddVertex, -0.2, 0.25, 0.24
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; "VÉČKO" POD STŘECHOU
CreateMeshBuilder,
AddVertex, 0.17, 3.8, 0.12
AddVertex, 0.17, 4.2, 0.12
AddVertex, 3.1, 4.36, 0.12
AddVertex, 3.1, 4.25, 0.12
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera2.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0.5,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, 3.1, 4.35, 0
AddVertex, 0.17, 4.19, 0
AddVertex, 0.17, 4.19, 0.24
AddVertex, 3.1, 4.35, 0.24
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, 3.1, 4.25, 0
AddVertex, 0.17, 3.8, 0
AddVertex, 0.17, 3.8, 0.24
AddVertex, 3.1, 4.25, 0.24
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,


CreateMeshBuilder,
AddVertex, -3.1, 4.25, 0.12
AddVertex, -3.1, 4.36, 0.12
AddVertex, -0.17, 4.2, 0.12
AddVertex, -0.17, 3.8, 0.12
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera2.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0.5,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -3.1, 4.25, 0.24
AddVertex, -0.17, 3.8, 0.24
AddVertex, -0.17, 3.8, 0
AddVertex, -3.1, 4.25, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -3.1, 4.35, 0.24
AddVertex, -0.17, 4.19, 0.24
AddVertex, -0.17, 4.19, 0
AddVertex, -3.1, 4.35, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -0.17, 4.19, 0.24
AddVertex, 0.17, 4.19, 0.24
AddVertex, 0.17, 4.19, 0
AddVertex, -0.17, 4.19, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; SVĚTLO - LEVÉ
CreateMeshBuilder,
AddVertex, -2.19, 4, 0.07
AddVertex, -2.17, 4.1, 0.07
AddVertex, -0.73, 3.88, 0.07
AddVertex, -0.75, 3.78, 0.07
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -2.19, 4, 0.07
AddVertex, -2.19, 4, 0.18
AddVertex, -0.75, 3.78, 0.18
AddVertex, -0.75, 3.78, 0.07
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_spodek.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -2.19, 4, 0.18
AddVertex, -2.17, 4.1, 0.18
AddVertex, -0.73, 3.88, 0.18
AddVertex, -0.75, 3.78, 0.18
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -2.19, 4, 0.18
AddVertex, -2.17, 4.1, 0.18
AddVertex, -2.17, 4.1, 0.07
AddVertex, -2.19, 4, 0.07
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.1, 0,
SetTextureCoordinates,3, 0.1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -0.75, 3.78, 0.18
AddVertex, -0.73, 3.88, 0.18
AddVertex, -0.73, 3.88, 0.07
AddVertex, -0.75, 3.78, 0.07
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.1, 0,
SetTextureCoordinates,3, 0.1, 1,
SetDecalTransparentColor,0,0,0,


; SVĚTLO - PRAVÉ
CreateMeshBuilder,
AddVertex, 0.75, 3.78, 0.07
AddVertex, 0.73, 3.88, 0.07
AddVertex, 2.17, 4.1, 0.07
AddVertex, 2.19, 4, 0.07
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 0.75, 3.78, 0.07
AddVertex, 0.75, 3.78, 0.18
AddVertex, 2.19, 4, 0.18
AddVertex, 2.19, 4, 0.07
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_spodek.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 0.75, 3.78, 0.18
AddVertex, 0.73, 3.88, 0.18
AddVertex, 2.17, 4.1, 0.18
AddVertex, 2.19, 4, 0.18
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 0.75, 3.78, 0.18
AddVertex, 0.73, 3.88, 0.18
AddVertex, 0.73, 3.88, 0.07
AddVertex, 0.75, 3.78, 0.07
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.1, 0,
SetTextureCoordinates,3, 0.1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 2.19, 4, 0.07
AddVertex, 2.17, 4.1, 0.07
AddVertex, 2.17, 4.1, 0.18
AddVertex, 2.19, 4, 0.18
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.1, 0,
SetTextureCoordinates,3, 0.1, 1,
SetDecalTransparentColor,0,0,0,


; 2. PODPĚRA -------------------------------------------------------------------------------------------------------------------
; ZÁKLADNÍ PODPĚRA

CreateMeshBuilder,
AddVertex, -0.2, 0.25, 12.5
AddVertex, -0.17, 4.2, 12.5
AddVertex, 0.17, 4.2, 12.5
AddVertex, 0.2, 0.25, 12.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, 0.2, 0.25, 12.38
AddVertex, 0.17, 3.8, 12.38
AddVertex, 0.17, 3.8, 12.62
AddVertex, 0.2, 0.25, 12.62
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -0.2, 0.25, 12.38
AddVertex, -0.17, 3.8, 12.38
AddVertex, -0.17, 3.8, 12.62
AddVertex, -0.2, 0.25, 12.62
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

; "VÉČKO" POD STŘECHOU
CreateMeshBuilder,
AddVertex, 0.17, 3.8, 12.5
AddVertex, 0.17, 4.2, 12.5
AddVertex, 3.1, 4.36, 12.5
AddVertex, 3.1, 4.25, 12.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera2.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0.5,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, 3.1, 4.35, 12.38
AddVertex, 0.17, 4.19, 12.38
AddVertex, 0.17, 4.19, 12.62
AddVertex, 3.1, 4.35, 12.62
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, 3.1, 4.25, 12.38
AddVertex, 0.17, 3.8, 12.38
AddVertex, 0.17, 3.8, 12.62
AddVertex, 3.1, 4.25, 12.62
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,


CreateMeshBuilder,
AddVertex, -3.1, 4.25, 12.5
AddVertex, -3.1, 4.36, 12.5
AddVertex, -0.17, 4.2, 12.5
AddVertex, -0.17, 3.8, 12.5
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera2.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0.5,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -3.1, 4.25, 12.62
AddVertex, -0.17, 3.8, 12.62
AddVertex, -0.17, 3.8, 12.38
AddVertex, -3.1, 4.25, 12.38
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -3.1, 4.35, 12.62
AddVertex, -0.17, 4.19, 12.62
AddVertex, -0.17, 4.19, 12.38
AddVertex, -3.1, 4.35, 12.38
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,

CreateMeshBuilder,
AddVertex, -0.17, 4.19, 12.62
AddVertex, 0.17, 4.19, 12.62
AddVertex, 0.17, 4.19, 12.38
AddVertex, -0.17, 4.19, 12.38
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_podpera_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,


; SVĚTLO - LEVÉ
CreateMeshBuilder,
AddVertex, -2.19, 4, 12.45
AddVertex, -2.17, 4.1, 12.45
AddVertex, -0.73, 3.88, 12.45
AddVertex, -0.75, 3.78, 12.45
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -2.19, 4, 12.45
AddVertex, -2.19, 4, 12.56
AddVertex, -0.75, 3.78, 12.56
AddVertex, -0.75, 3.78, 12.45
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_spodek.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -2.19, 4, 12.56
AddVertex, -2.17, 4.1, 12.56
AddVertex, -0.73, 3.88, 12.56
AddVertex, -0.75, 3.78, 12.56
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -2.19, 4, 12.56
AddVertex, -2.17, 4.1, 12.56
AddVertex, -2.17, 4.1, 12.45
AddVertex, -2.19, 4, 12.45
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0.05, 1,
SetTextureCoordinates,1, 0.05, 0,
SetTextureCoordinates,2, 0.15, 0,
SetTextureCoordinates,3, 0.15, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, -0.75, 3.78, 12.56
AddVertex, -0.73, 3.88, 12.56
AddVertex, -0.73, 3.88, 12.45
AddVertex, -0.75, 3.78, 12.45
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.1, 0,
SetTextureCoordinates,3, 0.1, 1,
SetDecalTransparentColor,0,0,0,


; SVĚTLO - PRAVÉ
CreateMeshBuilder,
AddVertex, 0.73, 3.78, 12.45
AddVertex, 0.75, 3.88, 12.45
AddVertex, 2.17, 4.1, 12.45
AddVertex, 2.19, 4, 12.45
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 0.75, 3.78, 12.45
AddVertex, 0.75, 3.78, 12.56
AddVertex, 2.19, 4, 12.56
AddVertex, 2.19, 4, 12.45
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_spodek.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 0.75, 3.78, 12.56
AddVertex, 0.73, 3.88, 12.56
AddVertex, 2.17, 4.1, 12.56
AddVertex, 2.19, 4, 12.56
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 0.75, 3.78, 12.56
AddVertex, 0.73, 3.88, 12.56
AddVertex, 0.73, 3.88, 12.45
AddVertex, 0.75, 3.78, 12.45
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

CreateMeshBuilder,
AddVertex, 2.19, 4, 12.45
AddVertex, 2.17, 4.1, 12.45
AddVertex, 2.17, 4.1, 12.56
AddVertex, 2.19, 4, 12.56
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_svetlo_bok.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.1, 0,
SetTextureCoordinates,3, 0.1, 1,
SetDecalTransparentColor,0,0,0,


; DEKL KOLEM PODPĚRY
CreateMeshBuilder,
AddVertex, -0.62, 0.251, 12.15
AddVertex, -0.62, 0.251, 12.93
AddVertex, 0.62, 0.251, 12.93
AddVertex, 0.62, 0.251, 12.15
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_povrch_dekl.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,

; DEKL KOLEM PODPĚRY (v následujícím díle)
CreateMeshBuilder,
AddVertex, -0.62, 0.251, 24.61
AddVertex, -0.62, 0.251, 25
AddVertex, 0.62, 0.251, 25
AddVertex, 0.62, 0.251, 24.61
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_povrch_dekl.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0.5,
SetTextureCoordinates,2, 1, 0.5,
SetTextureCoordinates,3, 1, 1,
SetDecalTransparentColor,0,0,0,


; STŘECHA --------------------------------------------------------------------------------------------------------------------
CreateMeshBuilder,
AddVertex, 0.2, 4.2, 0
AddVertex, 0.2, 4.2, 25
AddVertex, 3.1, 4.36, 25
AddVertex, 3.1, 4.36, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_strecha.bmp,
SetTextureCoordinates,0, 0, 10,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 10,

CreateMeshBuilder,
AddVertex, -0.2, 4.2, 0
AddVertex, -0.2, 4.2, 25
AddVertex, 0.2, 4.2, 25
AddVertex, 0.2, 4.2, 0
AddFace2, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_strecha_stred.bmp,
SetTextureCoordinates,0, 0, 42,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 42,

CreateMeshBuilder,
AddVertex, -0.2, 4.2, 0
AddVertex, -0.2, 4.2, 25
AddVertex, -3.1, 4.36, 25
AddVertex, -3.1, 4.36, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_strecha.bmp,
SetTextureCoordinates,0, 0, 10,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 10,

CreateMeshBuilder,
AddVertex, -3.1, 4.361, 0
AddVertex, -3.1, 4.361, 25
AddVertex, 0, 4.21, 25
AddVertex, 0, 4.21, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_strecha_kryt.bmp,
SetTextureCoordinates,0, 0, 10,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 10,

CreateMeshBuilder,
AddVertex, 0, 4.21, 0
AddVertex, 0, 4.21, 25
AddVertex, 3.1, 4.361, 25
AddVertex, 3.1, 4.361, 0
AddFace, 0, 1, 2, 3
GenerateNormals,
LoadTexture,peron_strecha_kryt.bmp,
SetTextureCoordinates,0, 0, 10,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 10,




