3D Scenery Generation Method for Railway Driving Simulation

Based on the data of driving simulation section in railway system,three-dimensional(3D) scene is generated in real time during the process of railway simulation.According to the basic knowledge of plane geometry,solid geometry,and the formula of plane geometry,a calculation formula is proposed to solve the spatial location of line and circular curve in 3D space.Another formula is also proposed to calculate the vertex coordinate of vertical section using railway track's centre line as a benchmark.The ramp and curve are recombined and the spatial location of railway track's centre line is then calculated based on the line unit.In view of the vertical section of railway line and facility,the vertex coordinate of vertical section and the required elements of 3D space can be obtained on the basis of spatial location of railway track's centre line.The spatial location of the train is determined considering train running status.Driving scene is obtained after 3D translational motion and rotary motion to railway line.The applications show that 3D virtual display can restore the real scene and the frame frequency is 25 fps,which meets the requirements of the true and real time.