CreateMeshBuilder,
Addvertex,0.610, 0, 0.000,
Addvertex,0.570, 0, 0.000,
Addvertex,0.700, 0, 5.000,
Addvertex,0.620, 0, 5.000,
Addvertex,0.750, 0, 10.000,
Addvertex,0.670, 0, 10.000,
Addvertex,0.800, 0, 15.000,
Addvertex,0.720, 0, 15.000,
Addvertex,0.800, 0, 20.000,
Addvertex,0.720, 0, 20.000,
Addvertex,0.800, 0, 21.116,
Addvertex,0.720, 0, 20.562,
Addvertex,0.800, 0, 21.671,
Addvertex,0.720, 0, 21.116,
Addvertex,0.800, 0, 25.000,
Addvertex,0.720, 0, 25.000,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
Addface,15,14,12,13,
GenerateNormals,
LoadTexture,Schienenkopf.bmp,
SetTextureCoordinates,0, 0, 1,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.1428, 1,
SetTextureCoordinates,3, 0.1428, 0,
SetTextureCoordinates,4, 0.2856, 1,
SetTextureCoordinates,5, 0.2856, 0,
SetTextureCoordinates,6, 0.4284, 1,
SetTextureCoordinates,7, 0.4284, 0,
SetTextureCoordinates,8, 0.5712, 1,
SetTextureCoordinates,9, 0.5712, 0,
SetTextureCoordinates,10, 0.714, 1,
SetTextureCoordinates,11, 0.714, 0,
SetTextureCoordinates,12, 0.8568, 1,
SetTextureCoordinates,13, 0.8568, 0,
SetTextureCoordinates,14, 1, 1,
SetTextureCoordinates,15, 1, 0,

;Linkes Gleis, linke Schiene:

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.720, 0, 0.000,
Addvertex,-0.800, 0, 0.000,
Addvertex,-0.720, 0, 5.000,
Addvertex,-0.800, 0, 5.000,
Addvertex,-0.720, 0, 10.000,
Addvertex,-0.800, 0, 10.000,
Addvertex,-0.720, 0, 15.000,
Addvertex,-0.800, 0, 15.000,
Addvertex,-0.720, 0, 20.000,
Addvertex,-0.800, 0, 20.000,
Addvertex,-0.720, 0, 25.000,
Addvertex,-0.800, 0, 25.000,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
GenerateNormals,
LoadTexture,Schienenkopf.bmp,
SetTextureCoordinates,0, 0.001, 0,
SetTextureCoordinates,1, 0.001, 1,
SetTextureCoordinates,2, 0.2, 0,
SetTextureCoordinates,3, 0.2, 1,
SetTextureCoordinates,4, 0.4, 0,
SetTextureCoordinates,5, 0.4, 1,
SetTextureCoordinates,6, 0.6, 0,
SetTextureCoordinates,7, 0.6, 1,
SetTextureCoordinates,8, 0.8, 0,
SetTextureCoordinates,9, 0.8, 1,
SetTextureCoordinates,10, 1, 0,
SetTextureCoordinates,11, 1, 1,

;Rechtes Gleis, rechte Schiene:

GenerateNormals,

CreateMeshBuilder,
Addvertex,0.800, 0, 0.000,
Addvertex,0.720, 0, 0.000,
Addvertex,0.880, 0, 5.000,
Addvertex,0.800, 0, 5.000,
Addvertex,1.119, 0, 10.000,
Addvertex,1.039, 0, 10.000,
Addvertex,1.519, 0, 15.000,
Addvertex,1.439, 0, 15.000,
Addvertex,2.079, 0, 20.000,
Addvertex,1.999, 0, 20.000,
Addvertex,2.800, 0, 25.000,
Addvertex,2.720, 0, 25.000,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
GenerateNormals,
LoadTexture,Schienenkopf.bmp,
SetTextureCoordinates,0, 0.001, 1,
SetTextureCoordinates,1, 0.001, 0,
SetTextureCoordinates,2, 0.2, 1,
SetTextureCoordinates,3, 0.2, 0,
SetTextureCoordinates,4, 0.4, 1,
SetTextureCoordinates,5, 0.4, 0,
SetTextureCoordinates,6, 0.6, 1,
SetTextureCoordinates,7, 0.6, 0,
SetTextureCoordinates,8, 0.8, 1,
SetTextureCoordinates,9, 0.8, 0,
SetTextureCoordinates,10, 1, 1,
SetTextureCoordinates,11, 1, 0,

;Rechtes Gleis, linke Schiene:

GenerateNormals,

CreateMeshBuilder,
Addvertex,-0.720, 0, 0.000,
Addvertex,-0.800, 0, 0.000,
Addvertex,-0.640, 0, 5.000,
Addvertex,-0.720, 0, 5.000,
Addvertex,-0.401, 0, 10.000,
Addvertex,-0.481, 0, 10.000,
Addvertex,-0.001, 0, 15.000,
Addvertex,-0.081, 0, 15.000,
Addvertex,0.559, 0, 20.000,
Addvertex,0.479, 0, 20.000,
Addvertex,0.640, 0, 20.562,
Addvertex,0.640, 0, 21.116,
Addvertex,0.720, 0, 21.116,
Addvertex,0.720, 0, 21.671,
Addvertex,1.280, 0, 25.000,
Addvertex,1.200, 0, 25.000,
Addface,3,2,0,1,
Addface,5,4,2,3,
Addface,7,6,4,5,
Addface,9,8,6,7,
Addface,11,10,8,9,
Addface,15,14,12,13,
GenerateNormals,
LoadTexture,Schienenkopf.bmp,
SetTextureCoordinates,0, 0, 0,
SetTextureCoordinates,1, 0, 1,
SetTextureCoordinates,2, 0.1428, 0,
SetTextureCoordinates,3, 0.1428, 1,
SetTextureCoordinates,4, 0.2856, 0,
SetTextureCoordinates,5, 0.2856, 1,
SetTextureCoordinates,6, 0.4284, 0,
SetTextureCoordinates,7, 0.4284, 1,
SetTextureCoordinates,8, 0.5712, 0,
SetTextureCoordinates,9, 0.5712, 1,
SetTextureCoordinates,10, 0.714, 0,
SetTextureCoordinates,11, 0.714, 1,
SetTextureCoordinates,12, 0.8568, 0,
SetTextureCoordinates,13, 0.8568, 1,
SetTextureCoordinates,14, 1, 0,
SetTextureCoordinates,15, 1, 1,

;3D-Schienen:

GenerateNormals,

CreateMeshBuilder,
Addvertex,0.570, 0.000, 20.590,
Addvertex,0.650, 0.000, 21.140,
Addvertex,0.570, 0.000, 23.500,
Addvertex,0.650, 0.000, 23.500,
Addvertex,0.800, 0.000, 21.120,
Addvertex,1.150, 0.000, 23.530,
Addvertex,1.230, 0.000, 23.520,
Addvertex,-0.650, 0.000, 18.600,
Addvertex,-0.650, 0.000, 21.700,
Addvertex,-0.590, 0.000, 21.680,
Addvertex,-0.590, 0.000, 18.620,
Addvertex,-0.540, 0.000, 22.100,
Addvertex,-0.480, 0.000, 22.080,
Addvertex,-0.540, 0.000, 18.200,
Addvertex,-0.480, 0.000, 18.220,
Addvertex,1.870, 0.000, 20.000,
Addvertex,2.090, 0.000, 21.540,
Addvertex,2.150, 0.000, 21.550,
Addvertex,1.930, 0.000, 20.000,
Addvertex,1.700, 0.000, 18.520,
Addvertex,1.760, 0.000, 18.500,
Addvertex,2.040, 0.000, 21.940,
Addvertex,2.100, 0.000, 21.950,
Addvertex,1.600, 0.000, 18.100,
Addvertex,1.540, 0.000, 18.120,
Addvertex,-0.760, 0.000, -0.200,
Addvertex,-0.760, 0.000, 25.500,
Addvertex,-0.760, -0.170, 25.500,
Addvertex,-0.760, -0.170, -0.200,
Addvertex,0.760, 0.000, 25.500,
Addvertex,0.760, 0.000, 21.600,
Addvertex,0.760, -0.170, 21.600,
Addvertex,0.760, -0.170, 25.500,
Addvertex,1.240, 0.000, 25.000,
Addvertex,1.240, -0.170, 25.000,
Addvertex,0.760, 0.000, 10.000,
Addvertex,0.760, 0.000, 20.600,
Addvertex,0.760, -0.170, 20.600,
Addvertex,0.760, -0.170, 10.000,
Addvertex,0.620, 0.000, -0.200,
Addvertex,0.620, -0.170, -0.200,
Addvertex,0.760, 0.000, -0.200,
Addvertex,0.840, 0.000, 5.000,
Addvertex,0.840, -0.170, 5.000,
Addvertex,0.760, -0.170, -0.200,
Addvertex,1.080, 0.000, 10.000,
Addvertex,1.080, -0.170, 10.000,
Addvertex,1.480, 0.000, 15.000,
Addvertex,1.480, -0.170, 15.000,
Addvertex,2.040, 0.000, 20.000,
Addvertex,2.040, -0.170, 20.000,
Addvertex,2.760, 0.000, 25.000,
Addvertex,2.760, -0.170, 25.000,
Addvertex,-0.680, 0.000, 5.000,
Addvertex,-0.680, -0.170, 5.000,
Addvertex,-0.440, 0.000, 10.000,
Addvertex,-0.440, -0.170, 10.000,
Addvertex,-0.040, 0.000, 15.000,
Addvertex,-0.040, -0.170, 15.000,
Addvertex,0.520, 0.000, 20.000,
Addvertex,0.520, -0.170, 20.000,
Addvertex,0.610, 0.000, 20.600,
Addvertex,0.610, -0.170, 20.600,
Addvertex,0.610, 0.000, 23.500,
Addvertex,0.610, -0.170, 23.500,
Addvertex,1.190, 0.000, 23.525,
Addvertex,1.190, -0.170, 23.525,
Addvertex,0.800, 0.000, 20.600,
Addvertex,-0.620, 0.000, 18.610,
Addvertex,-0.620, 0.000, 21.690,
Addvertex,-0.620, -0.170, 21.690,
Addvertex,-0.620, -0.170, 18.610,
Addvertex,-0.510, 0.000, 18.210,
Addvertex,-0.510, -0.170, 18.210,
Addvertex,-0.510, 0.000, 22.090,
Addvertex,-0.510, -0.170, 22.090,
Addvertex,2.120, 0.000, 21.545,
Addvertex,1.730, 0.000, 18.510,
Addvertex,1.730, -0.170, 18.510,
Addvertex,2.120, -0.170, 21.545,
Addvertex,2.070, 0.000, 21.945,
Addvertex,2.070, -0.170, 21.945,
Addvertex,1.570, 0.000, 18.110,
Addvertex,1.570, -0.170, 18.110,
Addface,0,2,3,1,
Addface,7,8,9,10,
Addface,8,11,12,9,
Addface,13,7,10,14,
Addface,15,16,17,18,
Addface,19,15,18,20,
Addface,16,21,22,17,
Addface,24,19,20,23,
Addface,25,26,27,28,
Addface,28,27,26,25,
Addface,29,30,31,32,
Addface,32,31,30,29,
Addface,30,33,34,31,
Addface,31,34,33,30,
Addface,35,36,37,38,
Addface,38,37,36,35,
Addface,39,35,38,40,
Addface,40,38,35,39,
Addface,41,42,43,44,
Addface,44,43,42,41,
Addface,42,45,46,43,
Addface,43,46,45,42,
Addface,45,47,48,46,
Addface,46,48,47,45,
Addface,47,49,50,48,
Addface,48,50,49,47,
Addface,49,51,52,50,
Addface,50,52,51,49,
Addface,25,53,54,28,
Addface,53,55,56,54,
Addface,54,56,55,53,
Addface,55,57,58,56,
Addface,56,58,57,55,
Addface,57,59,60,58,
Addface,58,60,59,57,
Addface,59,61,62,60,
Addface,60,62,61,59,
Addface,61,63,64,62,
Addface,62,64,63,61,
Addface,36,65,66,37,
Addface,37,66,65,36,
Addface,4,5,6,67,
Addface,68,69,70,71,
Addface,72,68,71,73,
Addface,73,71,68,72,
Addface,69,74,75,70,
Addface,70,75,74,69,
Addface,76,77,78,79,
Addface,80,76,79,81,
Addface,81,79,76,80,
Addface,77,82,83,78,
Addface,78,83,82,77,
Addface,71,70,69,68,
Addface,79,78,77,76,
SetColor,85,50,50,

;Schotterbett:

GenerateNormals,

CreateMeshBuilder,
AddVertex,0, -0.15, 0,
AddVertex,0, -0.15, 5,
AddVertex,1.43, -0.15, 5,
AddVertex,1.35, -0.15, 0,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,weiche2a.bmp,
SetTextureCoordinates,0, 0.4, 2,
SetTextureCoordinates,1, 0.4, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 2,

CreateMeshBuilder,
AddVertex,0, -0.15, 5,
AddVertex,0, -0.15, 10,
AddVertex,1.67, -0.15, 10,
AddVertex,1.43, -0.15, 5,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,weiche2a.bmp,
SetTextureCoordinates,0, 0.3, 2,
SetTextureCoordinates,1, 0.3, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 2,

CreateMeshBuilder,
AddVertex,0, -0.15, 10,
AddVertex,0, -0.15, 15,
AddVertex,2.07, -0.15, 15,
AddVertex,1.67, -0.15, 10,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,weiche2a.bmp,
SetTextureCoordinates,0, 0.2, 2,
SetTextureCoordinates,1, 0.2, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 2,

CreateMeshBuilder,
AddVertex,0, -0.15, 15,
AddVertex,0, -0.15, 20,
AddVertex,2.63, -0.15, 20,
AddVertex,2.07, -0.15, 15,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,weiche2a.bmp,
SetTextureCoordinates,0, 0.1, 2,
SetTextureCoordinates,1, 0.1, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 2,

CreateMeshBuilder,
AddVertex,0, -0.15, 20,
AddVertex,0, -0.15, 25,
AddVertex,3.35, -0.15, 25,
AddVertex,2.63, -0.15, 20,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,weiche2a.bmp,
SetTextureCoordinates,0, 0, 2,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 1, 0,
SetTextureCoordinates,3, 1, 2,

CreateMeshBuilder,
AddVertex,-1.35, -0.15, 0,
AddVertex,-1.35, -0.15, 25,
AddVertex,0, -0.15, 25,
AddVertex,0, -0.15, 0,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,weiche2.bmp,
SetTextureCoordinates,0, 0, 10,
SetTextureCoordinates,1, 0, 0,
SetTextureCoordinates,2, 0.5, 0,
SetTextureCoordinates,3, 0.5, 10,

CreateMeshBuilder,
AddVertex,-0.5,-0.2,-0.2,
AddVertex,-0.5,-0.05,-0.2,
AddVertex,0.5,-0.05,-0.2,
AddVertex,0.5,-0.2,-0.2,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,../BeaconSeite.bmp,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,


CreateMeshBuilder,
AddVertex,-0.5,-0.2,-0.2,
AddVertex,-0.5,-0.2,0.2,
AddVertex,-0.5,-0.05,0.2,
AddVertex,-0.5,-0.05,-0.2,
AddFace,0,1,2,3,
GenerateNormals,

LoadTexture,../BeaconSeite.bmp,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,1,1,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,0,0,


CreateMeshBuilder,
AddVertex,-0.5,-0.05,-0.2,
AddVertex,0.5,-0.05,-0.2,
AddVertex,0.5,-0.05,0.2,
AddVertex,-0.5,-0.05,0.2,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,../BeaconOben.bmp,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,

CreateMeshBuilder,
AddVertex,0.5,-0.2,-0.2,
AddVertex,0.5,-0.2,0.2,
AddVertex,0.5,-0.05,0.2,
AddVertex,0.5,-0.05,-0.2,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,../BeaconSeite.bmp,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,1,1,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,0,0,


CreateMeshBuilder,
AddVertex,-0.5,-0.2,0.2,
AddVertex,-0.5,-0.05,0.2,
AddVertex,0.5,-0.05,0.2,
AddVertex,0.5,-0.2,0.2,
AddFace,3,2,1,0,
GenerateNormals,

LoadTexture,../BeaconSeite.bmp,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,