;Dom-prizemny-01
;predok
CreateMeshBuilder,
AddVertex,-5,0,-4,
AddVertex,-5,3,-4,
AddVertex,5,3,-4,
AddVertex,5,0,-4,
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,stena01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,4,0,
SetTextureCoordinates, 3,4,1,
;bok-l
CreateMeshBuilder,
AddVertex,-5,0,4,
AddVertex,-5,3,4,
AddVertex,-5,5,0,
AddVertex,-5,3,-4,
AddVertex,-5,0,-4,
AddFace2,0,1,2,3,4
GenerateNormals,
LoadTexture,stena01.bmp,
SetTextureCoordinates, 0,0,2,
SetTextureCoordinates, 1,0,1,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,2,1,
SetTextureCoordinates, 4,2,2,
;bok-p
CreateMeshBuilder,
AddVertex,5,0,4,
AddVertex,5,3,4,
AddVertex,5,5,0,
AddVertex,5,3,-4,
AddVertex,5,0,-4,
AddFace2,0,1,2,3,4
GenerateNormals,
LoadTexture,stena01.bmp,
SetTextureCoordinates, 0,0,2,
SetTextureCoordinates, 1,0,1,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,2,1,
SetTextureCoordinates, 4,2,2,
;zadok
CreateMeshBuilder,
AddVertex,-5,0,4,
AddVertex,-5,3,4,
AddVertex,5,3,4,
AddVertex,5,0,4,
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,stena01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,4,0,
SetTextureCoordinates, 3,4,1,
;strecha
CreateMeshBuilder,
AddVertex,-5.5,2.9,-4.3,
AddVertex,-5.5,5,0,
AddVertex,5.5,5,0,
AddVertex,5.5,2.9,-4.3,
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,roof01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,10,0,
SetTextureCoordinates, 3,10,1,
;strecha
CreateMeshBuilder,
AddVertex,-5.5,2.9,4.3,
AddVertex,-5.5,5,0,
AddVertex,5.5,5,0,
AddVertex,5.5,2.9,4.3,
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,roof01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,10,0,
SetTextureCoordinates, 3,10,1,
;okna
;predok-l
CreateMeshBuilder,
AddVertex,-4,1,-4.01
AddVertex,-4,2.5,-4.01
AddVertex,-2.5,2.5,-4.01
AddVertex,-2.5,1,-4.01
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,okno01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,
;predok-p
CreateMeshBuilder,
AddVertex,4,1,-4.01
AddVertex,4,2.5,-4.01
AddVertex,2.5,2.5,-4.01
AddVertex,2.5,1,-4.01
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,okno01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,
;zadok-l
CreateMeshBuilder,
AddVertex,-3.5,1,4.01
AddVertex,-3.5,2.5,4.01
AddVertex,-2,2.5,4.01
AddVertex,-2,1,4.01
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,okno01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,
;zadok-p
CreateMeshBuilder,
AddVertex,3.5,1,4.01
AddVertex,3.5,2.5,4.01
AddVertex,2,2.5,4.01
AddVertex,2,1,4.01
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,okno01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,
;bok-l
CreateMeshBuilder,
AddVertex,-5.01,1,2.5
AddVertex,-5.01,2.5,2.5
AddVertex,-5.01,2.5,1
AddVertex,-5.01,1,1
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,okno01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,
CreateMeshBuilder,
AddVertex,-5.01,1,-2.5
AddVertex,-5.01,2.5,-2.5
AddVertex,-5.01,2.5,-1
AddVertex,-5.01,1,-1
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,okno01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,
;bok-p
CreateMeshBuilder,
AddVertex,5.01,1,2.5
AddVertex,5.01,2.5,2.5
AddVertex,5.01,2.5,1
AddVertex,5.01,1,1
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,okno01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,
CreateMeshBuilder,
AddVertex,5.01,1,-2.5
AddVertex,5.01,2.5,-2.5
AddVertex,5.01,2.5,-1
AddVertex,5.01,1,-1
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,okno01.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,
;dvere
CreateMeshBuilder,
AddVertex,-0.7,0,-4.01
AddVertex,-0.7,2.5,-4.01
AddVertex,0.7,2.5,-4.01
AddVertex,0.7,0,-4.01
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,dvere-biele.bmp,
SetTextureCoordinates, 0,0,1,
SetTextureCoordinates, 1,0,0,
SetTextureCoordinates, 2,1,0,
SetTextureCoordinates, 3,1,1,