CN110349267A - The construction method and device of three-dimensional temperature model - Google Patents

The construction method and device of three-dimensional temperature model Download PDF

Info

Publication number
CN110349267A
CN110349267A CN201910492809.3A CN201910492809A CN110349267A CN 110349267 A CN110349267 A CN 110349267A CN 201910492809 A CN201910492809 A CN 201910492809A CN 110349267 A CN110349267 A CN 110349267A
Authority
CN
China
Prior art keywords
dimensional
plane grid
dimensional coordinate
temperature model
altitude information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910492809.3A
Other languages
Chinese (zh)
Other versions
CN110349267B (en
Inventor
倪朝浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910492809.3A priority Critical patent/CN110349267B/en
Publication of CN110349267A publication Critical patent/CN110349267A/en
Application granted granted Critical
Publication of CN110349267B publication Critical patent/CN110349267B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides the construction method and device of three-dimensional temperature model, wherein the construction method of the Three Dimensional Thermal degree model includes: the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data for obtaining business dimension;Gridding processing is carried out to the two-dimensional coordinate data, obtains the plane grid being made of the corresponding plane grid unit of the two-dimensional coordinate data;Each plane grid unit corresponding altitude information in three dimensional coordinate space in the plane grid is determined according to the temperature data;Pass through the three-dimensional temperature model for calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension.Pass through the construction method of the three-dimensional temperature model, corresponding three-dimensional temperature model can be constructed in three dimensional coordinate space to non-homogeneous data by realizing, and the corresponding three-dimensional temperature model of the non-homogeneous data constructed is allowed to embody the temperature situation of the business dimension by longitudinal dimension.

Description

The construction method and device of three-dimensional temperature model
Technical field
This application involves field of computer technology, in particular to a kind of construction method of three-dimensional temperature model.The application is same When be related to a kind of construction device of three-dimensional temperature model, a kind of calculating equipment and a kind of computer readable storage medium.
Background technique
It with the development of internet technology, is all frequent whether on the living conditions or in work about the application of statistics It is applicable to;During doing the work counted, in order to more intuitively observe the information counted, it will usually Different statistical charts is selected to show the information counted according to the type of statistical work.
In the prior art, the statistical chart often applied includes three-dimensional column diagram, three-dimensional scatter plot and plane thermodynamic chart;Wherein The application scenarios of three-dimensional column diagram compare restriction, are only applicable to the uniform scene of data statistics, although three-dimensional scatter plot can To be applied to the non-uniform scene of data statistics, but the three-dimensional scatter plot drawn out lacks depth perception, if data distribution It is difficult to distinguish independent data if intensive, plane thermodynamic chart, and can not be intuitively in longitudinal direction during statistical data Dimension gives expression to the data volume of data.Statistical chart in the prior art can only count uniform data, even if to heterogeneous In the case that data are counted, the statistical chart effect shown is not very good, and shows non-homogeneous data in three dimensions Statistical chart, and the problem that the statistical chart effect that shows is not intuitive enough, currently no effective solution has been proposed.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of construction method of three-dimensional temperature model.The application is related to simultaneously A kind of construction device of three-dimensional temperature model, a kind of calculating equipment and a kind of computer readable storage medium, it is existing to solve Technological deficiency present in technology.
According to the embodiment of the present application in a first aspect, providing a kind of construction method of three-dimensional temperature model, comprising:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid of the two-dimensional coordinate data The plane grid of unit composition;
Determine that each plane grid unit is right in three dimensional coordinate space in the plane grid according to the temperature data The altitude information answered;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension Three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair The plane grid for the plane grid unit composition answered, comprising:
Gridding processing is carried out to the 2-D data by triangulation, it is corresponding to obtain the two-dimensional coordinate data Planar triangulations unit;
The plane grid is generated according to the planar triangulations unit.
Optionally, described to determine that each plane grid unit is in three-dimensional seat in the plane grid according to the temperature data Mark corresponding altitude information in space, comprising:
Pass through the plane grid that will include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid The corresponding two-dimensional coordinate data of unit is converted, and obtains what each plane grid unit mapped in the three dimensional coordinate space Three-dimensional coordinate data;
It is determined based on the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat Surface grids unit corresponding altitude information in the three dimensional coordinate space.
Optionally, the three-dimensional coordinate data mapped in the three dimensional coordinate space based on each plane grid unit Determine each plane grid unit corresponding altitude information sub-step in the three dimensional coordinate space, comprising:
It is determined according to the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat Three-dimensional grid unit of the surface grids unit in the three dimensional coordinate space;
Each plane net is determined based on three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space Lattice unit corresponding altitude information in the three dimensional coordinate space.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute Before the three-dimensional temperature model step execution for stating business dimension, further includes:
Determine the index data of each plane grid unit in the plane grid;
Correspondingly, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute State the three-dimensional temperature model of business dimension, comprising:
By calling the blueprint function for including in the blueprint Processing Interface to select the index number of each plane grid unit Accordingly and each plane grid corresponding altitude information in the three dimensional coordinate space constructs the three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair The plane grid for the plane grid unit composition answered, comprising:
Two-dimensional coordinate point corresponding with the two-dimensional coordinate data is determined in two-dimensional coordinate space;
It is determined according to gridding rule and forms polygon belonging to the plane grid unit of the plane grid;
Adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit is joined end to end, described The plane grid unit is determined in two-dimensional coordinate space;
The plane grid is generated in the two-dimensional coordinate space according to the plane grid unit.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model step execution for stating business dimension, further includes:
According to plane grid unit each in the plane grid in the three dimensional coordinate space corresponding altitude information, Determine coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color, and the coordinate altitude information based on setting rendered color are set And the corresponding two-dimensional coordinate data of node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to described the three of addition rendered color Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature according to the texture maps and the three-dimensional temperature model Model adds rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model step execution for stating business dimension, further includes:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines that each demarcation interval is corresponding respectively Rendered color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by adding Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model step execution for stating business dimension, further includes:
The corresponding altitude information creation in three dimensional coordinate space according to plane grid unit each in the plane grid Altitude information set;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information, the institute based on addition rendered color are added to the three-dimensional temperature model It states three-dimensional temperature model to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, and before the three-dimensional temperature figure step execution for obtaining the business dimension, is also wrapped It includes:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine The altitude information of each grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines each grid section Three-dimensional coordinate data of the point in the three dimensional coordinate space;
According to the same number of modification of grid node for including in three-dimensional coordinate data determination and the plane grid Solid;
Correspondingly, described add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
It is the three-dimensional temperature model addition rendered color by the texture maps, and by the modification solid according to institute Three-dimensional coordinate data addition is stated in the three-dimensional temperature model;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, institute is obtained State three-dimensional temperature figure.
According to the second aspect of the embodiment of the present application, a kind of construction device of three-dimensional temperature model is provided, comprising:
Data module is obtained, is configured as obtaining the two-dimensional coordinate data and the two-dimensional coordinate data pair of business dimension The temperature data answered;
Gridding processing module is configured as carrying out gridding processing to the two-dimensional coordinate data, obtain by described two Tie up the plane grid of the corresponding plane grid unit composition of coordinate data;
It determines data module, is configured as determining each plane grid list in the plane grid according to the temperature data Member corresponding altitude information in three dimensional coordinate space;
Model module is constructed, is configured as by calling blueprint Processing Interface to select the plane grid and the height Data construct the three-dimensional temperature model of the business dimension.
Optionally, described device further include:
It determines coordinate altitude information module, is configured as according to plane grid unit each in the plane grid described Corresponding altitude information in three dimensional coordinate space determines the node of each plane grid unit in the three dimensional coordinate space Coordinate altitude information;
Texture module is generated, is configured as that corresponding rendered color is arranged for the coordinate altitude information, and be based on setting The corresponding two-dimensional coordinate data of the node of the coordinate altitude information and each plane grid unit of setting rendered color generates texture Figure;
Rendering module is configured as by the texture maps being that the three-dimensional temperature model adds rendered color, and to adding Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
According to the third aspect of the embodiment of the present application, a kind of calculating equipment is provided, comprising:
Memory and processor;
For the memory for storing computer executable instructions, the processor is executable for executing the computer Instruction:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid of the two-dimensional coordinate data The plane grid of unit composition;
Determine that each plane grid unit is right in three dimensional coordinate space in the plane grid according to the temperature data The altitude information answered;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension Three-dimensional temperature model.
According to the fourth aspect of the embodiment of the present application, a kind of computer readable storage medium is provided, is stored with calculating Machine executable instruction realizes the step of the construction method of three-dimensional temperature model described in any one when the instruction is executed by processor Suddenly.
The construction method of three-dimensional temperature model provided by the present application, by the two-dimensional coordinate number for obtaining the business dimension According to, the plane grid that building is made of plane grid unit, and the two-dimensional coordinate data for obtaining the business dimension is corresponding Temperature data, altitude information of the plane grid unit in the three dimensional coordinate space is determined, according to the high degree Accordingly and the plane grid constructs the three-dimensional temperature model of the business dimension, by the three dimensional coordinate space The three-dimensional temperature model for constructing the business dimension, realizing can be by the three-dimensional temperature in the three dimensional coordinate space Longitudinal depth of model embodies the temperature situation of the business dimension, and it is specific that the business dimension can be understood more intuitively Temperature distribution situation facilitates analysis and understanding to the business dimension.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the construction method for three-dimensional temperature model that one embodiment of the application provides;
Fig. 2 is a kind of structural schematic diagram for three-dimensional temperature model that one embodiment of the application provides;
Fig. 3 is a kind of process flow diagram of the building process for three-dimensional temperature model that one embodiment of the application provides;
Fig. 4 is a kind of structural schematic diagram for three-dimensional temperature figure that one embodiment of the application provides;
Fig. 5 is a kind of structural schematic diagram of the construction device for three-dimensional temperature model that one embodiment of the application provides;
Fig. 6 is a kind of structural block diagram for calculating equipment that one embodiment of the application provides.
Specific embodiment
Many details are explained in the following description in order to fully understand the application.But the application can be with Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to the application intension the case where Under do similar popularization, therefore the application is not limited by following public specific implementation.
The term used in the application one or more embodiment be only merely for for the purpose of describing particular embodiments, and It is not intended to be limiting the application one or more embodiment.The institute in the application one or more embodiment and the appended claims The "an" of the singular used, " described " and "the" are also intended to including most forms, unless context clearly shows that it His meaning.It is also understood that term "and/or" used in the application one or more embodiment refers to and includes one or more A associated any or all of project listed may combine.
It will be appreciated that though may be described using term first, second etc. in the application one or more embodiment Various information, but these information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out. For example, first can also be referred to as second in the case where not departing from the application one or more scope of embodiments, similarly, Second can also be referred to as first.Depending on context, word as used in this " if " can be construed to " ... When " or " when ... " or " in response to determination ".
Firstly, the vocabulary of terms being related to the application one or more embodiment explains.
Illusory engine: a kind of (Unreal Engine) game engine of open source, illusory engine have support current all Illumination pixel-based and Rendering have powerful material system, art designing are built in real time graphical interface Found arbitrarily complicated real-time Shader (coloring process), art designing can by one can the base altitude figure of dynamic deformation establish The features such as landform;Three-dimensional visualization is carried out to non-homogeneous data by illusory engine in this application, is realized data conversion For three-dimensional temperature figure.
Three-dimensional visualization: after transforming data to graphic attribute, real-time rendering is into three-dimensional scenic.
In this application, a kind of construction method of three-dimensional temperature model is provided, the application is related to a kind of Three Dimensional Thermal simultaneously The construction device of model, a kind of calculating equipment and a kind of computer readable storage medium are spent, in the following embodiments one by one It is described in detail.
The construction method of a kind of three-dimensional temperature model provided by the present application, in conjunction with Fig. 1 and Fig. 2 to the three-dimensional temperature model Construction method be described.
Referring to Fig. 1 and Fig. 2, Fig. 1 shows a kind of building of the three-dimensional temperature model provided according to one embodiment of the application The flow chart of method, Fig. 2 shows a kind of structural schematic diagrams of the three-dimensional temperature model provided according to one embodiment of the application;Its Middle Fig. 2 includes Fig. 2 (a) and Fig. 2 (b), and Fig. 1 includes step 102 to step 108.
Step 102: obtaining the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension.
Business dimension described in the implementation of the application one refers in the construction method of the three-dimensional temperature model, described in building The process of three-dimensional temperature model is carried out in same business dimension, and the three-dimensional temperature model of building is same for being embodied in The distribution situation of temperature data in one business dimension;The business dimension can be the population distribution counted in certain city, can be with It is the age distribution for counting the browsing people in certain website, can be the income dis tribution for counting each department in certain enterprise.
The application is building of the population distribution to the three-dimensional temperature model counted in certain city with the business dimension Method is described, wherein the two-dimensional coordinate data of the business dimension can be longitude and latitude locating for the city, described The corresponding temperature data of two-dimensional coordinate data are the population supports at each longitude and latitude.
It can be believed according to the attribute of business dimension in counting the business dimension under the distribution situation of population based on this Breath determines the statistical chart for counting population distribution in the business dimension, corresponding according to determining statistical chart and the business dimension Population distribution carry out drafting statistical chart, the business dimension can specifically be understood according to the statistical chart drawn out by realizing The specific distribution situation of middle population.
In the construction method of three-dimensional temperature model provided by the present application, in order to more intuitive in three dimensional coordinate space In embody a point distribution situation for uniform data, the two-dimensional coordinate data and the heat for obtaining the business dimension can be passed through Degree evidence is obtained by carrying out gridding processing to the two-dimensional coordinate data by the corresponding plane of the two-dimensional coordinate data The plane grid of grid cell composition, the industry can be determined according to the corresponding two-dimensional coordinate data of the business dimension by realizing Coordinate distribution situation of the dimension of being engaged in two-dimensional coordinate space, and determine that the plane grid unit exists according to the temperature data Altitude information in the three dimensional coordinate space can determine the temperature distribution feelings of the business dimension according to the altitude information Condition constructs the three-dimensional temperature model by blueprint Processing Interface based on the altitude information and the plane grid, realizes The specific distribution situation of temperature data for constructing the business dimension in three dimensional coordinate space by illusory engine, being capable of basis The longitudinal direction of the three-dimensional temperature model constructed highly embodies the temperature situation of all types of data of the business dimension, makes The user that the business dimension must be watched can get information about situation of change and change between the data of the business dimension Change trend.
Specifically, being obtained in the case where needing the data to the business dimension to carry out drawing three-dimensional hot statistics figure Heat of the two-dimensional coordinate data and each two-dimensional coordinate data that drawing three-dimensional hot statistics figure needs in the business dimension Degree evidence.
For example, the business dimension is the population distribution situation for counting each area in first city, corresponding Three Dimensional Thermal is drawn Degree figure, is determined as a region for each area in first city, then each region is divided into according to the division mode of setting multiple small Region determine coordinate points of each zonule in two-dimensional coordinate, often using the center in first city as the origin of two-dimensional coordinate The coordinate points of a zonule are to count the two-dimensional coordinate data of population distribution situation, otherwise two-dimensional coordinate data is expressed as at this time Each area coordinate point in map, the population support that each zonule includes are the temperature number in statistics population distribution situation According to.
Step 104: gridding processing being carried out to the two-dimensional coordinate data, is obtained corresponding by the two-dimensional coordinate data The plane grid of plane grid unit composition.
Specifically, the two-dimensional coordinate data of the above-mentioned acquisition business dimension and the basis of the two-dimensional coordinate data On, further, by carrying out gridding processing to the two-dimensional coordinate data, obtain the plane being made of two-dimensional coordinate data Grid cell, then the plane grid is formed by whole plane grid units.
When it is implemented, the gridding processing is to determine each two-dimensional coordinate data pair according to the two-dimensional coordinate data The two-dimensional coordinate point answered is attached by each two-dimensional coordinate point according to the affiliated polygon of the plane grid unit, is obtained The multiple plane grid units being made of two-dimensional coordinate point, and there is side and concurrent altogether in multiple plane grid units, so that composition One plane grid, wherein the plane grid unit can be the polygons such as triangle, quadrangle or pentagon, composition Shield what slow grid was made of polygons such as triangle, quadrangle or pentagons, and only more by one kind in a plane grid Side shape composition.
On the basis of the above-mentioned acquisition plane grid, further, one or more embodiments of the present embodiment In, the plane grid can be made of a type of polygon, and specific implementation is as described below:
Two-dimensional coordinate point corresponding with the two-dimensional coordinate data is determined in two-dimensional coordinate space;
It is determined according to gridding rule and forms polygon belonging to the plane grid unit of the plane grid;
Adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit is joined end to end, described The plane grid unit is determined in two-dimensional coordinate space;
The plane grid is generated in the two-dimensional coordinate space according to the plane grid unit.
Specifically, determining the corresponding two-dimensional coordinate of the two-dimensional coordinate data obtained first in two-dimensional coordinate space Point determines the affiliated polygon for forming the plane grid unit of the plane grid according to the gridding rule, wherein described Gridding rule refers to polygon belonging to the plane grid unit of plane grid described in composition requirement;It determines and forms the plane The affiliated polygon of grid cell is attached adjacent two-dimensional coordinate point, forms multiple and the plane grid unit The identical polygon of affiliated polygon, multiple polygons form the plane grid.
For example, the two-dimensional coordinate data is corresponding with 4 two-dimensional coordinate points, and the gridding rule is plane grid list Triangle belonging to member, it is available to have 4 triangles of 4 coordinate points as vertex by being attached to 4 coordinate points, And this 4 triangles are total to side two-by-two, and two triangles for being wherein total to side is selected to go as plane grid unit, two triangle sets At quadrangle be the plane grid being made of the corresponding plane grid unit of two-dimensional coordinate data.
In addition to this, in the case where the gridding rule is the affiliated quadrangle of plane grid unit, according to will be adjacent Four two-dimensional coordinate points be attached, form a quadrangle, when connecting next quadrangle, need to have obtained Side of a line as next quadrangle in quadrangle guarantees that the plane grid that plane grid unit forms is by more with this A quadrangle composition;In the case where the gridding rule is pentagonal situation belonging to plane grid unit, with plane grid list Member is that the process of quadrangle composition plane grid is similar, and the application is not repeating herein.
On the basis of the above-mentioned acquisition plane grid, further, one or more embodiments of the present embodiment In, plane grid unit can be obtained by triangulation, then the plane grid unit by obtaining forms the plane net Lattice, specific implementation are as described below:
Gridding processing is carried out to the 2-D data by triangulation, it is corresponding to obtain the two-dimensional coordinate data Planar triangulations unit;
The plane grid is generated according to the planar triangulations unit.
Specifically, being carried out at gridding by two-dimensional coordinate data of the triangulation to the business dimension Reason, the plane grid unit of acquisition are triangle, the as described planar triangulations unit, according to the plane of acquisition Triangle gridding unit generates the plane grid.
Wherein, the triangulation (Delaunay triangulation is passed through to the two-dimensional coordinate data Algorithm also known as Delaunay Triangulation), gridding processing is carried out, needs to meet two important criterion;First, empty Circle characteristic: in the corresponding two-dimensional coordinate point of two-dimensional coordinate data, the Delaunay triangulation network of composition is unique (i.e. any four Point cannot be concyclic), other points are not had within the scope of the circumscribed circle of any one triangle in Delaunay triangulation network exists; Second, minimum angle characteristic is maximized, and in the corresponding two-dimensional coordinate point of two-dimensional coordinate data, in the triangulation of formation, The minimum angle that Delaunay Triangulation is formed by triangle is maximum, refers to that in Delaunay triangulation network be " closest to rule Then change " plane grid, in particular to two adjacent triangulars at convex quadrangle diagonal line, after being exchanged with each other, The minimum angle of six interior angles is not increasing.
Gridding processing is carried out to the two-dimensional coordinate data by using the triangulation, so that the institute of composition Stating the plane grid that plane grid is formed and generated by planar triangulations unit is Progressive Mesh, according to described three The characteristic of angle subdivision algorithm enables to have systematicness and uniqueness in the three-dimensional temperature model of subsequent builds, is drawn by illusory The three-dimensional temperature figure bandwagon effect for holding up generation is more preferable.
Step 106: determining that each plane grid unit is in three-dimensional coordinate in the plane grid according to the temperature data Corresponding altitude information in space.
Specifically, the base for the plane grid that above-mentioned acquisition is made of the corresponding plane grid unit of the two-dimensional coordinate data On plinth, further, the plane grid is made of the corresponding plane grid of the two-dimensional coordinate data, and each two dimension is sat Mark data are corresponding with temperature data, then are determined according to the temperature data of each two-dimensional coordinate each in the plane grid Altitude information of the plane grid unit in three dimensional coordinate space.
Wherein, the altitude information is longitudinal height value of the temperature data in three-dimensional coordinate, for example, in the heat Degree has 50 people, the corresponding coordinate points of the two-dimensional coordinate data of place A are according to the population support for being each place at the A of place (3,3), each unit indicates 10 people in three dimensional coordinate space, then altitude information of the place A in three dimensional coordinate space is 5, right The three-dimensional coordinate point answered is (3,3,5).
On the basis of determining the altitude information of each plane grid unit, further, the one or more of the present embodiment In embodiment, the specific determination process of the altitude information is as described below:
Pass through the plane grid that will include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid The corresponding two-dimensional coordinate data of unit is converted, and obtains what each plane grid unit mapped in the three dimensional coordinate space Three-dimensional coordinate data;
It is determined based on the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat Surface grids unit corresponding altitude information in the three dimensional coordinate space.
Specifically, by flat by include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid The corresponding two-dimensional coordinate data of surface grids unit carries out conversion and obtains each plane grid unit in the three dimensional coordinate space The coordinate points are then converted to three for example, the corresponding coordinate points of two-dimensional coordinate data are (1,1) by the three-dimensional coordinate data of mapping The three-dimensional coordinate data tieed up in coordinate space is (1,1,0), and wherein x-axis and y-axis coordinate remain unchanged, when being transformed into three-dimensional coordinate When in space, increase z-axis coordinate, z-axis coordinate is first confirmed as default value 0, is passing through the corresponding temperature number of (1,1) coordinate points According to coordinate data is converted to, wherein the temperature data of the point are 1, then being converted to the z-axis value in three dimensional coordinate space is 1, then should Coordinate points of the point in three dimensional coordinate space are (1,1,1), and wherein coordinate points are three-dimensional coordinate data, and the value of z-axis is should Point altitude information in three dimensional coordinate space.
In addition to this, in the above-mentioned three-dimensional coordinate mapped in the three dimensional coordinate space according to each plane grid unit Data determine each plane grid unit in the three dimensional coordinate space on the basis of the corresponding altitude information, into one It walks, in one or more embodiments of the present embodiment, needs first to determine the three-dimensional grid unit in three dimensional coordinate space, then really The altitude information of fixed each plane grid unit, specific implementation are as described below:
It is determined according to the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat Three-dimensional grid unit of the surface grids unit in the three dimensional coordinate space;
Each plane net is determined based on three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space Lattice unit corresponding altitude information in the three dimensional coordinate space.
Specifically, determining the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space, really Fixed three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space, according to each plane grid unit in institute It states the three-dimensional grid unit in three dimensional coordinate space and determines that each plane grid unit is corresponding in the three dimensional coordinate space The altitude information.
In practical application, using plane grid unit as triangle, and the two-dimensional coordinate data pair on each vertex of triangle The coordinate points answered are A (0,1), B (0,0) and C (1,0), and it is that 10, B is that the corresponding temperature data of each two-dimensional coordinate data, which are A, 20, C 30, as example, the altitude information of each plane grid unit determining in three dimensional coordinate space is described, In, unit is 10 in three dimensional coordinate space, then two-dimensional coordinate data corresponding coordinate points A, B and C is in three dimensional coordinate space Corresponding coordinate points be respectively (0,1,1) A1, B1 (0,0,2) and C1 (1,0,3), according to A1, B1 and C1 in three-dimensional coordinate sky Between in three-dimensional coordinate, determine and form an inclined-plane A1B1C1, inclined-plane A1B1C1 and two-dimensional coordinate in three dimensional coordinate space ABC plane in space has mapping relations, then altitude information of the ABC plane grid unit in three dimensional coordinate space is as oblique Longitudinal data in the three-dimensional coordinate data of face A1B1C1 and A1, B1 and C1.
When it is implemented, in the case where determining the corresponding inclined-plane of each plane grid unit in three dimensional coordinate space, because There is side altogether for each plane grid unit, so that the inclined-plane that each plane grid unit determines in three dimensional coordinate space is homogeneous It connects, and because altitude information is not consistent, so that being spliced into the three-dimensional grid framework with wave vision.
It, can according to the temperature data of each plane grid unit and the vertex two-dimensional coordinate data of each grid cell Three-dimensional coordinate data of each vertex of each grid cell in three dimensional coordinate space is determined in three dimensional coordinate space, so that The inclined-plane that there are mapping relations with each plane grid unit can be determined in three dimensional coordinate space, it can be in subsequent builds institute It states three-dimensional temperature model and provides a basic framework, greatly enhance the building effect for constructing the three-dimensional temperature model Rate.
Step 108: by calling blueprint Processing Interface to select described in the plane grid and altitude information building The three-dimensional temperature model of business dimension.
Specifically, above-mentioned determine the altitude information of each plane grid unit in the plane grid according to temperature data On the basis of, further, according to the altitude information of plane grid unit each in the plane grid of acquisition and described flat Surface grids construct the three-dimensional temperature model of the business dimension by the blueprint Processing Interface in illusory engine;Wherein, described three The frame that temperature model is three-dimensional temperature figure to be rendered is tieed up, the business dimension is shown in three dimensional coordinate space Profile.
Wherein, the blueprint Processing Interface is the blueprint visualization system in illusory engine, is the game foot of a completion This system, by the blueprint Processing Interface by the corresponding altitude information of each two-dimensional coordinate data and by two-dimensional coordinate data The plane grid of composition connects together, and can be created that the three-dimensional temperature model of the business dimension, and principle is to pass through The event of variable and the three-dimensional temperature model of building that the function, the building process that construct the three-dimensional temperature model generate is built Vertical connection, to realize the building three-dimensional temperature model.
Include blueprint function library in the blueprint Processing Interface based on this, is selecting the plane grid and altitude information During constructing the three-dimensional temperature model, the function in the blueprint function library can be called directly to be multiplexed Realize the building three-dimensional temperature model.
Before the above-mentioned building three-dimensional temperature model, in one or more embodiments of the present embodiment, for institute It states the blueprint Processing Interface building three-dimensional temperature model construction efficiency faster, can determine the index of each plane grid unit Data, and then reduce the transmission of data volume, accelerate the building efficiency of three-dimensional temperature model, the following institute of specific implementation It states:
Determine the index data of each plane grid unit in the plane grid;
In the case where determining index data, step 108 is executed by calling blueprint Processing Interface to select the plane grid And the altitude information constructs the three-dimensional temperature model of the business dimension;Correspondingly, the blueprint Processing Interface passes through rope Argument is carrying out constructing the three-dimensional temperature model, step 108 is specifically referred to by described in calling according to plane grid unit is determined The blueprint function for including in blueprint Processing Interface selects the index data of each plane grid unit and each plane grid to exist The corresponding altitude information building three-dimensional temperature model in the three dimensional coordinate space.
Specifically, determining the index data of each plane grid unit in the plane grid, the blueprint Processing Interface The plane grid unit that each index data is determined by the index data passes through when constructing the three-dimensional temperature model Index data obtains the corresponding plane grid unit of index data and the corresponding altitude information of each plane grid unit Construct the three-dimensional temperature model.
It is described flat by selecting in order to improve the blueprint Processing Interface during constructing the three-dimensional temperature model The working efficiency of surface grids and the altitude information determines each plane grid in the plane grid corresponding respectively Index data, and each index data is unique, so that data corresponding to each plane grid unit only pass through the index Data are determined, and the data volume for reducing the blueprint Processing Interface selection passes through when constructing the three-dimensional temperature model The plane grid of each plane grid unit composition can be obtained in the index data, then is constructed based on the altitude information The three-dimensional temperature model greatly enhances building by the index data of each plane grid unit of determination The building efficiency of the three-dimensional temperature model.
On the basis of the above-mentioned building three-dimensional temperature model, further, the one or more of the present embodiment implement In mode, by rendering to the three-dimensional temperature model, the three-dimensional temperature figure that can be shown is obtained, specific implementation is such as It is lower described:
According to plane grid unit each in the plane grid in the three dimensional coordinate space corresponding altitude information, Determine coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color, and the coordinate altitude information based on setting rendered color are set And the corresponding two-dimensional coordinate data of node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to described the three of addition rendered color Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
Specifically, the altitude information according to the plane grid unit in the three dimensional coordinate space, determines each flat Coordinate altitude information of the node of surface grids unit in the three dimensional coordinate space;For example, the high degree of plane grid unit According to the inclined-plane being built into for tri- three-dimensional coordinate points of A2, B2 and C2, the value of the corresponding z-axis of the three-dimensional coordinate point of A2, B2 and C2 Corresponding rendered color is arranged for the coordinate altitude information in the as coordinate altitude information of plane grid unit, specifically can be with It is the corresponding rendered color of coordinate altitude information setting for the node of each plane grid unit, or for by multiple coordinates Corresponding rendered color is arranged in the face that the corresponding multiple three-dimensional coordinate points of altitude information are built into;
Based on this, different rendered colors is arranged in different coordinate altitude informations, for example, tri- points of A2, B2 and C2 are constituted Inclined-plane, not identical as the corresponding altitude information in inclined-plane that tri- points of A3, B3 and C3 are constituted, then coordinate altitude information is also not phase With, during color is set according to coordinate altitude information, different colors can be set for the two planes, according to setting The corresponding two-dimensional coordinate data of node for setting rendered color coordinate altitude information and each plane grid unit generates texture maps; The texture maps specifically refer to grid chart identical with the plane grid, and the altitude information based on each plane grid unit The coordinate altitude information of the node of i.e. each plane grid unit determines that each plane grid unit in texture maps should be arranged Rendered color, the texture maps obtained at this time can be one be made of the cube with rendered color it is identical as plane grid The texture maps of area, or can be one it is being made of the plane grid unit with rendered color with plane grid identical faces Long-pending texture maps;
It is that the three-dimensional temperature model adds rendered color by the texture maps, to the three-dimensional of addition rendered color Temperature model is rendered, and can be obtained the three-dimensional temperature figure of the business dimension.
On the basis of being that the three-dimensional temperature model adds rendered color above by texture maps, further, this reality It applies in one or more embodiments of example, during adding the rendered color, in order to guarantee the rendered color of addition It adds correct, can be added according to the corresponding relationship of two-dimensional coordinate data in the three-dimensional temperature model, it is specific real Existing mode is as described below:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature according to the texture maps and the three-dimensional temperature model Model adds rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
Specifically, because the texture maps are that the two-dimensional coordinate based on the plane grid unit generates, it is described The coordinate of texture maps and the three-dimensional temperature model is correspondingly, for example, a three-dimensional coordinate in three-dimensional temperature model Point is (1,1,1), then coordinate points corresponding to this point are (1,1, z) in texture maps, and wherein z value is texture maps apart from Three Dimensional Thermal The distance for spending model lowest part by the way that texture maps to be placed on to the surface of three-dimensional temperature model, and guarantees that coordinate corresponds, Rendered color is added to the three-dimensional temperature model by orthogonal camera, determines each three-dimensional grid list of the three-dimensional temperature model Member all has color, then the three-dimensional temperature model for adding rendered color is rendered, and obtains the three-dimensional temperature figure.
For example, leading to as shown in Fig. 2, Fig. 2 (a) shows three-dimensional temperature model of the business dimension in three dimensional coordinate space It crosses the corresponding altitude information of three-dimensional temperature model and constructs the plane grid unit generation texture maps of three-dimensional temperature model, by line Reason figure is placed with three-dimensional temperature model according to mode shown in Fig. 2 (a), and is arranged in texture maps each according to altitude information The color of grid adds rendered color to three-dimensional temperature model from top to bottom by orthogonal camera later, to addition rendered color Three-dimensional temperature model rendered, three-dimensional temperature figure is generated, shown in three-dimensional temperature figure such as Fig. 2 (b) of generation, wherein three-dimensional Temperature figure wave crest highest point is red with color corresponding in texture maps, and being only below wave crest highest point with texture maps corresponding color is Orange, trough lowest part color corresponding with texture maps is blue.
In addition to this, above-described embodiment is to be added rendered color by the wire frame to three-dimensional temperature model, generation Three-dimensional temperature figure is also the data variation for embodying business dimension on line, can also be enclosed by the wire frame to three-dimensional temperature model At region be added rendered color so that the three-dimensional temperature figure shown is more straight to the data bandwagon effect of business dimension It sees, in practical applications, by adding rendered color to the three-dimensional temperature model, is not limited to line or region addition rendering face Color can also add rendered color to the point on three-dimensional temperature model, and the application does not do any restriction herein.
The three-dimensional temperature figure is converted to by the data in three dimensions to the business dimension, realizing can lead to Data situation and variation tendency that three-dimensional temperature figure embodies the business dimension are crossed, and the temperature figure generated is three-dimensional Visual temperature figure, can be understood by the depth of the three-dimensional temperature figure business dimension data wave crest and trough it Between gap so that it is visual perception it is more excellent.
On the basis of the above-mentioned generation texture maps, further, in one or more embodiments of the present embodiment, In order to improve displaying the three-dimensional temperature figure bandwagon effect, modifier can be added to the three-dimensional temperature figure, it is specific real Existing mode is as described below:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine The altitude information of each grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines each grid section Three-dimensional coordinate data of the point in the three dimensional coordinate space;
According to the same number of modification of grid node for including in three-dimensional coordinate data determination and the plane grid Solid;
Correspondingly, according to the determining modification solid, executing described by the texture maps is the three-dimensional Temperature model adds rendered color, and renders to the three-dimensional temperature model of addition rendered color, obtains the business The three-dimensional temperature figure step of dimension, the step specifically refer to be the three-dimensional temperature model addition rendering face by the texture maps Color, and the modification solid is added in the three-dimensional temperature model according to the three-dimensional coordinate data;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, institute is obtained State three-dimensional temperature figure.
Specifically, determining each plane grid unit by the node of each plane grid unit in the plane grid The two-dimensional coordinate data of node, and determine according to the two-dimensional coordinate data temperature data of each grid node, based on described Temperature data and the two-dimensional coordinate data of each grid node determine each grid node in the three dimensional coordinate space Three-dimensional coordinate data determines the three-dimensional coordinate point of each grid node based on the three-dimensional coordinate data, in each three-dimensional Coordinate points generate modification solid, and the modification solid can be the space geometries shape such as spherical, cube shaped, triangular pyramidal Shape;The Three Dimensional Thermal is added to by the modification solid for generating each grid node in the three dimensional coordinate space It spends in model, so that all having the modification solid at each node in the three-dimensional temperature model, will be repaired described in addition The three-dimensional temperature model of decorations solid and rendered color is rendered, and the three-dimensional temperature with modification solid and color is generated Figure.
Based on this, the process for adding the modification solid can pass through the Hierarchical in illusory engine Instanced Static Mesh Component (layering example static grid assembly) component carries out generation mesh geometry and (repairs Adorn solid), then described in by Addinstance in illusory engine (increasing example) component being placed on each mesh geometry In three-dimensional temperature model;By the way that the coordinate data of each mesh geometry is input to the Hierarchical Instanced Static Mesh Component component, is felt ashamed by the function of Addinstance, be can be realized and is put each mesh geometry It sets on the three-dimensional temperature model, wherein Hierarchical Instanced Static Mesh Component component Corresponding three-dimensional is specifically created that according to two-dimensional coordinate data (Xi, Yi) and the corresponding temperature data Zi of two-dimensional coordinate data Coordinate data (Xi, Yi, Zi) generates mesh geometry further according to three-dimensional coordinate data (Xi, Yi, Zi).
By adding the modification solid (mesh geometry) to the three-dimensional temperature model, realize render it is described Three-dimensional temperature figure bandwagon effect is more preferable, can more obviously embody the number of the business dimension described in the three dimensional coordinate space According to concrete condition.
On the basis of the above-mentioned building three-dimensional temperature model, further, the one or more of the present embodiment implement In mode, can also the altitude information demarcation interval be arranged rendered color for each demarcation interval and be added to described three Temperature model is tieed up, then rendering is carried out to three-dimensional temperature model and generates the three-dimensional temperature figure, specific implementation is as described below:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines that each demarcation interval is corresponding respectively Rendered color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by adding Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Specifically, by the way that the altitude information is divided, according to the corresponding maximum value of the altitude information and minimum Value, determines each interval range, being divided at least two sections (when rendered color is arranged, can distinguish business dimension Data variation), rendered color is arranged to each demarcation interval, the rendered color of setting can be the maximum value according to altitude information To minimum value, gradual color is set, maximum value corresponds to dark color, the corresponding pale coloration of minimum value, and intermediate data corresponds to Numerical value with becoming smaller, color also gradually becomes shallower as color, and the different corresponding rendered colors of altitude information is not identical;It is based on The corresponding rendered color of each demarcation interval is to the three-dimensional temperature model addition rendering dyeing, by addition rendered color The three-dimensional temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
In addition to this, a kind of color and right only can be arranged to the corresponding maximum value of altitude information according to the actual situation A kind of color is arranged in the corresponding minimum value of altitude information, and two kinds of colors are not identical, is rendered by adding to three-dimensional temperature model Color simultaneously renders, and the corresponding wave crest of three-dimensional temperature figure and trough rendered is with color, other regions and without rendering face Color, the situation can be counted in the temperature highest point of only statistical service dimension and the data of temperature lowest part, avoid wash with watercolours Contaminate more redundancy three-dimensional temperature models.
Rendered color is set by dividing the altitude information, and to each demarcation interval, so as to described When three-dimensional temperature model addition color, gradual color change, then the three-dimensional temperature to addition rendered color can be embodied Model is rendered, and three-dimensional temperature figure is obtained, and when showing the three-dimensional temperature figure, can pass through the variation of color and height Variation understands the data situation of the business dimension, so that the bandwagon effect of the three-dimensional temperature figure shown is more preferable.
On the basis of the above-mentioned building three-dimensional temperature model, further, the one or more of the present embodiment implement In mode, rendered color can be set for each altitude information, the rendered color that altitude information is arranged is added to the three-dimensional Temperature model, then rendering is carried out to three-dimensional temperature model and generates the three-dimensional temperature figure, specific implementation is as described below:
The corresponding altitude information creation in three dimensional coordinate space according to plane grid unit each in the plane grid Altitude information set;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information, the institute based on addition rendered color are added to the three-dimensional temperature model It states three-dimensional temperature model to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Specifically, whole altitude informations are integrated, altitude information set is obtained, to the altitude information set Rejecting processing is carried out, so that duplicate altitude information is not present in the altitude information in altitude information set, obtains optimal height number According to set, it is that rendered color is arranged in the altitude information in the optimal height data acquisition system, is arranged further according to each altitude information Rendered color be the three dimensional coordinate space in plane grid unit addition rendering primary colors so that the Three Dimensional Thermal constructed Model has the rendered color, renders to the three-dimensional temperature model of addition rendered color, obtains the Three Dimensional Thermal Degree figure.
By the way that rendered color is arranged for the corresponding altitude information of each plane grid unit, and it is added to the three-dimensional temperature Model is rendered by the three-dimensional temperature model to addition rendered color, is obtained the three-dimensional temperature figure, is being shown described three When tieing up temperature figure, the data situation of the business dimension can be understood by the variation of color and the variation of height, so that The bandwagon effect of the three-dimensional temperature figure of displaying is more preferable.
In the construction method of three-dimensional temperature model provided by the present application, by the two-dimensional coordinate number for obtaining the business dimension According to, the plane grid that building is made of plane grid unit, and the two-dimensional coordinate data for obtaining the business dimension is corresponding Temperature data, altitude information of the plane grid unit in the three dimensional coordinate space is determined, according to the high degree Accordingly and the plane grid constructs the three-dimensional temperature model of the business dimension, by the three dimensional coordinate space The three-dimensional temperature model for constructing the business dimension, realizing can be by the three-dimensional temperature in the three dimensional coordinate space Longitudinal depth of model embodies the temperature situation of the business dimension, and is the three-dimensional temperature model addition by texture maps Rendered color generates the three-dimensional temperature figure, and the business dimension can be embodied by the three-dimensional temperature figure by realizing Data situation and variation tendency, and the data of the business dimension can be understood by the depth of the three-dimensional temperature figure Gap between wave crest and trough, so that visual perception is more excellent.
Following combination attached drawings 3 and attached drawing 4, with the construction method of three-dimensional temperature model provided by the present application in statistics population According to application for, the construction method of the three-dimensional temperature model is further described.Wherein, Fig. 3 shows the application A kind of process flow diagram of the building process for three-dimensional temperature model that one embodiment provides, Fig. 4 show one embodiment of the application A kind of structural schematic diagram of the three-dimensional temperature figure provided, Fig. 3 specific steps include step 302 to step 316.
Step 302: obtaining area coordinate and the corresponding population support of each area coordinate of population distribution city A.
Specifically, shown in Figure 4, the area coordinate in the A of city is any point on the face XOY, such as coordinate (a, e, 0) area coordinate in the A of city can be indicated, wherein each unit of Z axis indicates 1000 people.
Based on this, in the A of city, the corresponding area coordinate in the most intensive position of population support is (c, g, 0), corresponding people Mouth number is 2000 people.
Step 304: gridding processing being carried out by area coordinate of the triangulation to city A, acquisition is sat by region Mark the planar triangulations of composition.
Specifically, carrying out three to whole region coordinate by triangulation according to the whole region coordinate in the A of city Angle gridding processing, obtains gradual planar triangulations.
Step 306: determining that planar triangulations are sat in three-dimensional according to the corresponding population support of area coordinate each in the A of city Mark the height value in space.
Specifically, determining the every of building planar triangulations according to the corresponding population support of coordinates regional each in the A of city Height value of a area coordinate in three dimensional coordinate space.
Based on this, area coordinate is that (c, g, 0) corresponding population support is 2000 people, then area coordinate (c, g, 0) is three Tieing up the height value in coordinate space is 2, and corresponding three-dimensional coordinate is (c, g, n), the corresponding population support of area coordinate (b, e, 0) For 0 people, then height value of the area coordinate (b, e, 0) in three dimensional coordinate space is 0, and corresponding three-dimensional coordinate is (b, e, O), with This analogizes, and determines height value and corresponding three-dimensional coordinate of each area coordinate in three dimensional coordinate space respectively.
Step 308: calling the population distribution of blueprint Processing Interface selection planar triangulations and height value building city A Three-dimensional temperature model.
Step 310: texture maps are generated according to area coordinate.
Specifically, generating texture maps according to the area coordinate of city A, which can be is made of polygon Planar grains figure is also possible to the spatial texture figure being made of solid geometry.
Step 312: according to each area coordinate, corresponding population support is configured rendered color to texture maps.
Specifically, by the corresponding texture maps of the most area coordinate of population support polygon or solid geometry be set as Red, the polygon or solid geometry being only below in the corresponding texture maps of the most area coordinate of population support are set as yellow, And so on, it is that difference is respectively set in the polygon or solid geometry in the different corresponding texture maps of area coordinate of population support Color.
Step 314: rendered color is added by the population distribution three-dimensional temperature model that texture maps are city A.
Specifically, the texture maps constructed are identical as the face XOY in Fig. 4, texture maps are placed on the face XOY, in flat Row state and coordinate points one-to-one correspondence from top to bottom add the population distribution three-dimensional temperature model of city A by orthogonal camera Rendered color in texture maps is added on population distribution three-dimensional temperature model by rendered color according to area coordinate.
Step 316: the population distribution three-dimensional temperature model of addition rendered color being rendered, the population of city A is obtained It is distributed three-dimensional temperature figure.
Specifically, referring to fig. 4, being rendered, being obtained by the population distribution three-dimensional temperature model to addition rendered color City A population distribution three-dimensional temperature figure it is as shown in Figure 4.
The construction method of three-dimensional temperature model provided by the present application, the area coordinate of the city A of acquisition, and cutd open by triangle Divide algorithm to construct gradual planar triangulations, passes through the corresponding population of the area coordinate of planar triangulations and city A Mesh constructs population distribution three-dimensional temperature model, while constructing texture maps, is that population distribution three-dimensional temperature model adds by texture maps Add rendered color, the population distribution three-dimensional temperature figure rendered is allowed specifically to recognize city A's according to color and depth The population distribution situation in each region can understand the population of city A by the wave crest and trough of population distribution three-dimensional temperature figure Distribution proportion gap, city A can effectively be planned according to the displaying content of population distribution three-dimensional temperature figure by realizing.
Corresponding with above method embodiment, present invention also provides the construction device embodiment of three-dimensional temperature model, Fig. 5 A kind of structural schematic diagram of the construction device of three-dimensional temperature model of one embodiment of the application offer is provided.As shown in figure 5, should Device includes:
Data module 502 is obtained, is configured as obtaining the two-dimensional coordinate data of business dimension and the two-dimensional coordinate number According to corresponding temperature data;
Gridding processing module 504 is configured as carrying out gridding processing to the two-dimensional coordinate data, obtain by described The plane grid of the corresponding plane grid unit composition of two-dimensional coordinate data;
It determines data module 506, is configured as determining each plane net in the plane grid according to the temperature data Lattice unit corresponding altitude information in three dimensional coordinate space;
Model module 508 is constructed, is configured as by calling blueprint Processing Interface to select the plane grid and described Altitude information constructs the three-dimensional temperature model of the business dimension.
In an optional embodiment, the gridding processing module 504, comprising:
Gridding processing unit is configured as carrying out gridding processing to the 2-D data by triangulation, Obtain the corresponding planar triangulations unit of the two-dimensional coordinate data;
Plane grid unit is generated, is configured as generating the plane grid according to the planar triangulations unit.
In an optional embodiment, the determining data module 506, comprising:
Determine three-dimensional coordinate data unit, be configured as by by the corresponding temperature data of the two-dimensional coordinate data and The corresponding two-dimensional coordinate data of plane grid unit for including in the plane grid is converted, and each plane grid list is obtained The three-dimensional coordinate data that member maps in the three dimensional coordinate space;
It determines altitude information unit, is configured as mapping in the three dimensional coordinate space based on each plane grid unit Three-dimensional coordinate data determine each plane grid unit corresponding altitude information in the three dimensional coordinate space.
In an optional embodiment, the determining altitude information unit, comprising:
It determines three-dimensional grid unit submodule, is configured as according to each plane grid unit in the three dimensional coordinate space The three-dimensional coordinate data of middle mapping determines three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space;
It determines altitude information submodule, is configured as based on each plane grid unit in the three dimensional coordinate space Three-dimensional grid unit determines each plane grid unit corresponding altitude information in the three dimensional coordinate space.
In an optional embodiment, the construction device of the three-dimensional temperature model, comprising:
It determines index data module, is configured to determine that the index number of each plane grid unit in the plane grid According to;
Correspondingly, the building model module 508 is configured to:
By calling the blueprint function for including in the blueprint Processing Interface to select the index number of each plane grid unit Accordingly and each plane grid corresponding altitude information in the three dimensional coordinate space constructs the three-dimensional temperature model.
In an optional embodiment, the gridding processing module 504, comprising:
It determines two-dimensional coordinate dot element, it is corresponding with the two-dimensional coordinate data to be configured as the determination in two-dimensional coordinate space Two-dimensional coordinate point;
It determines polygonal element, is configured as determining the plane grid list for forming the plane grid according to gridding rule Polygon belonging to member;
Determination unit, be configured as by adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit into Row joins end to end, and the plane grid unit is determined in the two-dimensional coordinate space;
Plane grid unit is generated, is configured as being generated in the two-dimensional coordinate space according to the plane grid unit The plane grid.
In an optional embodiment, the construction device of the three-dimensional temperature model, further includes:
It determines coordinate altitude information module, is configured as according to plane grid unit each in the plane grid described Corresponding altitude information in three dimensional coordinate space determines the node of each plane grid unit in the three dimensional coordinate space Coordinate altitude information;
Texture module is generated, is configured as that corresponding rendered color is arranged for the coordinate altitude information, and be based on setting The corresponding two-dimensional coordinate data of the node of the coordinate altitude information and each plane grid unit of setting rendered color generates texture Figure;
Rendering module is configured as by the texture maps being that the three-dimensional temperature model adds rendered color, and to adding Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
In an optional embodiment, the rendering module, comprising:
Sequencing unit, be configured as by the texture maps and the three-dimensional temperature model according to the two-dimensional coordinate data into Row sequence;
Rendered color unit is added, is configured as through orthogonal camera according to the texture maps and the three-dimensional temperature model Put in order to the three-dimensional temperature model addition rendered color;
Rendering unit is configured as rendering the three-dimensional temperature model of addition rendered color, obtains the Three Dimensional Thermal Degree figure.
In an optional embodiment, the construction device of the three-dimensional temperature model, further includes:
Division module is configured as determining that the altitude information is corresponding more by dividing the altitude information A demarcation interval;
Rendered color module is set, multiple demarcation interval setting rendering face corresponding to the altitude information are configured as Color determines the corresponding rendered color of each demarcation interval respectively;
First rendering module is configured as based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model Addition rendering dyeing is rendered by the three-dimensional temperature model to addition rendered color, obtains the business dimension Three-dimensional temperature figure.
In an optional embodiment, the construction device of the three-dimensional temperature model, further includes:
Altitude information collection modules are created, are configured as according to plane grid unit each in the plane grid in three-dimensional Corresponding altitude information creates altitude information set in coordinate space;
Module is rejected, is configured as doing the altitude information set rejecting processing, obtains optimal height data acquisition system;
It determines rendered color module, is configured to determine that each altitude information in the optimal height data acquisition system is corresponding Rendered color;
Second rendering module is configured as adding the corresponding rendering face of each altitude information to the three-dimensional temperature model Color, the three-dimensional temperature model based on addition rendered color are rendered, and the three-dimensional temperature figure of the business dimension is obtained.
In an optional embodiment, the construction device of the three-dimensional temperature model, further includes:
It determines height of node data module, is configured as two according to each grid node for including in the plane grid The corresponding temperature data of coordinate data are tieed up, determine the altitude information of each grid node;
It determines Nodes Three-dimensional coordinate data module, is configured as two-dimensional coordinate data based on each grid node and each The altitude information of grid node determines three-dimensional coordinate data of each grid node in the three dimensional coordinate space;
It determines modification geometry module, is configured as being determined according to the three-dimensional coordinate data and being wrapped in the plane grid The same number of modification solid of the grid node contained;
Correspondingly, the rendering module, is configured to be that the three-dimensional temperature model adds by the texture maps Add rendered color, and the modification solid is added in the three-dimensional temperature model according to the three-dimensional coordinate data;It will The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, and the three-dimensional temperature is obtained Figure.
In the construction device of three-dimensional temperature model provided by the present application, by the two-dimensional coordinate number for obtaining the business dimension According to, the plane grid that building is made of plane grid unit, and the two-dimensional coordinate data for obtaining the business dimension is corresponding Temperature data, altitude information of the plane grid unit in the three dimensional coordinate space is determined, according to the high degree Accordingly and the plane grid constructs the three-dimensional temperature model of the business dimension, by the three dimensional coordinate space The three-dimensional temperature model for constructing the business dimension, realizing can be by the three-dimensional temperature in the three dimensional coordinate space Longitudinal depth of model embodies the temperature situation of the business dimension, and is the three-dimensional temperature model addition by texture maps Rendered color generates the three-dimensional temperature figure, and the business dimension can be embodied by the three-dimensional temperature figure by realizing Data situation and variation tendency, and the data of the business dimension can be understood by the depth of the three-dimensional temperature figure Gap between wave crest and trough, so that visual perception is more excellent.
A kind of exemplary scheme of the construction device of above-mentioned three-dimensional temperature model for the present embodiment.It should be noted that The technical solution category of the construction method of the technical solution of the construction device of the three-dimensional temperature model and above-mentioned three-dimensional temperature model In the detail content that same design, the technical solution of the construction device of three-dimensional temperature model are not described in detail, may refer to State the description of the technical solution of the construction method of three-dimensional temperature model.
Fig. 6 shows a kind of structural block diagram of the calculating equipment 600 provided according to one embodiment of the application.The calculating equipment 600 component includes but is not limited to memory 610 and processor 620.Processor 620 is connected with memory 610 by bus 630 It connects, database 650 is for saving data.
Calculating equipment 600 further includes access device 640, access device 640 enable calculate equipment 600 via one or Multiple networks 660 communicate.The example of these networks includes public switched telephone network (PSTN), local area network (LAN), wide area network (WAN), the combination of the communication network of personal area network (PAN) or such as internet.Access device 640 may include wired or wireless One or more of any kind of network interface (for example, network interface card (NIC)), such as IEEE802.11 wireless local area Net (WLAN) wireless interface, worldwide interoperability for microwave accesses (Wi-MAX) interface, Ethernet interface, universal serial bus (USB) connect Mouth, cellular network interface, blue tooth interface, near-field communication (NFC) interface, etc..
In one embodiment of the application, unshowned other component can also in above-mentioned and Fig. 6 of calculating equipment 600 To be connected to each other, such as pass through bus.It should be appreciated that calculating device structure block diagram shown in fig. 6 is merely for the sake of exemplary Purpose, rather than the limitation to the application range.Those skilled in the art can according to need, and increase or replace other component.
Calculating equipment 600 can be any kind of static or mobile computing device, including mobile computer or mobile meter Calculate equipment (for example, tablet computer, personal digital assistant, laptop computer, notebook computer, net book etc.), movement Phone (for example, smart phone), wearable calculating equipment (for example, smartwatch, intelligent glasses etc.) or other kinds of shifting Dynamic equipment, or the static calculating equipment of such as desktop computer or PC.Calculating equipment 600 can also be mobile or state type Server.
Wherein, processor 620 is for executing following computer executable instructions:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid of the two-dimensional coordinate data The plane grid of unit composition;
Determine that each plane grid unit is right in three dimensional coordinate space in the plane grid according to the temperature data The altitude information answered;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension Three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair The plane grid for the plane grid unit composition answered, comprising:
Gridding processing is carried out to the 2-D data by triangulation, it is corresponding to obtain the two-dimensional coordinate data Planar triangulations unit;
The plane grid is generated according to the planar triangulations unit.
Optionally, described to determine that each plane grid unit is in three-dimensional seat in the plane grid according to the temperature data Mark corresponding altitude information in space, comprising:
Pass through the plane grid that will include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid The corresponding two-dimensional coordinate data of unit is converted, and obtains what each plane grid unit mapped in the three dimensional coordinate space Three-dimensional coordinate data;
It is determined based on the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat Surface grids unit corresponding altitude information in the three dimensional coordinate space.
Optionally, the three-dimensional coordinate data mapped in the three dimensional coordinate space based on each plane grid unit Determine each plane grid unit corresponding altitude information sub-instructions in the three dimensional coordinate space, comprising:
It is determined according to the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat Three-dimensional grid unit of the surface grids unit in the three dimensional coordinate space;
Each plane net is determined based on three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space Lattice unit corresponding altitude information in the three dimensional coordinate space.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute Before the three-dimensional temperature model command execution for stating business dimension, processor 620 is also used to execute following computer executable instructions:
Determine the index data of each plane grid unit in the plane grid;
Correspondingly, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute State the three-dimensional temperature model of business dimension, comprising:
By calling the blueprint function for including in the blueprint Processing Interface to select the index number of each plane grid unit Accordingly and each plane grid corresponding altitude information in the three dimensional coordinate space constructs the three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair The plane grid for the plane grid unit composition answered, comprising:
Two-dimensional coordinate point corresponding with the two-dimensional coordinate data is determined in two-dimensional coordinate space;
It is determined according to gridding rule and forms polygon belonging to the plane grid unit of the plane grid;
Adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit is joined end to end, described The plane grid unit is determined in two-dimensional coordinate space;
The plane grid is generated in the two-dimensional coordinate space according to the plane grid unit.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model command execution for stating business dimension, processor 620 is also used to execute following computer executable instructions:
According to plane grid unit each in the plane grid in the three dimensional coordinate space corresponding altitude information, Determine coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color, and the coordinate altitude information based on setting rendered color are set And the corresponding two-dimensional coordinate data of node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to described the three of addition rendered color Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature according to the texture maps and the three-dimensional temperature model Model adds rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model command execution for stating business dimension, processor 620 is also used to execute following computer executable instructions:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines that each demarcation interval is corresponding respectively Rendered color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by adding Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model command execution for stating business dimension, processor 620 is also used to execute following computer executable instructions:
The corresponding altitude information creation in three dimensional coordinate space according to plane grid unit each in the plane grid Altitude information set;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information, the institute based on addition rendered color are added to the three-dimensional temperature model It states three-dimensional temperature model to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, before the three-dimensional temperature figure instruction execution for obtaining the business dimension, processing Device 620 is also used to execute following computer executable instructions:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine The altitude information of each grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines each grid section Three-dimensional coordinate data of the point in the three dimensional coordinate space;
According to the same number of modification of grid node for including in three-dimensional coordinate data determination and the plane grid Solid;
Correspondingly, described add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
It is the three-dimensional temperature model addition rendered color by the texture maps, and by the modification solid according to institute Three-dimensional coordinate data addition is stated in the three-dimensional temperature model;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, institute is obtained State three-dimensional temperature figure.
A kind of exemplary scheme of above-mentioned calculating equipment for the present embodiment.It should be noted that the skill of the calculating equipment The technical solution of the construction method of art scheme and above-mentioned three-dimensional temperature model belongs to same design, calculates the technical solution of equipment The detail content being not described in detail may refer to the description of the technical solution of the construction method of above-mentioned three-dimensional temperature model.
One embodiment of the application also provides a kind of computer readable storage medium, is stored with computer instruction, the instruction To be used for when being executed by processor:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid of the two-dimensional coordinate data The plane grid of unit composition;
Determine that each plane grid unit is right in three dimensional coordinate space in the plane grid according to the temperature data The altitude information answered;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension Three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair The plane grid for the plane grid unit composition answered, comprising:
Gridding processing is carried out to the 2-D data by triangulation, it is corresponding to obtain the two-dimensional coordinate data Planar triangulations unit;
The plane grid is generated according to the planar triangulations unit.
Optionally, described to determine that each plane grid unit is in three-dimensional seat in the plane grid according to the temperature data Mark corresponding altitude information in space, comprising:
Pass through the plane grid that will include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid The corresponding two-dimensional coordinate data of unit is converted, and obtains what each plane grid unit mapped in the three dimensional coordinate space Three-dimensional coordinate data;
It is determined based on the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat Surface grids unit corresponding altitude information in the three dimensional coordinate space.
Optionally, the three-dimensional coordinate data mapped in the three dimensional coordinate space based on each plane grid unit Determine each plane grid unit corresponding altitude information sub-step in the three dimensional coordinate space, comprising:
It is determined according to the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat Three-dimensional grid unit of the surface grids unit in the three dimensional coordinate space;
Each plane net is determined based on three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space Lattice unit corresponding altitude information in the three dimensional coordinate space.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute Before the three-dimensional temperature model step execution for stating business dimension, further includes:
Determine the index data of each plane grid unit in the plane grid;
Correspondingly, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute State the three-dimensional temperature model of business dimension, comprising:
By calling the blueprint function for including in the blueprint Processing Interface to select the index number of each plane grid unit Accordingly and each plane grid corresponding altitude information in the three dimensional coordinate space constructs the three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair The plane grid for the plane grid unit composition answered, comprising:
Two-dimensional coordinate point corresponding with the two-dimensional coordinate data is determined in two-dimensional coordinate space;
It is determined according to gridding rule and forms polygon belonging to the plane grid unit of the plane grid;
Adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit is joined end to end, described The plane grid unit is determined in two-dimensional coordinate space;
The plane grid is generated in the two-dimensional coordinate space according to the plane grid unit.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model step execution for stating business dimension, further includes:
According to plane grid unit each in the plane grid in the three dimensional coordinate space corresponding altitude information, Determine coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color, and the coordinate altitude information based on setting rendered color are set And the corresponding two-dimensional coordinate data of node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to described the three of addition rendered color Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature according to the texture maps and the three-dimensional temperature model Model adds rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model step execution for stating business dimension, further includes:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines that each demarcation interval is corresponding respectively Rendered color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by adding Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute After the three-dimensional temperature model step execution for stating business dimension, further includes:
The corresponding altitude information creation in three dimensional coordinate space according to plane grid unit each in the plane grid Altitude information set;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information, the institute based on addition rendered color are added to the three-dimensional temperature model It states three-dimensional temperature model to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, and before the three-dimensional temperature figure step execution for obtaining the business dimension, is also wrapped It includes:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine The altitude information of each grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines each grid section Three-dimensional coordinate data of the point in the three dimensional coordinate space;
According to the same number of modification of grid node for including in three-dimensional coordinate data determination and the plane grid Solid;
Correspondingly, described add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
It is the three-dimensional temperature model addition rendered color by the texture maps, and by the modification solid according to institute Three-dimensional coordinate data addition is stated in the three-dimensional temperature model;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, institute is obtained State three-dimensional temperature figure.
A kind of exemplary scheme of above-mentioned computer readable storage medium for the present embodiment.It should be noted that this is deposited The technical solution of the construction method of the technical solution of storage media and above-mentioned three-dimensional temperature model belongs to same design, storage medium The detail content that is not described in detail of technical solution, may refer to the technical solution of the construction method of above-mentioned three-dimensional temperature model Description.
It is above-mentioned that the application specific embodiment is described.Other embodiments are within the scope of the appended claims. In some cases, the movement recorded in detail in the claims or step can be executed according to the sequence being different from embodiment And desired result still may be implemented.In addition, process depicted in the drawing not necessarily require the particular order shown or Person's consecutive order is just able to achieve desired result.In some embodiments, multitasking and parallel processing are also possible Or it may be advantageous.
The computer instruction includes computer program code, the computer program code can for source code form, Object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: that can carry institute State any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, the computer storage of computer program code Device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), Electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium include it is interior Increase and decrease appropriate can be carried out according to the requirement made laws in jurisdiction with patent practice by holding, such as in certain jurisdictions of courts Area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The application preferred embodiment disclosed above is only intended to help to illustrate the application.There is no detailed for alternative embodiment All details are described, are not limited the invention to the specific embodiments described.It obviously, can according to present context It makes many modifications and variations.The application chooses and specifically describes these embodiments, is the original in order to preferably explain the application Reason and practical application, so that skilled artisan be enable to better understand and utilize the application.The application is only authorized The limitation of sharp claim and its full scope and equivalent.

Claims (15)

1. a kind of construction method of three-dimensional temperature model characterized by comprising
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid unit of the two-dimensional coordinate data The plane grid of composition;
Determine that each plane grid unit is corresponding in three dimensional coordinate space in the plane grid according to the temperature data Altitude information;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the three of the business dimension Tie up temperature model.
2. the construction method of three-dimensional temperature model according to claim 1, which is characterized in that described to the two-dimensional coordinate Data carry out gridding processing, obtain the plane grid being made of the corresponding plane grid unit of the two-dimensional coordinate data, packet It includes:
Gridding processing is carried out to the 2-D data by triangulation, it is corresponding flat to obtain the two-dimensional coordinate data Face triangle gridding unit;
The plane grid is generated according to the planar triangulations unit.
3. the construction method of three-dimensional temperature model according to claim 1, which is characterized in that described according to the temperature number According to each plane grid unit corresponding altitude information in three dimensional coordinate space in the determination plane grid, comprising:
Pass through the plane grid unit that will include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid Corresponding two-dimensional coordinate data is converted, and the three-dimensional that each plane grid unit maps in the three dimensional coordinate space is obtained Coordinate data;
The three-dimensional coordinate data mapped in the three dimensional coordinate space based on each plane grid unit determines each plane net Lattice unit corresponding altitude information in the three dimensional coordinate space.
4. the construction method of three-dimensional temperature model according to claim 3, which is characterized in that described to be based on each plane net The three-dimensional coordinate data that lattice unit maps in the three dimensional coordinate space determines each plane grid unit in the three-dimensional seat Mark the corresponding altitude information sub-step in space, comprising:
Each plane net is determined according to the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space Three-dimensional grid unit of the lattice unit in the three dimensional coordinate space;
Each plane grid list is determined based on three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space Member corresponding altitude information in the three dimensional coordinate space.
5. the construction method of three-dimensional temperature model according to claim 3, which is characterized in that described by calling at blueprint The three-dimensional temperature model step that reason interface selects the plane grid and the altitude information to construct the business dimension executes Before, further includes:
Determine the index data of each plane grid unit in the plane grid;
Correspondingly, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the industry The three-dimensional temperature model for dimension of being engaged in, comprising:
By call the blueprint function for including in the blueprint Processing Interface select the index data of each plane grid unit with And each plane grid corresponding altitude information building three-dimensional temperature model in the three dimensional coordinate space.
6. the construction method of three-dimensional temperature model according to claim 1, which is characterized in that described to the two-dimensional coordinate Data carry out gridding processing, obtain the plane grid being made of the corresponding plane grid unit of the two-dimensional coordinate data, packet It includes:
Two-dimensional coordinate point corresponding with the two-dimensional coordinate data is determined in two-dimensional coordinate space;
It is determined according to gridding rule and forms polygon belonging to the plane grid unit of the plane grid;
Adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit is joined end to end, in the two dimension The plane grid unit is determined in coordinate space;
The plane grid is generated in the two-dimensional coordinate space according to the plane grid unit.
7. the construction method of three-dimensional temperature model according to claim 1, which is characterized in that described by calling at blueprint The three-dimensional temperature model step that reason interface selects the plane grid and the altitude information to construct the business dimension executes Later, further includes:
Corresponding altitude information, determination in the three dimensional coordinate space according to plane grid unit each in the plane grid Coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color is set, and the coordinate altitude information based on setting rendered color and The corresponding two-dimensional coordinate data of the node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to the Three Dimensional Thermal of addition rendered color Degree model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
8. the construction method of three-dimensional temperature model according to claim 7, which is characterized in that described to pass through the texture maps Rendered color is added for the three-dimensional temperature model, and the three-dimensional temperature model of addition rendered color is rendered, obtains institute State the three-dimensional temperature figure of business dimension, comprising:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature model according to the texture maps and the three-dimensional temperature model Add rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
9. the construction method of three-dimensional temperature model according to claim 1, which is characterized in that described by calling at blueprint The three-dimensional temperature model step that reason interface selects the plane grid and the altitude information to construct the business dimension executes Later, further includes:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines the corresponding wash with watercolours of each demarcation interval respectively Contaminate color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by addition wash with watercolours The three-dimensional temperature model of dye color is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
10. the construction method of three-dimensional temperature model according to claim 1, which is characterized in that described by calling blueprint The three-dimensional temperature model step that Processing Interface selects the plane grid and the altitude information to construct the business dimension is held After row, further includes:
According to plane grid unit each in the plane grid, corresponding altitude information creates height in three dimensional coordinate space Data acquisition system;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information is added to the three-dimensional temperature model, described three based on addition rendered color Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
11. the construction method of three-dimensional temperature model according to claim 7, which is characterized in that described to pass through the texture Figure is that the three-dimensional temperature model adds rendered color, and renders to the three-dimensional temperature model of addition rendered color, Before the three-dimensional temperature figure step execution for obtaining the business dimension, further includes:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine each The altitude information of grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines that each grid node exists Three-dimensional coordinate data in the three dimensional coordinate space;
According to the same number of modification geometry of grid node for including in three-dimensional coordinate data determination and the plane grid Body;
Correspondingly, described add rendered color by the texture maps for the three-dimensional temperature model, and to addition rendered color The three-dimensional temperature model rendered, obtain the three-dimensional temperature figure of the business dimension, comprising:
It is the three-dimensional temperature model addition rendered color by the texture maps, and by the modification solid according to described three Coordinate data addition is tieed up in the three-dimensional temperature model;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, obtains described three Tie up temperature figure.
12. a kind of construction device of three-dimensional temperature model characterized by comprising
Data module is obtained, is configured as obtaining the two-dimensional coordinate data of business dimension and the two-dimensional coordinate data is corresponding Temperature data;
Gridding processing module is configured as carrying out gridding processing to the two-dimensional coordinate data, obtains and is sat by the two dimension Mark the plane grid of the corresponding plane grid unit composition of data;
It determines data module, is configured as determining that each plane grid unit exists in the plane grid according to the temperature data Corresponding altitude information in three dimensional coordinate space;
Model module is constructed, is configured as by calling blueprint Processing Interface to select the plane grid and the altitude information Construct the three-dimensional temperature model of the business dimension.
13. the construction device of three-dimensional temperature model according to claim 12, which is characterized in that further include:
It determines coordinate altitude information module, is configured as according to plane grid unit each in the plane grid in the three-dimensional Corresponding altitude information in coordinate space determines coordinate of the node of each plane grid unit in the three dimensional coordinate space Altitude information;
Texture module is generated, is configured as that corresponding rendered color is arranged for the coordinate altitude information, and based on setting wash with watercolours The corresponding two-dimensional coordinate data of the node of the coordinate altitude information and each plane grid unit that contaminate color generates texture maps;
Rendering module is configured as being the three-dimensional temperature model addition rendered color by the texture maps, and to addition wash with watercolours The three-dimensional temperature model of dye color is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
14. a kind of calculating equipment characterized by comprising
Memory and processor;
The memory is for storing computer executable instructions, and for executing, the computer is executable to be referred to the processor It enables:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid unit of the two-dimensional coordinate data The plane grid of composition;
Determine that each plane grid unit is corresponding in three dimensional coordinate space in the plane grid according to the temperature data Altitude information;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the three of the business dimension Tie up temperature model.
15. a kind of computer readable storage medium, is stored with computer instruction, which is characterized in that the instruction is held by processor The step of construction method of three-dimensional temperature model described in claim 1 to 11 any one is realized when row.
CN201910492809.3A 2019-06-06 2019-06-06 Method and device for constructing three-dimensional heat model Active CN110349267B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910492809.3A CN110349267B (en) 2019-06-06 2019-06-06 Method and device for constructing three-dimensional heat model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910492809.3A CN110349267B (en) 2019-06-06 2019-06-06 Method and device for constructing three-dimensional heat model

Publications (2)

Publication Number Publication Date
CN110349267A true CN110349267A (en) 2019-10-18
CN110349267B CN110349267B (en) 2023-03-14

Family

ID=68181622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910492809.3A Active CN110349267B (en) 2019-06-06 2019-06-06 Method and device for constructing three-dimensional heat model

Country Status (1)

Country Link
CN (1) CN110349267B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110942513A (en) * 2019-10-30 2020-03-31 广州海格星航信息科技有限公司 Space filling method and device of three-dimensional grid model
CN111369657A (en) * 2020-03-09 2020-07-03 腾讯科技(深圳)有限公司 Three-dimensional thermodynamic diagram generation method and device, computer equipment and storage medium
WO2023061364A1 (en) * 2021-10-15 2023-04-20 华为技术有限公司 Model establishment method and related apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120290950A1 (en) * 2011-05-12 2012-11-15 Jeffrey A. Rapaport Social-topical adaptive networking (stan) system allowing for group based contextual transaction offers and acceptances and hot topic watchdogging
CN107240146A (en) * 2016-03-24 2017-10-10 华为技术有限公司 The method and apparatus that operational indicator is shown

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120290950A1 (en) * 2011-05-12 2012-11-15 Jeffrey A. Rapaport Social-topical adaptive networking (stan) system allowing for group based contextual transaction offers and acceptances and hot topic watchdogging
CN107240146A (en) * 2016-03-24 2017-10-10 华为技术有限公司 The method and apparatus that operational indicator is shown

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
万燕等: "基于三角网格模型的纹理映射研究", 《计算机应用与软件》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110942513A (en) * 2019-10-30 2020-03-31 广州海格星航信息科技有限公司 Space filling method and device of three-dimensional grid model
CN111369657A (en) * 2020-03-09 2020-07-03 腾讯科技(深圳)有限公司 Three-dimensional thermodynamic diagram generation method and device, computer equipment and storage medium
CN111369657B (en) * 2020-03-09 2022-07-29 腾讯科技(深圳)有限公司 Three-dimensional thermodynamic diagram generation method and device, computer equipment and storage medium
WO2023061364A1 (en) * 2021-10-15 2023-04-20 华为技术有限公司 Model establishment method and related apparatus

Also Published As

Publication number Publication date
CN110349267B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
Ijiri et al. Floral diagrams and inflorescences: interactive flower modeling using botanical structural constraints
CN104463948B (en) Seamless visualization method for three-dimensional virtual reality system and geographic information system
US7181363B2 (en) Three dimensional tangible interface for interacting with spatial-temporal data using a laser scanner
US6034697A (en) Interpolation between relational tables for purposes of animating a data visualization
CN110349267A (en) The construction method and device of three-dimensional temperature model
US6373483B1 (en) Method, system and computer program product for visually approximating scattered data using color to represent values of a categorical variable
CN111369657B (en) Three-dimensional thermodynamic diagram generation method and device, computer equipment and storage medium
EP2929455B1 (en) Efficient lighting effects in design software
CN108305315B (en) Efficient three-dimensional terrain gradual-change coloring method based on WPF
CN113688545B (en) Visualization method and system for finite element post-processing result and data processing terminal
CN110570491B (en) Thermodynamic diagram generation method and device
CN109584366A (en) A kind of terrain rendering method, apparatus, equipment and readable storage medium storing program for executing
CN112184895A (en) Simulation scene modeling and rendering method, device and equipment
CN115495938B (en) Three-dimensional dynamic simulation and visualization method for sea surface waves
CN110163945A (en) A kind of water surface emulation mode in real-time rendering
CN114693856B (en) Object generation method and device, computer equipment and storage medium
CN103366402A (en) Fast attitude synchronization method of three-dimensional virtual clothing
KR20160059452A (en) Partitioning an image
Telea et al. Visualization of generalized voronoi diagrams
CN109816761A (en) Figure conversion method, device, storage medium and electronic equipment
Lock et al. Analysing change through time within a cultural landscape: conceptual and functional limitations of a GIS approach
US6903740B1 (en) Volumetric-based method and system for visualizing datasets
CN107688599B (en) A kind of method of quick-searching threedimensional model
Patel et al. 3DJ: an analytical and generative design system for synthesizing high-performance textures from 3D scans
Limberger et al. Procedural texture patterns for encoding changes in color in 2.5 D treemap visualizations

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201009

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

Effective date of registration: 20201009

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant