;//松浦電鉄３０００系　先頭車,,,,
;------ボディ------,,,,
CreateMeshBuilder,,;//前面上面,,
AddVertex,-1.32,1.7,-0.05,;0
AddVertex,-1.32,3.55,-0.1,;1
AddVertex,-0.9,3.65,-0.05,;2
AddVertex,-0.9,1.7,0,;3
AddVertex,1.32,1.7,-0.05,;4
AddVertex,1.32,3.55,-0.1,;5
AddVertex,0.9,3.65,-0.05,;6
AddVertex,0.9,1.7,0,;7
AddVertex,-0.5,3.7,0,;8
AddVertex,-0.5,1.7,0.05,;9
AddVertex,0.5,3.7,0,;10
AddVertex,0.5,1.7,0.05,;11
AddFace,0,3,2,1
AddFace,3,9,8,2
AddFace,9,11,10,8
AddFace,11,7,6,10
AddFace,7,4,5,6
GenerateNormals,,,,

LoadTexture,3000Mc-front.bmp,,,
SetTextureCoordinates,0,0.98,0.75,
SetTextureCoordinates,1,0.98,0.09,
SetTextureCoordinates,2,0.833,0.05,
SetTextureCoordinates,3,0.833,0.75,
SetTextureCoordinates,4,0.02,0.75,
SetTextureCoordinates,5,0.02,0.09,
SetTextureCoordinates,6,0.167,0.05,
SetTextureCoordinates,7,0.167,0.75,
SetTextureCoordinates,8,0.67,0.03,
SetTextureCoordinates,9,0.67,0.75,
SetTextureCoordinates,10,0.33,0.03,
SetTextureCoordinates,11,0.33,0.75,


CreateMeshBuilder,,;//前面下面,,
AddVertex,-1.32,1,-0.1,;0
AddVertex,-1.32,1.7,-0.05,;1
AddVertex,-0.9,1.7,0,;2
AddVertex,-0.9,1,-0.05,;3
AddVertex,1.32,1,-0.1,;4
AddVertex,1.32,1.7,-0.05,;5
AddVertex,0.9,1.7,0,;6
AddVertex,0.9,1,-0.05,;7
AddVertex,-0.5,1.7,0.05,;8
AddVertex,-0.5,1,0,;9
AddVertex,0.5,1.7,0.05,;10
AddVertex,0.5,1,0,;11
AddFace,0,3,2,1
AddFace,3,9,8,2
AddFace,9,11,10,8
AddFace,11,7,6,10
AddFace,7,4,5,6
GenerateNormals,,,,

LoadTexture,3000Mc-front.bmp,,,
SetTextureCoordinates,0,0.98,0.995,
SetTextureCoordinates,1,0.98,0.748,
SetTextureCoordinates,2,0.833,0.748,
SetTextureCoordinates,3,0.833,0.995,
SetTextureCoordinates,4,0.02,0.995,
SetTextureCoordinates,5,0.02,0.748,
SetTextureCoordinates,6,0.167,0.748,
SetTextureCoordinates,7,0.167,0.995,
SetTextureCoordinates,8,0.67,0.748,
SetTextureCoordinates,9,0.67,0.995,
SetTextureCoordinates,10,0.33,0.748,
SetTextureCoordinates,11,0.33,0.995,


CreateMeshBuilder,,;//行先表示,,
AddVertex  ,-0.7,3.15,0.03,
AddVertex  ,-0.7,3.4,0.015,
AddVertex  ,0.2,3.4,0.015,
AddVertex  ,0.2,3.15,0.03,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,ikisaki.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,


CreateMeshBuilder,,;//左側面,,
AddVertex,1.4,1,-0.15,;0
AddVertex,1.4,3.55,-0.15,;1
AddVertex,1.4,3.55,-17.5,;2
AddVertex,1.4,1,-17.5,;3
AddVertex,1.4,3.55,-0.15,;4
AddVertex,1.35,3.6,-0.15,;5
AddVertex,1.35,3.6,-17.5,;6
AddVertex,1.4,3.55,-17.5,;7
AddVertex,1.32,1.7,-0.05,;8
AddVertex,1.32,3.55,-0.1,;9
AddVertex,1.4,3.55,-0.15,;10
AddVertex,1.4,1.7,-0.15,;11
AddVertex,1.32,3.55,-0.1,;12
AddVertex,1.32,3.55,-0.1,;13
AddVertex,1.35,3.6,-0.15,;14
AddVertex,1.4,3.55,-0.15,;15
AddVertex,1.32,1,-0.1,;16
AddVertex,1.32,1.7,-0.05,;17
AddVertex,1.4,1.7,-0.15,;18
AddVertex,1.4,1,-0.15,;19
AddFace,0,3,2,1
AddFace,4,7,6,5
AddFace,8,11,10,9
AddFace,12,15,14,13
AddFace,16,19,18,17
GenerateNormals,,,,

LoadTexture,3000Mc-side.bmp,,,
SetTextureCoordinates,0,0.005,1,
SetTextureCoordinates,1,0.005,0.01,
SetTextureCoordinates,2,1,0.01,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.003,0.02,
SetTextureCoordinates,5,0.003,0.01,
SetTextureCoordinates,6,1,0.01,
SetTextureCoordinates,7,1,0.02,
SetTextureCoordinates,8,0.001,0.727,
SetTextureCoordinates,9,0.001,0.02,
SetTextureCoordinates,10,0.005,0.02,
SetTextureCoordinates,11,0.005,0.727
SetTextureCoordinates,12,0.001,0.02
SetTextureCoordinates,13,0.001,0
SetTextureCoordinates,14,0.002,0
SetTextureCoordinates,15,0.002,0.02
SetTextureCoordinates,16,0.001,1
SetTextureCoordinates,17,0.001,0.73
SetTextureCoordinates,18,0.002,0.73
SetTextureCoordinates,19,0.002,1


CreateMeshBuilder,,;//左側面転落防止柵,
AddVertex     ,1.4,1.2,-17.5
AddVertex     ,1.4,2.4,-17.5
AddVertex     ,1.4,2.4,-17.7
AddVertex     ,1.4,1.2,-17.7
AddFace2,0,1,2,3
SetColor,180,180,180,
GenerateNormals,,,,


CreateMeshBuilder,,;//左側面行先表示,,
AddVertex  ,1.41,3.24,-6.48,
AddVertex  ,1.41,3.5,-6.48,
AddVertex  ,1.41,3.5,-5.48,
AddVertex  ,1.41,3.24,-5.48,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,ikisaki.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,


CreateMeshBuilder,,;//右側面,,
AddVertex,-1.4,1,-0.15,;0
AddVertex,-1.4,3.55,-0.15,;1
AddVertex,-1.4,3.55,-17.5,;2
AddVertex,-1.4,1,-17.5,;3
AddVertex,-1.4,3.55,-0.15,;4
AddVertex,-1.35,3.6,-0.15,;5
AddVertex,-1.35,3.6,-17.5,;6
AddVertex,-1.4,3.55,-17.5,;7
AddVertex,-1.32,1.7,-0.05,;8
AddVertex,-1.32,3.55,-0.1,;9
AddVertex,-1.4,3.55,-0.15,;10
AddVertex,-1.4,1.7,-0.15,;11
AddVertex,-1.32,3.55,-0.1,;12
AddVertex,-1.32,3.55,-0.1,;13
AddVertex,-1.35,3.6,-0.15,;14
AddVertex,-1.4,3.55,-0.15,;15
AddVertex,-1.32,1,-0.1,;16
AddVertex,-1.32,1.7,-0.05,;17
AddVertex,-1.4,1.7,-0.15,;18
AddVertex,-1.4,1,-0.15,;19
AddFace,0,1,2,3
AddFace,4,5,6,7
AddFace,8,9,10,11
AddFace,12,13,14,15
AddFace,16,17,18,19
GenerateNormals,,,,

LoadTexture,3000Mc-side.bmp,,
SetTextureCoordinates,0,0.005,1
SetTextureCoordinates,1,0.005,0.01
SetTextureCoordinates,2,1,0.01
SetTextureCoordinates,3,1,1
SetTextureCoordinates,4,0.003,0.02
SetTextureCoordinates,5,0.003,0.01
SetTextureCoordinates,6,1,0.01
SetTextureCoordinates,7,1,0.02
SetTextureCoordinates,8,0.001,0.727
SetTextureCoordinates,9,0.001,0.02
SetTextureCoordinates,10,0.005,0.02
SetTextureCoordinates,11,0.005,0.727
SetTextureCoordinates,12,0.001,0.02
SetTextureCoordinates,13,0.001,0
SetTextureCoordinates,14,0.002,0,
SetTextureCoordinates,15,0.002,0.02,
SetTextureCoordinates,16,0.001,1,
SetTextureCoordinates,17,0.001,0.73,
SetTextureCoordinates,18,0.002,0.73,
SetTextureCoordinates,19,0.002,1,


CreateMeshBuilder,,;//右側面転落防止柵,,
AddVertex     ,-1.4,1.2,-17.5,
AddVertex     ,-1.4,2.4,-17.5,
AddVertex     ,-1.4,2.4,-17.7,
AddVertex     ,-1.4,1.2,-17.7,
AddFace2,0,1,2,3
SetColor,180,180,180,
GenerateNormals,,,,


CreateMeshBuilder,,;//右側面行先表示,,
AddVertex  ,-1.41,3.24,-6.48,
AddVertex  ,-1.41,3.5,-6.48,
AddVertex  ,-1.41,3.5,-5.48,
AddVertex  ,-1.41,3.24,-5.48,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,ikisaki.bmp,,,
SetTextureCoordinates,0,1,1,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0,0,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,


CreateMeshBuilder,,;//後面,,
AddVertex   ,-1.4,1,-17.5,
AddVertex   ,1.4,1,-17.5,
AddVertex   ,1.4,3.55,-17.5,
AddVertex   ,-1.4,3.55,-17.5,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,3000-back.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,1,1,
SetTextureCoordinates,2,1,0.09,
SetTextureCoordinates,3,0,0.09,


CreateMeshBuilder,,;//後面,,,,,,
AddVertex,1.4,3.55,-17.5,,,,,
AddVertex,1.35,3.6,-17.5,,,,,
AddVertex,0.9,3.7,-17.5,,,,,
AddVertex,0.5,3.75,-17.5,,,,,
AddVertex,-0.5,3.75,-17.5,,,,,
AddVertex,-0.9,3.7,-17.5,,,,,
AddVertex,-1.35,3.6,-17.5,,,,,
AddVertex,-1.4,3.55,-17.5,,,,,
AddFace,0,7,6,5,4,3,2,1
SetColor,255,247,220,,,,,
GenerateNormals,,,,,,,,


CreateMeshBuilder,,;//底面,,,,,,
AddVertex,-1.4,1,-0.15,;0,,,,
AddVertex,-1.4,1,-17.5,;1,,,,
AddVertex,1.4,1,-17.5,;2,,,,
AddVertex,1.4,1,-0.15,;3,,,,
AddVertex,-1.32,1,-0.1,;4,,,,
AddVertex,1.32,1,-0.1,;5,,,,
AddVertex,-0.9,1,-0.05,;6,,,,
AddVertex,0.9,1,-0.05,;7,,,,
AddVertex,-0.5,1,0,;8,,,,
AddVertex,0.5,1,0,;9,,,,
AddFace,0,1,2,3,,,,
AddFace,3,5,7,9,8,6,4,0
SetColor,0,0,0,,,,,
GenerateNormals,,,,,,,,


;------屋根------,,,,
CreateMeshBuilder,,;//屋根,,
AddVertex,-1.35,3.6,-0.4,
AddVertex,1.35,3.6,-0.4,
AddVertex,-0.9,3.7,-0.4,
AddVertex,0.9,3.7,-0.4,
AddVertex,-0.5,3.75,-0.4,
AddVertex,0.5,3.75,-0.4,
AddVertex,-1.35,3.6,-17.5,
AddVertex,1.35,3.6,-17.5,
AddVertex,-0.9,3.7,-17.5,
AddVertex,0.9,3.7,-17.5,
AddVertex,-0.5,3.75,-17.5,
AddVertex,0.5,3.75,-17.5,
AddFace,1,7,9,3
AddFace,3,9,11,5
AddFace,5,11,10,4
AddFace,4,10,8,2
AddFace,2,8,6,0
SetColor,120,120,120,
GenerateNormals,,,,


CreateMeshBuilder,,;//先頭屋根,,
AddVertex,-1.35,3.6,-0.15,;0
AddVertex,1.35,3.6,-0.15,;1
AddVertex,-0.9,3.7,-0.1,;2
AddVertex,0.9,3.7,-0.1,;3
AddVertex,-0.5,3.75,-0.05,;4
AddVertex,0.5,3.75,-0.05,;5
AddVertex,-1.35,3.6,-0.4,;6
AddVertex,1.35,3.6,-0.4,;7
AddVertex,-0.9,3.7,-0.4,;8
AddVertex,0.9,3.7,-0.4,;9
AddVertex,-0.5,3.75,-0.4,;10
AddVertex,0.5,3.75,-0.4,;11
AddVertex,-1.32,3.55,-0.1,;12
AddVertex,1.32,3.55,-0.1,;13
AddVertex,-0.9,3.65,-0.05,;14
AddVertex,0.9,3.65,-0.05,;15
AddVertex,-0.5,3.7,0,;16
AddVertex,0.5,3.7,0,;17
AddFace,1,7,9,3
AddFace,3,9,11,5
AddFace,5,11,10,4
AddFace,4,10,8,2
AddFace,2,8,6,0
AddFace,15,13,1,3
AddFace,17,15,3,5
AddFace,16,17,5,4
AddFace,14,16,4,2
AddFace,12,14,2,0
SetColor,255,247,220,
GenerateNormals,,,,


;------屋根機器------,,,,
CreateMeshBuilder,,;//屋根上機器,,
AddVertex ,1.05,3.6,-10.9,;0
AddVertex ,1.05,3.85,-10.9,;1
AddVertex ,1.05,3.85,-6.6,;2
AddVertex ,1.05,3.6,-6.6,;3
AddVertex ,0.6,4.03,-10.9,;4
AddVertex ,0.6,4.03,-6.6,;5
AddVertex ,0,4.12,-6.6,;6
AddVertex ,0,4.12,-10.9,;7
AddVertex ,-0.6,4.03,-10.9,;8
AddVertex ,-0.6,4.03,-6.6,;9
AddVertex ,-1.05,3.6,-10.9,;10
AddVertex ,-1.05,3.85,-10.9,;11
AddVertex ,-1.05,3.85,-6.6,;12
AddVertex ,-1.05,3.6,-6.6,;13
AddFace,0,1,2,3
AddFace,1,4,5,2
AddFace,4,7,6,5
AddFace,7,8,9,6
AddFace,8,11,12,9
AddFace,11,10,13,12
GenerateNormals,,,,

LoadTexture,..\common-texture\cooler.bmp,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,0,0.1
SetTextureCoordinates,2,1,0.1
SetTextureCoordinates,3,1,0
SetTextureCoordinates,4,0,0.3
SetTextureCoordinates,5,1,0.3
SetTextureCoordinates,6,1,0.5
SetTextureCoordinates,7,0,0.5
SetTextureCoordinates,8,0,0.7
SetTextureCoordinates,9,1,0.7
SetTextureCoordinates,10,0,1
SetTextureCoordinates,11,0,0.9
SetTextureCoordinates,12,1,0.9
SetTextureCoordinates,13,1,1


CreateMeshBuilder,,;//屋根上機器,
AddVertex ,-1.05,3.6,-10.9
AddVertex ,-1.05,3.85,-10.9
AddVertex ,-0.6,4.03,-10.9
AddVertex ,0,4.12,-10.9
AddVertex ,0.6,4.03,-10.9
AddVertex ,1.05,3.85,-10.9
AddVertex ,1.05,3.6,-10.9
AddVertex ,-1.05,3.6,-6.6
AddVertex ,-1.05,3.85,-6.6
AddVertex ,-0.6,4.03,-6.6
AddVertex ,0,4.12,-6.6
AddVertex ,0.6,4.03,-6.6
AddVertex ,1.05,3.85,-6.6
AddVertex ,1.05,3.6,-6.6
AddFace2,0,1,2,3,4,5,6
AddFace2,7,8,9,10,11,12,13
GenerateNormals,,,,,,,


CreateMeshBuilder,,;//屋根上機器,,,,,
AddVertex      ,-0.02,3.7,-0.5,,,,
AddVertex      ,-0.02,4,-0.55,,,,
AddVertex      ,0.02,4,-0.55,,,,
AddVertex      ,0.02,3.7,-0.5,,,,
AddVertex      ,-0.02,4,-0.75,,,,
AddVertex      ,0.02,4,-0.75,,,,
AddVertex      ,-0.02,3.97,-0.75,,,,
AddVertex      ,0.02,3.97,-0.75,,,,
AddVertex      ,-0.02,3.7,-0.6,,,,
AddVertex      ,-0.02,3.95,-0.6,,,,
AddVertex      ,0.02,3.7,-0.6,
AddVertex      ,0.02,3.95,-0.6,
AddFace,0,3,2,1
AddFace,1,2,5,4
AddFace,4,5,7,6
AddFace,8,0,1,9
AddFace,10,11,2,3
AddFace,6,9,1,4
AddFace,7,5,2,11
AddFace,8,9,11,10
AddFace,9,6,7,11
SetColor,140,140,140,
GenerateNormals,,,,


CreateMeshBuilder,,;//屋根上機器,,
Cylinder,8,0.1,0.12,0.1
Translate ,0,3.73,-0.565,
SetColor,155,155,155,
GenerateNormals,,,,


;------スカート------,,,,
CreateMeshBuilder,,;//スカート正面,,
AddVertex   ,-1.1,0.3,-0.1,
AddVertex   ,-1.3,1,-0.1,
AddVertex   ,1.3,1,-0.1,
AddVertex   ,1.1,0.3,-0.1,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,..\common-texture\skart1.bmp,,,
SetTextureCoordinates,0,0.08,1,
SetTextureCoordinates,1,0,0.01,
SetTextureCoordinates,2,1,0.01,
SetTextureCoordinates,3,0.92,1,


CreateMeshBuilder,,;//スカート正面,,
AddVertex   ,-1.1,0.3,-0.1,
AddVertex   ,-1.3,1,-0.1,
AddVertex   ,1.3,1,-0.1,
AddVertex   ,1.1,0.3,-0.1,
AddFace,0,1,2,3
SetColor,0,0,0,
GenerateNormals,,,,


CreateMeshBuilder,,;//スカート側面,,
AddVertex   ,-1.1,0.3,-0.1,
AddVertex   ,-1.1,0.3,-0.4,
AddVertex   ,-1.3,1,-0.6,
AddVertex   ,-1.3,1,-0.1,
AddVertex   ,1.1,0.3,-0.1,
AddVertex   ,1.1,0.3,-0.4,
AddVertex   ,1.3,1,-0.6,
AddVertex   ,1.3,1,-0.1,
AddFace,0,3,2,1
AddFace,4,5,6,7
SetColor,200,200,200,
GenerateNormals,,,,

LoadTexture,..\common-texture\skart1.bmp,,,
SetTextureCoordinates,0,0,0.995,
SetTextureCoordinates,1,0.2,0.995
SetTextureCoordinates,2,0.2,0.01
SetTextureCoordinates,3,0,0.01
SetTextureCoordinates,4,0,0.995
SetTextureCoordinates,5,0.2,0.995
SetTextureCoordinates,6,0.2,0.01
SetTextureCoordinates,7,0,0.01


CreateMeshBuilder,,;//スカート側面裏,
AddVertex   ,-1.1,0.3,-0.1
AddVertex   ,-1.1,0.3,-0.4
AddVertex   ,-1.3,1,-0.6
AddVertex   ,-1.3,1,-0.1
AddVertex   ,1.1,0.3,-0.1
AddVertex   ,1.1,0.3,-0.4
AddVertex   ,1.3,1,-0.6,
AddVertex   ,1.3,1,-0.1,
AddFace,0,1,2,3
AddFace,4,7,6,5
SetColor,0,0,0,
GenerateNormals,,,,


;------連結器------,,,,
CreateMeshBuilder,,;//連結器正面,,
AddVertex,-0.17,1.07,0.25,
AddVertex,0.17,1.07,0.25,
AddVertex,0.17,0.73,0.25,
AddVertex,-0.17,0.73,0.25,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,..\common-texture\renketsuki.bmp,,,
SetTextureCoordinates,0,1,0,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,255,


CreateMeshBuilder,,;//連結器正面,,
AddVertex,0.13,0.98,0.25,;0
AddVertex,0.01,0.98,0.25,;1
AddVertex,0.06,0.895,0.38,;2
AddVertex,0.01,0.81,0.25,;3
AddVertex,0.13,0.81,0.25,;4
AddFace,0,1,2,
AddFace,2,3,4,
AddFace,3,2,1,
AddFace,0,2,4,
GenerateNormals,,,,

LoadTexture,..\common-texture\renketsuki2.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,0.5,0.5,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0,1,


CreateMeshBuilder,,;//連結器,,
AddVertex,-0.15,1.05,0.25,;0
AddVertex,0.15,1.05,0.25,;1
AddVertex,0.15,0.75,0.25,;2
AddVertex,-0.15,0.75,0.25,;3
AddVertex,-0.1,1,0.07,;4
AddVertex,0.1,1,0.07,;5
AddVertex,0.1,0.8,0.07,;6
AddVertex,-0.1,0.8,0.07,;7
AddFace,2,6,5,1
AddFace,3,0,4,7
AddFace,1,5,4,0
AddFace,2,3,7,6
SetColor,30,30,20,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cube,0.1,0.1,0.15,
SetColor,30,30,20
Translate,0,0.9,0
GenerateNormals,,,


CreateMeshBuilder,,;//連結器,
Cube,0.01,0.15,0.05
SetColor,30,30,20
Translate,0.18,0.65,0.12
GenerateNormals,,,


CreateMeshBuilder,,;//連結器,
Cube,0.01,0.15,0.05
SetColor,30,30,20
Translate,-0.18,0.65,0.12
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cube,0.18,0.02,0.05,
SetColor,30,30,20,
Translate,0,0.78,0.12,
GenerateNormals,,,,


CreateMeshBuilder,,;//連結器,,
Cylinder,8,0.08,0.08,0.34
SetColor,160,160,160,
Rotate,0,0,1,90
Translate      ,0,0.57,0.18,


CreateMeshBuilder,,;//後面連結器,,
AddVertex ,-0.18,1.05,-17.75,
AddVertex ,0.18,1.05,-17.75,
AddVertex ,0.18,0.7,-17.75,
AddVertex ,-0.18,0.7,-17.75,
AddVertex ,-0.18,1.05,-17.5,
AddVertex ,0.18,1.05,-17.5,
AddVertex ,0.18,0.7,-17.5,
AddVertex ,-0.18,0.7,-17.5,
AddFace,0,4,5,1
AddFace,2,1,5,6
AddFace,3,7,4,0
AddFace,2,3,0,1
SetColor,25,25,25,
GenerateNormals,,,,


;------床下機器------,,,,
CreateMeshBuilder,,;//左側床下機器,,
AddVertex     ,1.15,0.3,-12.8,
AddVertex     ,1.15,1,-12.8,
AddVertex     ,1.15,1,-4.8,
AddVertex     ,1.15,0.3,-4.8,
AddFace,0,1,2,3
GenerateNormals,,,,

LoadTexture,Mc-under.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,


CreateMeshBuilder,,;//右側床下機器,,
AddVertex     ,-1.15,0.3,-12.8,
AddVertex     ,-1.15,1,-12.8,
AddVertex     ,-1.15,1,-4.8,
AddVertex     ,-1.15,0.3,-4.8,
AddFace,0,3,2,1
GenerateNormals,,,,

LoadTexture,Mc-under.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,


CreateMeshBuilder,,;//床下機器,,
AddVertex     ,-1.15,0.3,-12.8,
AddVertex     ,-1.15,1,-12.8,
AddVertex     ,1.15,1,-12.8,
AddVertex     ,1.15,0.3,-12.8,
AddVertex     ,-1.15,0.3,-4.8,
AddVertex     ,-1.15,1,-4.8,
AddVertex     ,1.15,1,-4.8,
AddVertex     ,1.15,0.3,-4.8,
AddFace,0,1,2,3
AddFace,4,7,6,5
SetColor,100,100,100,
GenerateNormals,,,,

LoadTexture,Mc-under.bmp,,,
SetTextureCoordinates,0,0.01,1
SetTextureCoordinates,1,0.01,0
SetTextureCoordinates,2,0.02,0
SetTextureCoordinates,3,0.02,1
SetTextureCoordinates,4,0.01,1
SetTextureCoordinates,5,0.01,0
SetTextureCoordinates,6,0.02,0
SetTextureCoordinates,7,0.02,1


CreateMeshBuilder,,;//床下機器,
Cube,0.8,0.15,0.5
SetColor,38,34,28
Translate ,0,0.85,-0.75
GenerateNormals,,,


CreateMeshBuilder,,;//床下機器,,
Cube,0.8,0.15,0.5,
SetColor,38,34,28,
Translate ,0,0.85,-17,
GenerateNormals,,,,


;------影------,,,,
CreateMeshBuilder,,;//影,,
AddVertex   ,-1.4,-0.1,-17.5,
AddVertex   ,-1.4,-0.1,0.5,
AddVertex   ,1.4,-0.1,0.5,
AddVertex   ,1.4,-0.1,-17.5,
AddFace,0,1,2,3
SetColor,0,0,0,150
GenerateNormals
