Construction method and device of 3D data city model

A city model and construction method technology, applied in the field of 3D data city model construction, can solve problems such as heavy modeling workload, long time-consuming initial analysis and initialization, difficulty in parameterized adjustment details, etc., to achieve high fluency, The effect of saving adjustment time and saving the convenience of adjustment

Active Publication Date: 2020-10-02
CHENGDU SEFON SOFTWARE CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and device for constructing a 3D data city model, so as to solve the problems that the existing con

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Construction method and device of 3D data city model

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0039] Example 1

[0040] A method for constructing a 3D data city model includes the steps of: preparing standardized geojson building data, setting parameter configurations, including color groups, side and top surface picture groups, superimposing parameters, and constructing a webgl context environment; according to building data and configuration parameters Build a vertex shader and a fragment shader separately; the vertex shader and the fragment shader are combined and run in the graphics card to render the entire scene; when rendering, the entire scene model is rendered based on webgl and run directly in the browser; after rendering, the entire scene is completed Construction of 3D data city model.

[0041] The present invention can construct multiple types of different city models required by changing any one or more details of architectural parameters and parameter configurations, and construct a vertex shader and a fragment shader for combined operation directly thro...

Example Embodiment

[0042] Example 2

[0043] like figure 1As shown, the present embodiment is further based on Embodiment 1, and the construction of the vertex shader is to write the following method of parsing architectural data into the vertex shader, and the method of parsing architectural data includes the following steps:

[0044] S101. Initialize arraybuffer, pre-allocate memory space, and write vertices according to building data;

[0045] S102. Calculate the facet according to the vertex, and calculate the side uv and top uv2 dual channels;

[0046] S103. A single building will be layered if it exceeds the set number of floors, and it will not be layered if it does not exceed the number of floors;

[0047] S104. Calculate the building depth according to the center position of a single building, and pass in the time coefficient to do periodic scanning animation; through the above-mentioned process, the geometric map processing of the building model can be completed, and there is no need...

Example Embodiment

[0048] Example 3

[0049] like figure 1 As shown, this embodiment is further based on Embodiment 1. To construct a fragment shader is to write the following configuration parameters into the fragment shader. The method of configuring parameters includes the following steps:

[0050] S201. Floor < key1, the color is a random color in the color group, and the side is processed by overlapping algorithm with color and texture;

[0051] S202. key1≤floor≤key2, the color is a random color in the color group, and the side is processed by the soft light algorithm with color and texture; both key1 and key2 are the set floor thresholds;

[0052] S203. Floor>key2, the color is a random color in the color group, and the side is processed by the strong light algorithm with color and texture;

[0053] S204. According to the overlapping parameter repeat, as well as the height and perimeter of a single building, calculate the repetition of horizontal and vertical textures, and round off the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a construction method and device of a 3D data city model, and mainly solves the problems that an existing construction method in the prior art is large in modeling workload andlong in initial analysis initialization time consumption, and parameterization adjustment details are difficult to achieve. The construction method of the 3D data city model comprises the following steps of preparing building data and configuration parameters, and constructing a basic environment; respectively constructing a vertex shader and a fragment shader according to the building data and the configuration parameters; and enabling the vertex shader and the fragment shader to operate in a combined manner to render the whole scene. By means of the scheme, the city model with high fluencyand distinct levels can be rapidly constructed, a modeler does not need to conduct additional adjustment, and the city model construction method has high practical value and promotional value.

Description

technical field [0001] The present invention relates to the field of 3D modeling, in particular to a method and device for constructing a 3D data city model. Background technique [0002] Digital city refers to the use of spatial information to build a virtual platform to obtain and upload urban information related to urban natural resources, social resources, infrastructure, humanities, economy, etc. in digital form, thereby providing a wide range of services for the government and society. services; digital cities can realize comprehensive analysis and effective utilization of urban information, and support urban planning, construction, operation, management and emergency response through advanced information means, which can effectively improve government management and service levels, improve urban management efficiency, and save energy. resources to promote sustainable urban development. [0003] 3D data city is to integrate urban data, such as population, units, build...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T15/00G06T15/04G06T15/55G06T15/60G06T17/05
CPCG06T15/005G06T15/04G06T15/55G06T15/60G06T17/05
Inventor 殷腾蛟尹寿长周普鲁燕
Owner CHENGDU SEFON SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products