;//家電量販店,,,
;------ホーム床------
;1F エントランス 壁
CreateMeshBuilder,,;//入り口,,
AddVertex,-25,4.0,-10,
AddVertex,-10,4.0,-25,
AddVertex,-10,0.0,-25,
AddVertex,-25,0.0,-10,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall3.bmp,
SetTextureCoordinates,0, 0, 8,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 8,

CreateMeshBuilder,,;//正面,,
AddVertex,-10,4.0,-25,
AddVertex,1.67,4.0,-25,
AddVertex,1.67,0.0,-25,
AddVertex,-10,0.0,-25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 14,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 14,

CreateMeshBuilder,,;//後面,,
AddVertex,1.67,4.0,1.67,
AddVertex,-25,4.0,1.67,
AddVertex,-25,0.0,1.67,
AddVertex,1.67,0.0,1.67,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 32,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 32,

CreateMeshBuilder,,;//左面,,
AddVertex,1.67,4.0,-25,
AddVertex,1.67,4.0,1.67,
AddVertex,1.67,0.0,1.67,
AddVertex,1.67,0.0,-25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 32,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 32,

CreateMeshBuilder,,;//右面,,
AddVertex,-25,4.0,1.67,
AddVertex,-25,4.0,-10,
AddVertex,-25,0.0,-10,
AddVertex,-25,0.0,1.67,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 14,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 14,

;1F エントランス 屋根
CreateMeshBuilder,,;//上面,,
AddVertex,-30,4.8,-10,
AddVertex,-10.0,4.8,-10,
AddVertex,-10.0,4.8,-30,
AddVertex,-30,4.8,-30,
AddFace,0,1,2,3
SetColor,80,80,80,

CreateMeshBuilder,,;//下面,,
AddVertex,-10.0,4.0,-10,
AddVertex,-30,4.0,-10,
AddVertex,-30,4.0,-30,
AddVertex,-10.0,4.0,-30,
AddFace,0,1,2,3
SetColor,80,80,80,

CreateMeshBuilder,,;//正面,,
AddVertex,-30,4.8,-30,
AddVertex,-10.0,4.8,-30,
AddVertex,-10.0,4.0,-30,
AddVertex,-30,4.0,-30,
AddFace,0,1,2,3
SetColor,80,80,80,

CreateMeshBuilder,,;//背面,,
AddVertex,-25,4.8,-10,
AddVertex,-30,4.8,-10,
AddVertex,-30,4.0,-10,
AddVertex,-25,4.0,-10,
AddFace,0,1,2,3
SetColor,80,80,80,

CreateMeshBuilder,,;//左面,,
AddVertex,-10.0,4.8,-30,
AddVertex,-10.0,4.8,-25,
AddVertex,-10.0,4.0,-25,
AddVertex,-10.0,4.0,-30,
AddFace,0,1,2,3
SetColor,80,80,80,

CreateMeshBuilder,,;//右面,,
AddVertex,-30,4.8,-10,
AddVertex,-30,4.8,-30,
AddVertex,-30,4.0,-30,
AddVertex,-30,4.0,-10,
AddFace,0,1,2,3
SetColor,80,80,80,

;1F 壁
CreateMeshBuilder,,;//正面,,
AddVertex,23.33,4.0,-25,
AddVertex,25,4.0,-25,
AddVertex,25,0.0,-25,
AddVertex,23.33,0.0,-25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 2,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 2,

CreateMeshBuilder,,;//背面,,
AddVertex,25,4.0,25,
AddVertex,23.33,4.0,25,
AddVertex,23.33,0.0,25,
AddVertex,25,0.0,25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 2,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 2,

CreateMeshBuilder,,;//左面,,
AddVertex,25,4.0,-25,
AddVertex,25,4.0,25,
AddVertex,25,0.0,25,
AddVertex,25,0.0,-25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 60,

CreateMeshBuilder,,;//右面,,
AddVertex,23.33,4.0,25,
AddVertex,23.33,4.0,-25,
AddVertex,23.33,0.0,-25,
AddVertex,23.33,0.0,25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 60,

;1F 壁
CreateMeshBuilder,,;//正面,,
AddVertex,-25,4.0,23.33,
AddVertex,1.67,4.0,23.33,
AddVertex,1.67,0.0,23.33,
AddVertex,-25,0.0,23.33,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 32,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 32,

CreateMeshBuilder,,;//後面,,
AddVertex,1.67,4.0,25,
AddVertex,-25,4.0,25,
AddVertex,-25,0.0,25,
AddVertex,1.67,0.0,25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 32,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 32,

CreateMeshBuilder,,;//左面,,
AddVertex,1.67,4.0,23.33,
AddVertex,1.67,4.0,25,
AddVertex,1.67,0.0,25,
AddVertex,1.67,0.0,23.33,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 2,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 2,

CreateMeshBuilder,,;//右面,,
AddVertex,-25,4.0,25,
AddVertex,-25,4.0,23.33,
AddVertex,-25,0.0,23.33,
AddVertex,-25,0.0,25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 2,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 5, 0,
SetTextureCoordinates,3, 5, 2,

;1F 天井
CreateMeshBuilder,,;//下面,,
AddVertex,0.0,4.0,-25,
AddVertex,25,4.0,-25,
AddVertex,25,4.0,25,
AddVertex,0.0,4.0,25,
AddFace,0,1,2,3
GenerateNormals,
SetColor,180,180,180,

CreateMeshBuilder,,;//下面,,
AddVertex,-25,4.0,0.0,
AddVertex,0.0,4.0,0.0,
AddVertex,0.0,4.0,25,
AddVertex,-25,4.0,25,
AddFace,0,1,2,3
GenerateNormals,
SetColor,180,180,180,

;2F-3F 壁
CreateMeshBuilder,,;//正面,,
AddVertex,0.0,12.0,-25,
AddVertex,25,12.0,-25,
AddVertex,25,4.0,-25,
AddVertex,0.0,4.0,-25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 30,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 10, 30,

CreateMeshBuilder,,;//背面,,
AddVertex,25,12.0,25,
AddVertex,-25,12.0,25,
AddVertex,-25,4.0,25,
AddVertex,25,4.0,25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 10, 60,

CreateMeshBuilder,,;//左面,,
AddVertex,25,12.0,-25,
AddVertex,25,12.0,25,
AddVertex,25,4.0,25,
AddVertex,25,4.0,-25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 10, 60,

CreateMeshBuilder,,;//右面,,
AddVertex,-25,12.0,25,
AddVertex,-25,12.0,0.0,
AddVertex,-25,4.0,0.0,
AddVertex,-25,4.0,25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 30,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 10, 30,

;2F-3F ガラス
CreateMeshBuilder,,;//正面,,
AddVertex,-25,12.0,-25,
AddVertex,0.0,12.0,-25,
AddVertex,0.0,4.0,-25,
AddVertex,-25,4.0,-25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall3.bmp,
SetTextureCoordinates,0, 0, 15,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 10, 15,

CreateMeshBuilder,,;//右面,,
AddVertex,-25,12.0,0.0,
AddVertex,-25,12.0,-25,
AddVertex,-25,4.0,-25,
AddVertex,-25,4.0,0.0,
AddFace,0,1,2,3
LoadTexture,Wall3.bmp,
SetTextureCoordinates,0, 0, 15,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 10, 0,
SetTextureCoordinates,3, 10, 15,

;黄壁
CreateMeshBuilder,,;//正面,,
AddVertex,-25,12.75,-25,
AddVertex,25,12.75,-25,
AddVertex,25,12.0,-25,
AddVertex,-25,12.0,-25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 60,

CreateMeshBuilder,,;//背面,,
AddVertex,25,12.75,25,
AddVertex,-25,12.75,25,
AddVertex,-25,12.0,25,
AddVertex,25,12.0,25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 60,

CreateMeshBuilder,,;//左面,,
AddVertex,25,12.75,-25,
AddVertex,25,12.75,25,
AddVertex,25,12.0,25,
AddVertex,25,12.0,-25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 60,

CreateMeshBuilder,,;//右面,,
AddVertex,-25,12.75,25,
AddVertex,-25,12.75,-25,
AddVertex,-25,12.0,-25,
AddVertex,-25,12.0,25,
AddFace,0,1,2,3
LoadTexture,Wall1.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 60,

;緑壁
CreateMeshBuilder,,;//正面,,
AddVertex,-25,13.50,-25,
AddVertex,25,13.50,-25,
AddVertex,25,12.75,-25,
AddVertex,-25,12.75,-25,
AddFace,0,1,2,3
GenerateNormals,
LoadTexture,Wall2.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 60,

CreateMeshBuilder,,;//背面,,
AddVertex,25,13.50,25,
AddVertex,-25,13.50,25,
AddVertex,-25,12.75,25,
AddVertex,25,12.75,25,
AddFace,0,1,2,3
LoadTexture,Wall2.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 60,

CreateMeshBuilder,,;//左面,,
AddVertex,25,13.50,-25,
AddVertex,25,13.50,25,
AddVertex,25,12.75,25,
AddVertex,25,12.75,-25,
AddFace,0,1,2,3
LoadTexture,Wall2.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 60,

CreateMeshBuilder,,;//右面,,
AddVertex,-25,13.50,25,
AddVertex,-25,13.50,-25,
AddVertex,-25,12.75,-25,
AddVertex,-25,12.75,25,
AddFace,0,1,2,3
LoadTexture,Wall2.bmp,
SetTextureCoordinates,0, 0, 60,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 60,

;看板
CreateMeshBuilder,,;//正面,,
AddVertex,-25,22.00,-25,
AddVertex,-15,22.00,-25,
AddVertex,-15,13.50,-25,
AddVertex,-25,13.50,-25,
AddFace2,0,1,2,3
GenerateNormals,
LoadTexture,Kanban.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,,;//背面,,
AddVertex,-15,22.00,-15,
AddVertex,-25,22.00,-15,
AddVertex,-25,13.50,-15,
AddVertex,-15,13.50,-15,
AddFace2,0,1,2,3
LoadTexture,Kanban.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,,;//左面,,
AddVertex,-15,22.00,-25,
AddVertex,-15,22.00,-15,
AddVertex,-15,13.50,-15,
AddVertex,-15,13.50,-25,
AddFace2,0,1,2,3
LoadTexture,Kanban.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

CreateMeshBuilder,,;//右面,,
AddVertex,-25,22.00,-15,
AddVertex,-25,22.00,-25,
AddVertex,-25,13.50,-25,
AddVertex,-25,13.50,-15,
AddFace2,0,1,2,3
LoadTexture,Kanban.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 1, 0,
SetTextureCoordinates,2, 1, 1,
SetTextureCoordinates,3, 0, 1,

;屋根
CreateMeshBuilder,,;//正面,,
AddVertex,-25,13.50,25,
AddVertex,25,13.50,25,
AddVertex,25,13.50,-25,
AddVertex,-25,13.50,-25,
AddFace,0,1,2,3
GenerateNormals,
SetColor,180,180,180,