CN111127650A - Meteorological dynamic special effect display method and system based on 3D map - Google Patents

Meteorological dynamic special effect display method and system based on 3D map Download PDF

Info

Publication number
CN111127650A
CN111127650A CN201911415711.4A CN201911415711A CN111127650A CN 111127650 A CN111127650 A CN 111127650A CN 201911415711 A CN201911415711 A CN 201911415711A CN 111127650 A CN111127650 A CN 111127650A
Authority
CN
China
Prior art keywords
weather
map
special effect
data
dynamic
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.)
Pending
Application number
CN201911415711.4A
Other languages
Chinese (zh)
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.)
Vtron Group Co Ltd
Original Assignee
Vtron Group Co 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 Vtron Group Co Ltd filed Critical Vtron Group Co Ltd
Priority to CN201911415711.4A priority Critical patent/CN111127650A/en
Publication of CN111127650A publication Critical patent/CN111127650A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/05Geographic models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/587Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/56Particle system, point based geometry or rendering
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Library & Information Science (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The invention relates to a method and a system for displaying weather dynamic special effects based on a 3D map, wherein the method comprises the following steps: acquiring real-time meteorological data of a current area, and judging a meteorological special effect type corresponding to real-time meteorological data of the current area according to the real-time meteorological data; acquiring corresponding particle dynamic effects according to the real-time meteorological data; acquiring a weather map corresponding to the weather special effect type from a database according to the weather special effect type; rendering the weather map and the particle dynamic effect to a corresponding area of a weather 3D map, so that the corresponding area shows a corresponding weather dynamic special effect; when the real-time meteorological data are changed, updating the meteorological dynamic special effect in the meteorological 3D map in real time according to the changed meteorological data; and according to the meteorological data, a meteorological mapping corresponding to the meteorological special effect type is prepared in advance and stored in a database. By acquiring real weather information of the day, a 3D and visual weather special effect is manufactured, so that a user can feel external weather changes more visually.

Description

Meteorological dynamic special effect display method and system based on 3D map
Technical Field
The invention relates to the technical field of map visualization, in particular to a method and a system for displaying a weather dynamic special effect based on a 3D map.
Background
With the development of scientific technology and the change of life style of people, software such as an electronic map and vehicle navigation is widely applied in daily life, the software such as the electronic map and vehicle navigation not only can provide navigation and query services for users, but also can display weather information on a map interface, namely the display area of the map interface comprises a map display area and a weather display area, the software such as the electronic map and vehicle navigation displays real weather information in a static display mode of character description and combination of weather icons, and the display mode lacks sensory connection with the real world and cannot give people visual perception.
Disclosure of Invention
The invention aims to solve at least one defect (deficiency) in the prior art, and provides a method and a system for displaying a weather dynamic special effect based on a 3D map.
The technical scheme adopted by the invention is as follows:
on one hand, the method for displaying the weather dynamic special effect based on the 3D map comprises the following steps:
acquiring real-time meteorological data of a current area, and judging a meteorological special effect type corresponding to real-time meteorological data of the current area according to the real-time meteorological data;
acquiring corresponding particle dynamic effects according to the real-time meteorological data;
acquiring a weather map corresponding to the weather special effect type from a database according to the weather special effect type;
rendering the weather map and the particle dynamic effect to the current area in a weather 3D map, so that the current area shows a corresponding weather dynamic special effect;
when the real-time meteorological data are changed, updating the meteorological dynamic special effect in the meteorological 3D map in real time according to the changed meteorological data;
and the weather map corresponding to the weather special effect type is pre-made according to weather data and stored in a database.
The method comprises the steps of judging a weather special effect type corresponding to real-time weather data of a current area by acquiring the real-time weather data of the current area, then acquiring a weather map corresponding to the weather special effect type from a database and acquiring a corresponding particle dynamic effect according to the real-time weather data, and rendering the weather map and the particle dynamic effect to the current area in a weather 3D map, so that the corresponding weather information is presented in the current area in the weather 3D map in a dynamic special effect manner, visual perception is given to people, and the visual effect is greatly improved; in addition, the invention updates the weather data in real time according to the change of the weather in the real world, and updates the weather dynamic special effect in the weather 3D map in real time according to the updated weather data, thereby visualizing and visualizing the change of the weather in the real world and the abstract environment change information, and leading people to intuitively feel the change of the weather indoors.
In another aspect, a weather dynamic special effect display system based on a 3D map is provided, which includes:
the meteorological data acquisition module is used for acquiring real-time meteorological data of the current area and updating the real-time meteorological data;
the weather special effect type determining module is used for judging the weather special effect type corresponding to the real-time weather of the current area according to the real-time weather data and updating the corresponding weather special effect type according to the updated real-time weather data;
the data extraction module is used for acquiring a weather map corresponding to the weather special effect type from a database according to the weather special effect type, acquiring a corresponding particle dynamic effect according to the real-time weather data, updating the corresponding weather map according to the updated weather special effect type and updating the corresponding particle dynamic effect according to the updated weather data;
the rendering module is used for rendering the weather map and the particle dynamic effect to the current area in the weather 3D map, so that the current area shows the corresponding weather dynamic special effect and is used for updating the corresponding weather dynamic special effect according to the updated weather map and the updated particle dynamic effect;
and the database is used for storing the weather map, the weather data and the particle dynamic effect corresponding to the weather special effect type.
The real-time meteorological data of the current region and the meteorological special effect type determining module are obtained through the meteorological data obtaining module, the meteorological special effect type corresponding to the real-time meteorology of the current region is judged according to the real-time meteorological data, then the data extracting module obtains a meteorological map corresponding to the meteorological special effect type from a database and obtains a corresponding particle dynamic effect according to the real-time meteorological data, and the meteorological map and the particle dynamic effect are rendered to the current region in a meteorological 3D map through the rendering module, so that the corresponding meteorological information is presented in the region corresponding to the meteorological 3D map in a dynamic special effect mode, visual perception is brought to people, and the visual effect is greatly improved; in addition, according to the change of weather in the real world, the weather data acquisition module also updates weather data in real time, and the rendering module updates the weather dynamic special effect in the weather 3D map in real time according to the updated weather data, so that the weather change and the abstract environment change information in the real world are visualized and visualized, and people can also intuitively feel the weather change indoors.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, the weather information is presented on the 3D map in a weather dynamic special effect manner, so that a user can intuitively feel the current weather information, and the visual effect is greatly improved; in addition, the invention updates the meteorological data in real time by displaying the change of the meteorological phenomena in the world.
The weather dynamic special effect in the weather 3D map is updated in real time according to the updated weather data, so that the weather change and abstract environment change information in the real world are visualized, and people can intuitively feel the weather change indoors.
Drawings
Fig. 1 is a flowchart of a method for displaying weather dynamic special effects based on a 3D map according to an embodiment of the present invention.
Fig. 2 is an overall schematic diagram of a weather dynamic special effect display method based on a 3D map according to an embodiment of the present invention.
Fig. 3 is a block diagram of a weather dynamic special effect display system based on a 3D map according to an embodiment of the present invention.
Detailed Description
The drawings are only for purposes of illustration and are not to be construed as limiting the invention. For a better understanding of the following embodiments, certain features of the drawings may be omitted, enlarged or reduced, and do not represent the size of an actual product; it will be understood by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
Example 1
The method can be particularly applied to geographic space information visualization scenes, such as the fields of navigation software and the like which need to use a 3D map, and is particularly shown in fig. 1, which is a schematic diagram of the method for displaying the weather dynamic special effect based on the 3D map in the embodiment, and includes the following steps:
s1, acquiring real-time meteorological data of the current area, and judging a meteorological special effect type corresponding to the real-time meteorological data of the current area according to the real-time meteorological data;
s2, acquiring corresponding particle dynamic effect according to the real-time meteorological data;
s3, acquiring a weather map corresponding to the weather special effect type from a database according to the weather special effect type; s4, rendering the weather map and the particle dynamic effect to the current area in a weather 3D map, and enabling the current area to show a corresponding weather dynamic special effect;
s5, when the real-time meteorological data change, real-time updating the meteorological dynamic special effect in the meteorological 3D map according to the changed meteorological data;
and the weather map corresponding to the weather special effect type is pre-made according to weather data and stored in a database.
In the specific implementation process of this embodiment, as shown in fig. 2, first, a data request manner, such as post or get of an internet http protocol, is adopted through a weather website data interface provided by a weather department in a current area to obtain real-time weather data of the current area, where the current area is a current positioning area of a user or a space area focused on by a weather 3D map;
judging a weather special effect type corresponding to the real-time weather of the current space area according to the acquired real-time weather data, wherein the weather special effect type is classified in advance according to weather information and specifically comprises the following steps: a rain special effect, a snow special effect, a sunny special effect, a haze special effect and the like; acquiring a weather map corresponding to the weather special effect type from a database according to the weather special effect type and acquiring a corresponding particle dynamic effect according to real-time weather data, wherein the corresponding weather map can be preset according to the weather special effect type and stored in the database, and the weather map specifically comprises a raindrop map, a snowflake map, a haze map, a plurality of reflected light maps and the like; rendering the acquired corresponding weather map and the acquired particle dynamic effect to a space area corresponding to the weather 3D map, so that the corresponding space area shows the corresponding weather dynamic special effect.
Specifically, if the real-time weather data of the current space area is rainy, the weather special effect type corresponding to the real-time weather of the current area is a rain special effect, a pre-made raindrop map and raindrop particle dynamic effect corresponding to the rain special effect and a black 3D cloud dynamic effect are extracted from a database, the raindrop map and raindrop particle dynamic effect are rendered to the current space area in the weather 3D map, and the black cloud dynamic effect is rendered in the sky of the current area, so that the current area presents a dynamic rain effect; moreover, the size and falling speed of the raindrops can also adjust the rendering effect to be different according to different rainstorms, for example, when the real-time weather data is rainstorm, the raindrops are larger and the falling speed is faster.
If the real-time meteorological data of the current area is snowing, the meteorological special effect type corresponding to the real-time meteorological data of the current area is a snowing special effect, a snowflake map, a snowflake particle dynamic effect and a gray black 3D cloud dynamic effect corresponding to the snowing special effect which are prepared in advance are extracted from a database, the snowflake map and the snowflake particle dynamic effect are rendered into the current area in the meteorological 3D area, the gray black 3D cloud dynamic effect is rendered into the sky of the current area, and the current area is enabled to present a dynamic snowing effect.
If the real-time meteorological data of the current area is haze, the meteorological special effect type corresponding to the real-time meteorological data of the current area is a haze special effect, a haze map and a haze particle dynamic effect which correspond to the pre-manufactured haze special effect and a gray-black 3D cloud dynamic effect are extracted from a database, the haze map and the haze particle dynamic effect are rendered in the meteorological 3D area, the gray-black 3D cloud dynamic effect is rendered in the sky of the current area, and the current area is enabled to present the haze flowing effect.
If the real-time weather data of the current area is sunny, the weather special effect type corresponding to the real-time weather of the current area is a sunny special effect, a plurality of reflection illumination maps and white 3D cloud moving effects corresponding to the pre-made sunny special effect are extracted from a database, the plurality of reflection illumination maps and the cloud moving effects are rendered in the current area of the weather 3D map, the white 3D cloud moving effects are rendered in the sky of the current area, and the current area presents a blue sky effect and a white cloud floating effect formed by the plurality of illumination maps; in addition, when the real-time weather data changes, the weather dynamic special effect in the weather 3D map is updated in real time according to the changed weather data, and specifically, when the real-time weather data changes from sunny to rainy, the weather 3D map changes from sunny to rainy.
The method comprises the steps of judging a weather special effect type corresponding to real-time weather data of a current area by acquiring the real-time weather data of the current area, then acquiring a weather map corresponding to the weather special effect type from a database and acquiring a corresponding particle dynamic effect according to the real-time weather data, and rendering the weather map and the particle dynamic effect to the current area in a weather 3D map, so that the corresponding weather information is presented in the current area in the weather 3D map in a dynamic special effect manner, visual perception is given to people, and the visual effect is greatly improved; in addition, the invention updates the weather data in real time according to the change of the weather in the real world, and updates the weather dynamic special effect in the weather 3D map in real time according to the updated weather data, thereby visualizing and visualizing the change of the weather in the real world and the abstract environment change information, and leading people to intuitively feel the change of the weather indoors.
In the present embodiment, as shown in fig. 2, the weather 3D map is created by: acquiring geographic information data, preprocessing the geographic information data, and taking the preprocessed data as a basic data source of the three-dimensional map;
and establishing a meteorological 3D map on the map platform according to the basic data source.
Specifically, geographic information data such as GIS map coordinate data, a two-dimensional map, elevation information and the like are obtained, one or more data preprocessing operations such as projection conversion, format conversion, data cleaning, data editing and the like are carried out on the geographic information data, and the preprocessed data are used as basic data sources of the three-dimensional map. In the specific implementation process, open source technologies such as ceium and js can be adopted to build a map platform, and a weather 3D map is built on the map platform according to a basic data source and combined weather data.
The map platform is built by adopting open-source free ceseium.
In this embodiment, the obtaining of the corresponding particle dynamic effect according to the real-time meteorological data specifically includes:
and different particle dynamic effects are packaged in the particle dynamic effect model, and the real-time meteorological data are input into the particle dynamic effect model to obtain the particle dynamic effect matched with the real-time meteorological data.
In a specific implementation process, different particle dynamic effects are encapsulated in the particle dynamic effect model, and the particle dynamic effects may specifically include: the method comprises the following steps that rain drop particle dynamic effect, haze particle dynamic effect, snowflake particle dynamic effect and the like, when acquired real-time meteorological data are input into a particle dynamic effect model, particle dynamic effect matched with the real-time meteorological data can be acquired, the particle dynamic effect model is stored in a database, and in addition, different cloud dynamic effects are also packaged in the particle dynamic effect model; specifically, if the acquired real-time meteorological data is rainy, the rainy real-time meteorological data is input into the particle dynamic effect model, and the particle dynamic effect model can automatically acquire raindrop particle dynamic effect according to the input rainy real-time meteorological data; if the obtained real-time meteorological data is snowing, inputting the snowing real-time meteorological data into the particle dynamic effect model, and automatically obtaining the snowing particle dynamic effect by the particle dynamic effect model according to the input snowing real-time meteorological data; if the acquired real-time meteorological data are in a fine day, inputting the real-time meteorological data in the fine day into the particle dynamic effect model, and automatically acquiring the dynamic effect of the white cloud by the particle dynamic effect model according to the input real-time meteorological data in the fine day; if the real-time meteorological data who obtains is the haze, move the effect model with the real-time meteorological data input particle of this haze, the particle moves the effect model and can be automatic obtains the haze particle according to the real-time meteorological data of the haze of input and moves the effect.
In this embodiment, as shown in fig. 2, the method further includes: separating the graphic rendering from the map platform and packaging the graphic rendering into an independent 3D rendering engine;
and rendering the weather map and the particle dynamic effect to the current area in the weather 3D map by utilizing a 3D rendering engine, so that the current area shows a corresponding weather dynamic special effect.
Specifically, if a map platform is built by adopting a ceium.js technology, graphic rendering is separated from the ceium.js and packaged into an independent 3D rendering engine, and the weather map and the particle dynamic effect are rendered to the current area of the weather 3D map by using the 3D rendering engine, so that the current area shows a corresponding weather dynamic special effect.
Js is separated from the graphics rendering, and the graphics rendering is packaged into an independent 3D rendering engine, so that the efficient rendering of the 3D map is realized, the tidiness of codes is kept, the rendering efficiency is improved, and the method is favorable for expanding more weather special effect types and maintaining weather dynamic special effects.
In this embodiment, the method further includes: :
determining an ambient light effect in the meteorological 3D map according to the meteorological special effect type;
rendering the weather map and the particle dynamic effect to the current area in a weather 3D map, so that the current area shows a corresponding weather dynamic special effect further comprises:
rendering and/or adjusting the ambient light effect of the weather 3D map.
The ambient light effects comprise sky ambient light effects and/or ground ambient light effects and/or atmospheric ambient light effects, and corresponding ambient light effect data can be preset according to weather special effect types and can be stored in the ambient light effect storage database.
In the specific implementation process, after the weather dynamic special effect corresponding to the weather type of the current area is judged according to the real-time weather data, the ambient light effect in the weather 3D map is determined according to the corresponding weather dynamic special effect, and the ambient light effect is rendered or the ambient light of the weather 3D map is adjusted; specifically, if the weather special effect type corresponding to the real-time weather of the current area is a rain special effect, a sky environment light effect, a ground environment light effect and an atmospheric environment light effect are rendered to the area corresponding to the weather 3D map, for example, the illumination brightness reflected by sky light is dimmed, and the water texture reflected by illumination is attached to the ground; if the weather special effect type corresponding to the real-time weather of the current area is a snowing special effect, rendering a sky environment light effect and an atmospheric environment light effect to an area corresponding to a weather 3D map, such as dimming the illumination brightness reflected by sky light and arranging a gray-black 3D dynamic cloud in the sky; if the weather special effect type corresponding to the real-time weather of the current area is a haze special effect, rendering the sky environment light effect and the atmospheric environment light effect to the area corresponding to the weather 3D map, and if the illumination brightness reflected by sky light is dimmed; and if the weather special effect type corresponding to the real-time weather of the current area is a clear weather special effect, rendering the sky environment light effect and the atmospheric environment light effect to the area corresponding to the weather 3D map, such as reflecting bright and warm illumination to sky light.
The ambient light effect in the meteorological 3D map is determined according to the meteorological special effect type, so that the meteorological 3D map can more vividly present different meteorological scenes.
Example 2
In this embodiment, a weather dynamic special effect display system based on a 3D map is provided, and the system may be specifically applied to a geographic information visualization scene, for example, in a field that requires a 3D map, such as navigation software, and specifically as shown in fig. 3, the system includes:
the meteorological data acquisition module is used for acquiring real-time meteorological data of the current area and updating the real-time meteorological data;
the weather special effect type determining module is used for judging the weather special effect type corresponding to the real-time weather of the current area according to the real-time weather data and updating the corresponding weather special effect type according to the updated real-time weather data;
the data extraction module is used for acquiring a weather map corresponding to the weather special effect type from a database according to the weather special effect type, acquiring a corresponding particle dynamic effect according to the real-time weather data, and updating the corresponding weather map according to the updated weather special effect type and the updated weather data to update the corresponding particle dynamic effect; the rendering module is used for rendering the weather map and the particle dynamic effect to the current area in the weather 3D map, so that the current area shows the corresponding weather dynamic special effect and is used for updating the corresponding weather dynamic special effect according to the updated weather map and the updated particle dynamic effect;
and the database is used for storing the weather map, the weather data and the particle dynamic effect corresponding to the weather special effect type.
In a specific implementation process, a weather data acquisition module firstly acquires real-time weather data of a current area through a weather website data interface provided by a weather department in the current area, for example, a data request mode such as post or get of an internet http protocol is adopted, and the current area is a current positioning area of a user or a space area concerned by a weather 3D map;
the weather special effect type module judges a weather special effect type corresponding to the real-time weather of the current area according to the acquired real-time weather data, wherein the weather special effect type is classified in advance according to weather information and specifically comprises the following steps: a rain special effect, a snow special effect, a sunny special effect, a haze special effect and the like; the data extraction module acquires a weather map corresponding to the weather special effect type from a database according to the weather special effect type and acquires a corresponding particle dynamic effect according to the real-time weather data, the corresponding weather map can be preset according to the weather special effect type and stored in the database, the weather map can specifically comprise a raindrop map, a snowflake map, a haze map, a plurality of reflection illumination maps and the like, the particle dynamic effect can also be pre-manufactured according to the real-time weather data and packaged in a particle dynamic effect model, the particle dynamic effect model is stored in the database and is convenient to call, and the particle dynamic effect model can acquire the particle dynamic effect of a 3D (three-dimensional) dynamic effect matched with the weather data according to the input real-time weather data so as to display the weather dynamic special effect in the 3D map.
And the rendering module renders the acquired corresponding weather map and the acquired particle dynamic effect to the area corresponding to the weather 3D map, so that the corresponding area shows the corresponding weather dynamic special effect.
Specifically, if the real-time meteorological data of the current region is rainy, the meteorological special effect type corresponding to the real-time meteorological data of the current region is a rainy special effect, the data extraction module extracts a pre-manufactured raindrop map and raindrop particle dynamic effect corresponding to the rainy special effect and a black 3D cloud dynamic effect from a database, the rendering module renders the raindrop map and raindrop particle dynamic effect to the current region of the meteorological 3D region, and renders the black cloud dynamic effect to the sky of the current region, so that the current region presents a dynamic rainy effect; moreover, the size and falling speed of the raindrops can also adjust the rendering effect to be different according to different rainstorms, for example, when the real-time weather data is rainstorm, the raindrops are larger and the falling speed is faster.
If the real-time meteorological data of the current area is snowing, the meteorological special effect type corresponding to the real-time meteorological data of the current area is a snowing special effect, the data extraction module extracts a snowflake mapping, snowflake particle dynamic effect and gray black 3D cloud dynamic effect corresponding to the snowing special effect which are manufactured in advance from the database, the rendering module renders the snowflake mapping and the snowflake particle dynamic effect to the current space area of the meteorological 3D map, and renders the gray black 3D cloud dynamic effect to the sky of the current space area, so that the current space area presents a dynamic snowing effect.
If the real-time meteorological data of the current area is haze, the meteorological special effect type corresponding to the real-time meteorological data of the current area is a haze special effect, the data extraction module extracts a pre-made haze map and haze particle dynamic effect corresponding to the haze special effect and a gray-black 3D cloud dynamic effect from the database, the rendering module renders the haze map and the haze particle dynamic effect to the meteorological 3D area, and renders the gray-black 3D cloud dynamic effect to the sky of the current area, so that the current area presents a haze flowing effect.
If the real-time weather data of the current area is sunny, the weather special effect type sunny special effect corresponding to the real-time weather of the current area is sunny, the data extraction module extracts a plurality of reflection illumination maps and white 3D cloud moving effects corresponding to the pre-made sunny special effect from the database, the rendering module renders the plurality of reflection illumination maps to the current space area of the weather 3D map, renders the white 3D cloud moving effects to the sky of the current area, and the current area presents a blue sky effect and a white cloud moving effect formed by the corresponding reflection illumination maps.
In addition, when the real-time meteorological data changes, the meteorological data acquisition also updates the real-time meteorological data, the rendering module updates the meteorological dynamic special effect in the meteorological 3D map in real time according to the changed meteorological data, and specifically, when the real-time meteorological data changes from sunny to rainy, the meteorological 3D map changes from sunny to rainy.
The real-time meteorological data of the current area are obtained through a meteorological data obtaining module, the meteorological special effect type corresponding to the real-time meteorology of the current area is judged according to the real-time meteorological data, then a data extracting module obtains a meteorological map corresponding to the meteorological special effect type from a database and obtains a corresponding particle dynamic effect according to the real-time meteorological data, and a rendering module renders the meteorological map and the particle dynamic effect to the current area in a meteorological 3D map, so that the corresponding meteorological information is presented in the current area in the meteorological 3D map in a dynamic special effect mode, visual perception is brought to people, and the visual effect is greatly improved; in addition, according to the change of weather in the real world, the weather data acquisition module also updates weather data in real time, and the rendering module updates the weather dynamic special effect in the weather 3D map in real time according to the updated weather data, so that the weather change and the abstract environment change information in the real world are visualized and visualized, and people can also intuitively feel the weather change indoors.
In this implementation, the system further comprises:
the geographic data processing module is used for acquiring geographic information data, preprocessing the geographic information data and taking the preprocessed data as a basic data source of the three-dimensional map;
and the map building module is used for building a meteorological 3D map on the map platform according to the basic data source.
Specifically, the geographic data processing module acquires geographic information data such as GIS map coordinate data, a two-dimensional map, elevation information and the like, performs one or more data preprocessing operations such as projection conversion, format conversion, data cleaning, data editing and the like on the geographic information data, and takes the preprocessed data as a basic data source of the three-dimensional map. In the specific implementation process, a map building module can build a map platform by adopting a cecum.
The map platform is built by adopting open-source free ceseium.
In this embodiment, the system further includes a rendering engine encapsulation module, configured to separate the graphics rendering from the map platform and encapsulate the graphics rendering as an independent 3D rendering engine;
the rendering module is specifically configured to render the weather map and the particle dynamic effect to the current area in the weather 3D map by using a 3D rendering engine, so that the current area shows a corresponding weather dynamic special effect.
Specifically, the rendering engine packaging module separates the graphics rendering from the ceium. js and packages the graphics rendering into an independent 3D rendering engine, and the rendering module renders the weather map and the particle dynamic effect to the current area in the weather 3D map by using the 3D rendering engine, so that the current area shows the corresponding weather dynamic special effect.
Js is separated from the graphics rendering, and the graphics rendering is packaged into an independent 3D rendering engine, so that the efficient rendering of the 3D map is realized, the tidiness of codes is kept, the rendering efficiency is improved, and the method is favorable for expanding more weather special effect types and maintaining weather dynamic special effects.
In this embodiment, the data extraction module is further configured to determine an ambient light effect in the weather 3D map according to the weather special effect type;
the rendering module is further used for rendering the ambient light effect and/or adjusting the ambient light of the weather 3D map.
In a specific implementation process, the ambient light effect comprises a sky ambient light effect and/or a ground ambient light effect and/or an atmospheric ambient light effect, and corresponding ambient light effect data can be preset according to a weather special effect type and stored in a database; when the weather special effect type determining module judges the weather dynamic special effect corresponding to the weather type of the current area according to the real-time weather data, the data extracting module determines the ambient light effect in the weather 3D map according to the corresponding weather dynamic special effect and renders the ambient light effect or adjusts the ambient light of the weather 3D map; specifically, if the weather special effect type corresponding to the real-time weather of the current area is a rain special effect, a sky environment light effect, a ground environment light effect and an atmospheric environment light effect are rendered to the area corresponding to the weather 3D map, for example, the illumination brightness reflected by sky light is dimmed, and the water texture reflected by illumination is attached to the ground; if the weather special effect type corresponding to the real-time weather of the current area is the snowing special effect, rendering the sky environment light effect and the atmospheric environment light effect to the area corresponding to the weather 3D map, such as dimming the illumination brightness reflected by sky light; if the weather special effect type corresponding to the real-time weather of the current area is a haze special effect, rendering the sky environment light effect and the atmospheric environment light effect to the area corresponding to the weather 3D map, and if the illumination brightness reflected by sky light is dimmed; if the weather special effect type corresponding to the real-time weather of the current area is a clear weather special effect, the sky environment light effect and the atmospheric environment light effect are rendered to the area corresponding to the weather 3D map, and for example, bright and warm illumination is reflected to sky light and a white 3D dynamic cloud is matched in the sky.
The ambient light effect in the meteorological 3D map is determined according to the meteorological special effect type, so that the meteorological 3D map can more vividly present different meteorological scenes.
It should be understood that the above-mentioned embodiments of the present invention are only examples for clearly illustrating the technical solutions of the present invention, and are not intended to limit the specific embodiments of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention claims should be included in the protection scope of the present invention claims.

Claims (10)

1. A weather dynamic special effect display method based on a 3D map is characterized by comprising the following steps:
acquiring real-time meteorological data of a current area, and judging a meteorological special effect type corresponding to real-time meteorological data of the current area according to the real-time meteorological data;
acquiring corresponding particle dynamic effects according to the real-time meteorological data;
acquiring a weather map corresponding to the weather special effect type from a database according to the weather special effect type;
rendering the weather map and the particle dynamic effect to the current area in a weather 3D map, so that the current area shows a corresponding weather dynamic special effect;
when the real-time meteorological data are changed, updating the meteorological dynamic special effect in the meteorological 3D map in real time according to the changed meteorological data;
and the weather map corresponding to the weather special effect type is pre-made according to weather data and stored in a database.
2. The method for displaying the weather dynamic special effect based on the 3D map as claimed in claim 1, wherein the weather 3D map is created by:
acquiring geographic information data, preprocessing the geographic information data, and taking the preprocessed data as a basic data source of the three-dimensional map;
and establishing a meteorological 3D map on the map platform according to the basic data source.
3. The method for displaying the weather dynamic special effect based on the 3D map as claimed in claim 1, wherein the obtaining of the corresponding particle dynamic effect according to the real-time weather data specifically includes:
and different particle dynamic effects are packaged in the particle dynamic effect model, and the real-time meteorological data are input into the particle dynamic effect model to obtain the particle dynamic effect matched with the real-time meteorological data.
4. The method for displaying the weather dynamic special effect based on the 3D map as claimed in claim 2, wherein the method further comprises: separating the graphic rendering from the map platform and packaging the graphic rendering into an independent 3D rendering engine;
and rendering the weather map and the particle dynamic effect to the current area in the weather 3D map by utilizing a 3D rendering engine, so that the current area shows a corresponding weather dynamic special effect.
5. The method for displaying the weather dynamic special effect based on the 3D map as claimed in claim 1, further comprising:
determining an ambient light effect in the meteorological 3D map according to the meteorological special effect type;
rendering the weather map and the particle dynamic effect to the current area in a weather 3D map, so that the current area shows a corresponding weather dynamic special effect further comprises:
rendering and/or adjusting the ambient light effect of the weather 3D map.
6. The method for displaying the weather dynamic special effect based on the 3D map as claimed in claim 1, wherein the database further stores the ambient light effect corresponding to different weather special effect types.
7. The method for displaying the weather dynamic special effect based on the 3D map, according to claim 5, wherein the ambient light effect includes a sky ambient light effect and/or a ground ambient light effect and/or an atmospheric ambient light effect.
8. A weather dynamic special effect display system based on a 3D map is characterized by comprising:
the meteorological data acquisition module is used for acquiring real-time meteorological data of the current area and updating the real-time meteorological data;
the weather special effect type determining module is used for judging the weather special effect type corresponding to the real-time weather of the current area according to the real-time weather data and updating the corresponding weather special effect type according to the updated real-time weather data;
the data extraction module is used for acquiring a weather map corresponding to the weather special effect type from a database according to the weather special effect type, acquiring a corresponding particle dynamic effect according to the real-time weather data, updating the corresponding weather map according to the updated weather special effect type and updating the corresponding particle dynamic effect according to the updated weather data;
the rendering module is used for rendering the weather map and the particle dynamic effect to the current area in the weather 3D map, so that the current area shows the corresponding weather dynamic special effect and is used for updating the corresponding weather dynamic special effect according to the updated weather map and the updated particle dynamic effect;
and the database is used for storing the weather map, the weather data and the particle dynamic effect corresponding to the weather special effect type.
9. The weather dynamic special effects display system based on the 3D map as claimed in claim 8, wherein the system further comprises:
the geographic data processing module is used for acquiring geographic information data, preprocessing the geographic information data and taking the preprocessed data as a basic data source of the three-dimensional map;
and the map building module is used for building a meteorological 3D map on the map platform according to the basic data source.
10. The weather dynamic special effects display system based on the 3D map as claimed in claim 9, wherein the system further comprises a rendering engine packaging module for separating the graphics rendering from the map platform and packaging into a separate 3D rendering engine;
the rendering module is specifically used for rendering the weather map and the particle dynamic effect to a corresponding area of the weather 3D map by using a 3D rendering engine, so that the corresponding area shows a corresponding weather dynamic special effect.
CN201911415711.4A 2019-12-31 2019-12-31 Meteorological dynamic special effect display method and system based on 3D map Pending CN111127650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911415711.4A CN111127650A (en) 2019-12-31 2019-12-31 Meteorological dynamic special effect display method and system based on 3D map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911415711.4A CN111127650A (en) 2019-12-31 2019-12-31 Meteorological dynamic special effect display method and system based on 3D map

Publications (1)

Publication Number Publication Date
CN111127650A true CN111127650A (en) 2020-05-08

Family

ID=70506725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911415711.4A Pending CN111127650A (en) 2019-12-31 2019-12-31 Meteorological dynamic special effect display method and system based on 3D map

Country Status (1)

Country Link
CN (1) CN111127650A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112529991A (en) * 2020-12-09 2021-03-19 威创集团股份有限公司 Data visualization display method, system and storage medium
CN113230651A (en) * 2021-04-20 2021-08-10 网易(杭州)网络有限公司 Game scene display method and device, electronic equipment and storage medium
CN114528307A (en) * 2022-02-25 2022-05-24 亿咖通(湖北)技术有限公司 Information processing method, device, equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212472A1 (en) * 2002-05-10 2003-11-13 Royal Appliance Mfg. Co. Autonomous multi-platform robot system
CN102682472A (en) * 2012-05-07 2012-09-19 电子科技大学 Particle effect visual synthesis system and method
CN103514626A (en) * 2012-06-20 2014-01-15 厦门高德软件有限公司 Method and device for displaying weather information and mobile terminal
CN105185222A (en) * 2015-09-24 2015-12-23 百度在线网络技术(北京)有限公司 Method and apparatus for rendering and showing maps

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030212472A1 (en) * 2002-05-10 2003-11-13 Royal Appliance Mfg. Co. Autonomous multi-platform robot system
CN102682472A (en) * 2012-05-07 2012-09-19 电子科技大学 Particle effect visual synthesis system and method
CN103514626A (en) * 2012-06-20 2014-01-15 厦门高德软件有限公司 Method and device for displaying weather information and mobile terminal
CN105185222A (en) * 2015-09-24 2015-12-23 百度在线网络技术(北京)有限公司 Method and apparatus for rendering and showing maps

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112529991A (en) * 2020-12-09 2021-03-19 威创集团股份有限公司 Data visualization display method, system and storage medium
CN112529991B (en) * 2020-12-09 2024-02-06 威创集团股份有限公司 A data visualization display method, system and storage medium
CN113230651A (en) * 2021-04-20 2021-08-10 网易(杭州)网络有限公司 Game scene display method and device, electronic equipment and storage medium
CN113230651B (en) * 2021-04-20 2024-02-02 网易(杭州)网络有限公司 Game scene display method and device, electronic equipment and storage medium
CN114528307A (en) * 2022-02-25 2022-05-24 亿咖通(湖北)技术有限公司 Information processing method, device, equipment and readable storage medium
CN114528307B (en) * 2022-02-25 2025-05-30 亿咖通(湖北)技术有限公司 Information processing method, device, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN103514626B (en) A kind of show Weather information method and device and mobile terminal
EP2973419B1 (en) Time and environment aware graphical displays for driver information and driver assistance systems
CN111127650A (en) Meteorological dynamic special effect display method and system based on 3D map
US10535180B2 (en) Method and system for efficient rendering of cloud weather effect graphics in three-dimensional maps
US9767610B2 (en) Image processing device, image processing method, and terminal device for distorting an acquired image
EP2369565B1 (en) Method for re-using photorealistic 3d landmarks for nonphotorealistic 3d maps
US9367954B2 (en) Illumination information icon for enriching navigable panoramic street view maps
US7043368B1 (en) Method and system for creating visualizations of future weather conditions
CN112598993B (en) City map platform visualization method and device based on CIM and related products
CN106650723A (en) Method for determining the pose of a camera and for recognizing an object of a real environment
CN114972599B (en) A method for virtualizing a scene
JP2013196616A (en) Information terminal device and information processing method
CN114047992A (en) Weather data display method, device, electronic device and storage medium
CN111161393B (en) Real-time light effect dynamic display method and system based on 3D map
KR20230062589A (en) Creating state awareness around panoramic imagery
CN116012557A (en) Weather natural scene data docking system and docking method based on three-dimensional system
JP2024515552A (en) Digital map animation with real-world traffic lights
CN113987902A (en) Weather scene simulation method and device, electronic equipment and storage medium
US12044543B2 (en) Dynamic StreetView with view images enhancement
CN116483497B (en) Vehicle wallpaper generation method and device and automobile
Smith et al. Digital archaeology field recording in the 4th dimension: ArchField C++ a 4D GIS for digital field work
CN115526969A (en) Method and device for information prompt, electronic equipment and storage medium
CN114998502A (en) Method and device for rendering freezing effect model and electronic equipment
CN115439617A (en) Map display method, terminal and computer storage medium
EP4542499A1 (en) Displaying a globe with a cloud positioned according to an acquired altitude

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508