| Reservoirs are widely used water conservancy engineering measures to prevent flood disasters.The joint dispatch of cascade reservoirs in the basin during the flood season can achieve the effects of flood blocking,peak shaving and peak shifting.In the joint operation of many reservoir groups,it is necessary to grasp the hydrological information of multiple reservoirs at the same time,and comprehensively consider the supporting flood control projects along the line to make decisions.The relevant 3D water conservancy information platform only relies on a single-scale reservoir virtual simulation scenario,and can no longer support this kind of water conservancy business development of watershed-level scope,multi-scale and multi-engineering.Based on the integration of two 3D engines,OSGEarth and CryEngine,this paper realizes the integration of large-scale reservoir groups to multiple small-scale single reservoirs,which can be the scene basis for multi-scale and multi-project water conservancy development.The specific research contributions are as follows:1)Smooth transition of multi-scale reservoir scenes.Firstly,a method of coordinate system transformation between different 3D engines is proposed using the geodetic coordinate system as the medium.This method unifies the spatial position information of any object in the reservoir scene of different scales.Then,a method to keep the rendered scene range consistent before and after the multi-scale reservoir scene transition is proposed,which realizes the integrated multi-scale reservoir scene effect.Finally,when the multi-scale reservoir scene transition is realized,the mouse and keyboard operations corresponding to the scene roaming interaction are continuous and consistent.Based on the acquisition and determination of the scene camera parameters,this paper designs the scene roaming connection logic,which realizes the cyclic transition between the large-scale reservoir group scene and multiple small-scale reservoir area scenes.2)Reasonable construction of multi-scale reservoir scenes.Firstly,the technology of terrain data simplification and data dynamic scheduling improves the rendering efficiency of large-scale 3D terrain in the scene of large-scale reservoir groups.Then,the water body simulation in the small-scale reservoir scene is studied,and the geometric surface realized by dynamic normal map and Gerstner wave superposition is used to simulate the water surface of the reservoir area.The effect of water surface refraction and reflection is realized through environment mapping technology.Finally,LOD and texture mapping are applied to reduce the polygon count of hydraulic building model,vegetation model and road model in the reservoir scene from the modeling point of view,and set the collision proxy.In the end,this paper does a specific experiment on the integration of OSGEarth and CryEngine,uses the QT interface library to realize the visualization interface of the reservoir scene rendering,and conducts the multi-scale reservoir scene transition test.Based on the integrated multi-scale reservoir scenario,the functions of longitude and latitude query,distance calculation and spillway operation simulation are developed.Experiments show that it is feasible to develop multi-scale and multiengineering water conservancy services based on the reservoir virtual simulation scenario implemented by OSGEarth and CryEngine. |