CreateMeshBuilder,
Addvertex,-0.8, 0, -0.1,
Addvertex,-0.8, 0, 50.5,
Addvertex,-0.72, 0, 50.5,
Addvertex,-0.72, 0, -0.1,
Addface,0, 1, 2, 3,
GenerateNormals,	
LoadTexture,rail.png
SetTextureCoordinates,0,0,10
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,10

CreateMeshBuilder,
Addvertex,0.72, 0, -0.1,
Addvertex,0.72, 0, 50.5,
Addvertex,0.8, 0, 50.5,
Addvertex,0.8, 0, -0.1,
Addface,0, 1, 2, 3,
GenerateNormals,	
LoadTexture,rail.png
SetTextureCoordinates,0,1,3
SetTextureCoordinates,1,1,0
SetTextureCoordinates,2,0,0
SetTextureCoordinates,3,0,3

CreateMeshBuilder,
Addvertex,1.14, -0.17, -0.3,
Addvertex,1.14, -0.17, 50.5,
Addvertex,2.8, -0.4, 50.5,
Addvertex,2.8, -0.4, -0.3,
Addface,0,1,2,3,
GenerateNormals,
LoadTexture,ballast.png,
SetTextureCoordinates,0, 0, 8,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 8,

CreateMeshBuilder,
Addvertex,-2.8, -0.4, -0.3,
Addvertex,-2.8, -0.4, 50.5,
Addvertex,-1.11, -0.17, 50.5,
Addvertex,-1.11, -0.17, -0.3,
Addface,0,1,2,3,
GenerateNormals,
LoadTexture,ballast.png,
SetTextureCoordinates,0, 0, 8,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 8,

CreateMeshBuilder,
Addvertex,-1.11, -0.17, -0.3,
Addvertex,-1.11, -0.17, 50.5,
Addvertex,1.14, -0.17, 50.5,
Addvertex,1.14, -0.17, -0.3,
Addface,0, 1, 2, 3,
GenerateNormals,
LoadTexture,tie.png,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 0, 19,
SetTextureCoordinates,2, 1, 19,
SetTextureCoordinates,3, 1, 0,

CreateMeshBuilder,
Addvertex,0.76, -0.17, 50.5 , 1,0,0
Addvertex,0.76, 0, 50.5, 1,0,0
Addvertex,0.76, 0, -0.1, 1,0,0
Addvertex,0.76, -0.17, -0.1, 1,0,0
AddFace,0,1,2,3
AddFace,3,2,1,0
LoadTexture,kolej_sv.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,10,0
SetTextureCoordinates,3,10,1

CreateMeshBuilder,
Addvertex,-0.76, -0.17, -0.1 , 1,0,0
Addvertex,-0.76, 0, -0.1, 1,0,0
Addvertex,-0.76, 0, 50.5, 1,0,0
Addvertex,-0.76, -0.17, 50.5, 1,0,0
AddFace,0,1,2,3
AddFace,3,2,1,0
LoadTexture,kolej_sv.png
SetTextureCoordinates,0,0,1
SetTextureCoordinates,1,0,0
SetTextureCoordinates,2,10,0
SetTextureCoordinates,3,10,1

CreateMeshBuilder,
Addvertex,-0.02, 5.5, 50.5,
Addvertex,-0.02, 5.5, -0.3,
Addvertex,0.02, 5.5, -0.3,
Addvertex,0.02, 5.5, 50.5,
Addface,0,1,2,3,
SetColor,0,0,0,

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.02, 6.5,50.5,
Addvertex,-0.02, 6.5, -0.3,
Addvertex,0.02, 6.5, -0.3,
Addvertex,0.02, 6.5, 50.5,
Addface,0,1,2,3,
SetColor,0,0,0,

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 0,
Addvertex,0.01, 6.5, 0,
Addvertex,0.01, 5.5, 0,
Addvertex,-0.01, 5.5, 0,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 5,
Addvertex,0.01, 6.5, 5,
Addvertex,0.01, 5.5, 5,
Addvertex,-0.01, 5.5, 5,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 10,
Addvertex,0.01, 6.5, 10,
Addvertex,0.01, 5.5, 10,
Addvertex,-0.01, 5.5, 10,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 15,
Addvertex,0.01, 6.5, 15,
Addvertex,0.01, 5.5, 15,
Addvertex,-0.01, 5.5, 15,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 20,
Addvertex,0.01, 6.5, 20,
Addvertex,0.01, 5.5, 20,
Addvertex,-0.01, 5.5, 20,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 25,
Addvertex,0.01, 6.5, 25,
Addvertex,0.01, 5.5, 25,
Addvertex,-0.01, 5.5, 25,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 30,
Addvertex,0.01, 6.5, 30,
Addvertex,0.01, 5.5, 30,
Addvertex,-0.01, 5.5, 30,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 35,
Addvertex,0.01, 6.5, 35,
Addvertex,0.01, 5.5, 35,
Addvertex,-0.01, 5.5, 35,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 35,
Addvertex,0.01, 6.5, 35,
Addvertex,0.01, 5.5, 35,
Addvertex,-0.01, 5.5, 35,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 40,
Addvertex,0.01, 6.5, 40,
Addvertex,0.01, 5.5, 40,
Addvertex,-0.01, 5.5, 40,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 45,
Addvertex,0.01, 6.5, 45,
Addvertex,0.01, 5.5, 45,
Addvertex,-0.01, 5.5, 45,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.01, 6.5, 50,
Addvertex,0.01, 6.5, 50,
Addvertex,0.01, 5.5, 50,
Addvertex,-0.01, 5.5, 50,
Addface2,0,1,2,3,
SetColor,0,0,0,
GenerateNormals,

