The basis of three-dimensional city display scheme (Scheme 2)

1. Data Preparation

    Discuss the basic data required for the previous program had a consistent need to provide political boundaries, water, buildings (with floors must attribute), roads, green spaces and other data layers. Three-dimensional model, gray mold and die support fine programs.

2. The show featured program

    The program will highlight the administrative district data, and through a series of optimized, so that a dark galaxy into the scene, the scene of the elements within the natural flow of the class, with dynamic charts instrument tray, the danger of technology being cool.

3. A description of the specific show

3.1 stereo prominent administrative boundaries

The frame format json treated as administrative boundaries, according to the stereoscopic stun drawn on a sphere.

 

3.2 three-dimensional sphere transparent

The biggest advantage is to show the ball on a global scale or large-scale area. But the project is often only a relatively small area, with the ball to show the inevitable need to load the program to use a lot of data outside the scope of the inevitable need to use the Internet environment, which limits the environmental compatibility of the project.

When the transparent sphere, the required data to show only the data needs of the region and make the region showing a vacant effects, with dark sky boxes, in line with the current display technology wind.

3.3 restriction scaled three-dimensional sphere

When the three-dimensional transparent ball, a wide range of data has not, then let the ball in any three-dimensional scaling is unreasonable, and the problem can not be found after scaling the data resides too prone. Here, the need to limit the scope of scaling a three-dimensional sphere, it is well within the scope of the zoom range data.

FIG outer boundary extending with 3.4

But if only some of the data only within the scope of administrative, in the small range of administrative, put into the middle frame empty feeling vulnerable to the big screen. In particular, the present transparent sphere, like an island under the stars. Therefore, with three-dimensional embodiment of FIG changes should be made, and an outer boundary extending with FIG. Will be outside the scope of some of the road network, administrative boundaries weakening of large areas with pictures.

 

3.5 Maps basemap scheduling optimization and caching

The default three-dimensional scene, the order of the model is loaded prior to loading sequence map of the base map tiles, which causes, when the model is loaded again after the request to load the base map, giving a feeling of Caton scene.

Here we need to do two optimization:

  1. Adjust the map base map and model loading sequence, so that the base map is loaded first, then followed by the superposition model. First, the user will be able to see the whole picture of the scene, and then gradually to enrich the model by adding details.
  2. Let go nginx forward base map tiles, tile caching mechanism to increase the nginx. After an online request cache, a second load will quickly map a lot.

3.6 increase in particle effects

Some slow increase in the scene, particle dynamics of the rise to the stars, to represent the flow of information to the entire city.

 

4. overall display of results

FIG increased migration effect in this scenario, the target icon, showing the overall thermal follows:

 

Guess you like

Origin www.cnblogs.com/naaoveGIS/p/11164062.html