With the fast development of the Internet, the lightweight 3-dimension (3D) geographic scenes visualization system is expected to play more important roles in web-based GIS. Finding an effective solution to render 3D geospatial data has great significance in Cartography and Geographic Information Systems. The emergence of HTML5, as well as WebGL (Web Graphics Library), provides a new approach for 3D WebGIS. WebGL is a JavaScript API for rendering 3D graphics within compatible web browsers. Other plugins are no longer required for displaying 3D objects. WebGL is regarded as a part of new generation web standards and is completely integrated into most popular browsers. It allows GPU accelerated usage of physics and image processing. WebGL elements can be mixed with other HTML elements and composited with other parts of the page or page background. This paper discusses the design and implementation of a digital city roaming system based on WebGL technology. Users can make cartographic analysis, destination query, data query and map mark with the system in browsers. All 3D models in the scene are converted to glTF (GL Transmission Format), and can be used to load 3D scenes and models. For the complex scenes, this system only downloads the scene data within the current view using visibility culling techniques, then joins these data into the rendering queues. At the same time, the data request task is managed in queue by the management layer using prefetching strategy. On the client-side, a method is proposed to deal with occlusion culling based on the parameters of current scene, geometry shape and positional relation. The client-side removes the occluded model data from memory, while the remaining visible data is passed to the GPU rendering pipeline. Then the client-side renders the scene in browser according to the parameters of these glTF files. The experiment result shows that this system can smoothly render the city 3D scene in the browser without any plugins. The city roaming system based on WebGL shows a good interactive experience of 3D visualization for users. The paper provides a very effective and promising method for establishing 3D WebGIS realization.
[1]
Martin Reddy,et al.
Under the hood of GeoVRML 1.0
,
2000,
VRML '00.
[2]
Cláudio T. Silva,et al.
Integrating occlusion culling with view-dependent rendering
,
2001,
Proceedings Visualization, 2001. VIS '01..
[3]
Ralf Gutbell,et al.
A case study on 3D geospatial applications in the web using state-of-the-art WebGL frameworks
,
2015,
Web3D.
[4]
Seth J. Teller,et al.
Real-time occlusion culling for models with large occluders
,
1997,
SI3D.
[5]
K. R. Wijeweera,et al.
An Efficient Line Clipping Algorithm for 3D Space
,
2012
.
[6]
Tony DeRose,et al.
Mesh optimization
,
1993,
SIGGRAPH.
[7]
Robert Wüest,et al.
Processing and Rendering Massive 3 D Geospatial Environments using WebGL – The examples of OpenWebGlobe and SmartMobileMapping
,
2014
.
[8]
Stephan Nebiker,et al.
Web-Based Large-Scale 3D-Geovisualisation Using WebGL: The OpenWebGlobe Project
,
2012,
Int. J. 3 D Inf. Model..
[9]
Marco Soave,et al.
Heterogeneous-Resolution and Multi-Source Terrain Builder for CesiumJS WebGL Virtual Globe
,
2016
.
[10]
Rynson W. H. Lau,et al.
Real-time multi-resolution modeling for complex virtual environments
,
1996,
VRST '96.