For a gas station training simulation system, the real time and reality of scene directly affect the application of system. In order to solve this problem, we used 3D virtual scene building technology based on OpenSceneGraph (OSG) to build gas station scene. Technology of levels of detail (LOD) was used to improve the real-time ability of the system during entity modeling. And then based on 3D entity model library and information files in Extensible Markup Language (XML), we built the parametric library and set up the gas station scene, which provided function information and attribute information. Experimental results show that the scene of virtual gas station can not only greatly improve the reality and immersion of system, but also well support the real-time simulation. Now, 3D virtual scene building technology based on OSG has applied successfully in gas station training simulation system, which provides feasible evidence for engineering simulation to solve practical problems.