CN113569157A - Radar scanning effect simulation method and system, terminal equipment and storage medium - Google Patents

Radar scanning effect simulation method and system, terminal equipment and storage medium Download PDF

Info

Publication number
CN113569157A
CN113569157A CN202110712942.2A CN202110712942A CN113569157A CN 113569157 A CN113569157 A CN 113569157A CN 202110712942 A CN202110712942 A CN 202110712942A CN 113569157 A CN113569157 A CN 113569157A
Authority
CN
China
Prior art keywords
particles
scanning effect
particle
radar scanning
radar
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
CN202110712942.2A
Other languages
Chinese (zh)
Other versions
CN113569157B (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.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies 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 Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202110712942.2A priority Critical patent/CN113569157B/en
Publication of CN113569157A publication Critical patent/CN113569157A/en
Application granted granted Critical
Publication of CN113569157B publication Critical patent/CN113569157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • 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

Abstract

The invention discloses a radar scanning effect simulation method, a system, terminal equipment and a storage medium, wherein the method comprises the following steps: acquiring a parameter attribute corresponding to a target scanning effect, and determining the number of particles for simulating the scanning effect according to the parameter attribute; acquiring the coordinate position of each particle according to the number of the particles; and controlling the particles to present a radar scanning effect through a shader program according to the coordinate position of each particle. The method is beneficial to realizing the visualization of the radar scanning effect, and can vividly display the reminding state of dynamic visual inquiry in the regional inquiry service of the smart city.

Description

Radar scanning effect simulation method and system, terminal equipment and storage medium
Technical Field
The invention relates to the technical field of symbol display, in particular to a radar scanning effect simulation method, a radar scanning effect simulation system, terminal equipment and a storage medium.
Background
In the webgis system of the smart city business, the effect of some common military symbols is simulated based on geographic coordinates, for example, the visualization of radar scanning effect is needed. However, in the prior art, a dynamic visual query prompting state cannot be vividly displayed in the regional query service, and the user cannot be sufficiently, obviously and intuitively fed back.
Thus, there is a need for improvements and enhancements in the art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, a system, a terminal device and a storage medium for simulating radar scanning effect, aiming at solving the problem that in the prior art, a dynamic visual query prompting state cannot be vividly displayed in a regional query service, and a user cannot be sufficiently and intuitively fed back.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method for simulating radar scanning effect, wherein the method includes:
acquiring a parameter attribute corresponding to a target scanning effect, and determining the number of particles for simulating the scanning effect according to the parameter attribute;
acquiring the coordinate position of each particle according to the number of the particles;
and controlling the particles to present a radar scanning effect through a shader program according to the coordinate position of each particle.
In an implementation manner, the obtaining a parameter attribute corresponding to a target scanning effect and determining a number of particles for simulating a scanning effect according to the parameter attribute includes:
obtaining a parameter attribute corresponding to the target scanning, wherein the parameter attribute comprises: the center position of the radar scanning effect, the color of the radar scanning effect, the scanning radius of the radar scanning effect, the included angle of a sector of the radar scanning effect, the thickness of the radar scanning effect and the movement speed of the radar scanning effect;
and determining the circle formed by the particles and the number of the particles according to the parameter attribute.
In one implementation, the determining a circle made of particles and a number of particles according to the parameter attribute includes:
by classical mathematical circle algorithms, the total number of particles that make up the circle is determined and the position of each particle is calculated in the shader program on a particle-by-particle basis.
In one implementation, the obtaining the coordinate position of each particle according to the number of the particles includes:
the coordinates of the entire circle formed by the particles are calculated from the center position (center) of the radar scanning effect and the scanning radius of the radar scanning effect.
In one implementation, the controlling, by the shader program, the particles to present the radar scan effect according to the coordinate position of each particle includes:
inputting a time parameter into the shader;
and controlling the particles to have a radar scanning effect according to the time parameters.
In one implementation, the controlling the particles to exhibit the radar scanning effect according to the time parameter includes:
acquiring a particle serial number, and comparing the particle serial number with the time parameter and a sector included angle corresponding to a target scanning effect;
and if the particle serial number is smaller than the sum of the time parameter and the sector included angle corresponding to the target scanning effect, and the particle serial number is larger than the time parameter, controlling the particles corresponding to the particle serial number to be visible so that the particles can present the radar scanning effect.
In one implementation, the controlling the particles to exhibit the radar scanning effect according to the time parameter includes:
dividing the particles into n sections from the center of a circle to the maximum radius according to a preset number, wherein the distance of each section is the radius of a new circle;
n circles are generated according to the same circle center and move together, and a fan-shaped area is formed and moves forwards.
In a second aspect, an embodiment of the present invention further provides a radar scanning effect simulation system, where the system includes:
the particle quantity acquisition module is used for acquiring parameter attributes corresponding to the target scanning effect and determining the quantity of particles for simulating the scanning effect according to the parameter attributes;
the coordinate position acquisition module is used for acquiring the coordinate position of each particle according to the number of the particles;
and the scanning effect simulation module is used for controlling the particles to present radar scanning effects through a shader program according to the coordinate position of each particle.
In a third aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and a radar scanning effect simulation program that is stored in the memory and is executable on the processor, and when the processor executes the radar scanning effect simulation program, the steps of the radar scanning effect simulation method according to any one of the foregoing schemes are implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a radar scanning effect simulation program is stored on the computer-readable storage medium, and when the radar scanning effect simulation program is executed by a processor, the steps of the radar scanning effect simulation method according to any one of the foregoing schemes are implemented.
Has the advantages that: compared with the prior art, the invention provides a radar scanning effect simulation method, which comprises the steps of firstly obtaining parameter attributes corresponding to target scanning effects, and determining the number of particles for simulating the scanning effects according to the parameter attributes; acquiring the coordinate position of each particle according to the number of the particles; and controlling the particles to present a radar scanning effect through a shader program according to the coordinate position of each particle. The method is beneficial to realizing the visualization of the radar scanning effect, and can vividly display the reminding state of dynamic visual inquiry in the regional inquiry service of the smart city, thereby more intuitively feeding back the user.
Drawings
Fig. 1 is a flowchart of a specific implementation of a radar scanning effect simulation method according to an embodiment of the present invention.
Fig. 2 is a diagram of dynamic and tail flame effects of radar scan simulation in a radar scan effect simulation method according to an embodiment of the present invention.
Fig. 3 is a sector effect diagram of radar scanning simulation in the radar scanning effect simulation method according to the embodiment of the present invention.
Fig. 4 is a schematic block diagram of a radar scanning effect simulation system according to an embodiment of the present invention.
Fig. 5 is a schematic block diagram of an internal structure of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
In the webgis system of the smart city business, the effect of some common military symbols is simulated based on geographic coordinates, for example, the visualization of radar scanning effect is needed. However, in the prior art, a dynamic visual query prompting state cannot be vividly displayed in the regional query service, and the user cannot be sufficiently, obviously and intuitively fed back.
In order to solve the problems in the prior art, this embodiment provides a method for simulating a radar scanning effect, where a parameter attribute corresponding to a target scanning effect is first obtained, and the number of particles for simulating the scanning effect is determined according to the parameter attribute. And then acquiring the coordinate position of each particle according to the particle quantity. And finally, controlling the particles to present a radar scanning effect through a shader program according to the coordinate position of each particle. The embodiment is favorable for realizing the visualization of the radar scanning effect, and can vividly show the reminding state of dynamic visual inquiry in the regional inquiry service of the smart city, thereby giving more intuitive feedback to the user.
In specific implementation, as shown in fig. 1, the method includes the following steps:
step S100, obtaining a parameter attribute corresponding to the target scanning effect, and determining the number of particles for simulating the scanning effect according to the parameter attribute.
Specifically, the present embodiment first selects mapbox.
Both mapbox xgl. Js is an open source engine for maps in the webgis domain, used as a geographic information system. Js is a web-side general engine, and has rich community development components and accumulation, and a highly abstract graph drawing and rich interface expansion. According to the embodiment, the webgis system can be built in the shortest time by adopting an open source technology, and the webgis system has considerable maturity and expansibility. The map is characterized in that the mapbacklog.js can independently render the threejs as a map layer in the map, the rich interfaces of the threejs support the development of a graphics bottom interface webgl, and the parallel rendering power of a GPU (graphics accelerator) can be called by using the pipeline programming of the webgl to calculate and simulate a vivid water simulation special effect, so that the webgis system built by the mapbacklog.js has the capability of directly communicating with the bottom layer, and the GPU (graphics accelerator) is used for rendering the efficient and stable special effect.
When simulating the radar scanning effect, the following characteristics need to be satisfied: 1. the dynamics, i.e. the resulting effect, is to scan for rotation as shown in military radar monitoring equipment. 2. The regularity, i.e. the effect of the motion, is to appear as a sector as shown in military radar monitoring equipment. 3. The tail flame effect is that the effect that the density of the front part of the moving direction is high and the density of the tail part of the moving direction is low is presented while the dynamic property and the regularity are possessed, and the physical law of the operation of military radar monitoring equipment is simulated. 4. The periodicity, i.e. the scanning effect, is done in cycles. Several requirements for achieving the simulated radar scanning effect and the substantially finished reference effect are thus defined.
After defining the three requirements and the general effects for realizing the simulated radar scanning effect, the embodiment also needs to define how these features and effects are realized by using a program, and the embodiment considers how the program is used to realize the following characteristics.
Characteristic 1 is the realization of a dynamic scan region. There are two conceivable schemes, the first being to draw a polygon directly and rotate it around the center of the circle. However, practice shows that the tail flame effect is difficult to be considered, the realization effect cannot be expected, and the method is abandoned. The second solution is to use particles of a certain motion to make up the whole dynamic scanning area, and to control the movement by controlling the motion and transparency of the particles.
Property 2 is a requirement for implementing a polygon with property 1, which must assume a fan-shaped pose. An algorithm may be used to fan out the moving particles.
The requirement for the effect of the movement is that the density is high right in front of the movement direction, the brightness is high, the density is low at the back of the movement direction, and the color is slightly dim. The transparency of the particles needs to be calculated and set according to the relation of the moving parts of the particles and time in the process of controlling the movement of the particles.
Characteristic 4 is that the result of the movement is required to go around without stopping, and the whole movement process must be recorded by using an algorithm and reset at a proper time so that it can be run circularly.
The present embodiment selects the particle system as a tool for simulating the effect of radar scanning. The particle system is a high-performance analog simulation method commonly used in computer graphics, and the principle is to abstract a described object into point particles in the computer graphics, and then the particles are operated according to a certain rule by adopting a space mathematical method, such as motion, color change, size change and the like, so as to simulate the motion characteristics of the object. The simulated radar scanning effect is converted into the control of a particle system by using the idea of program design, and the radar scanning effect is simulated by controlling the spatial distribution, the motion rule and the size of the particle system, so that the basis is made for the realization of an actual program very definitely.
To enable simulation of the radar scan effect, the present embodiment quantifies object characteristics of the radar scan effect for programming to develop a particle system. Specifically, this embodiment obtains a parameter attribute corresponding to the target scan, where the parameter attribute includes: the center position (center) of the radar scanning effect, the color (color) of the radar scanning effect, the scanning radius (radius) and the fan-shaped angle (length) of the radar scanning effect, the thickness (width) of the radar scanning effect and the movement speed (speed) of the radar scanning effect.
The method comprises the following steps: and S200, acquiring the coordinate position of each particle according to the number of the particles.
The scheme of the embodiment is that a plurality of circles with small to large radiuses and composed of particles are adopted to simulate the radar scanning effect. The circle has the attributes of radius (radius) and center (center), the color (color) and the thickness (width) of the particle can be adjusted, the parameter of the fan-shaped included angle (length) for inputting the simulated radar effect is added, the ring is only a plane circle when being seen, the circle formed by the particle is in the shader program, and the effect of the particle moving along the circle can be realized by adopting a method for controlling the sequence of the particle. The concrete implementation is as follows:
according to the center position (center) of radar scanning and the radius (radius) of radar scanning, the coordinates of the whole circle can be calculated by a classical mathematical circle algorithm (the coordinates of any point on the circle are calculated by knowing the coordinates of the center of the circle and the radius), and the particles can be arranged according to the coordinate positions to present a circle (the calculation density is required to be increased in the algorithm, and a plurality of particles are arranged to form a circle). Then, the total number of particles forming the circular line particles is known through a classical mathematical circle algorithm, the position of each particle is calculated in a particle-by-particle mode in a shader program, and a sequence number (1,2,3.. particle total number) which is the same as the total number of the particles is input into the shader program, so that when the shader program calculates the position particle by particle, the sequence number is read, and the fact that the program processes the particles with the sequence number can be known.
Step S300, controlling the particles to present a radar scanning effect through the shader program according to the coordinate position of each particle.
In specific implementation, the embodiment inputs a time parameter into the shader; and then controlling the particles to present a radar scanning effect according to the time parameter. Specifically, the embodiment obtains a particle serial number, and compares the particle serial number with the time parameter and a sector included angle corresponding to a target scanning effect; and if the particle serial number is smaller than the sum of the time parameter and the sector included angle corresponding to the target scanning effect, and the particle serial number is larger than the time parameter, controlling the particles corresponding to the particle serial number to be visible so that the particles can present the radar scanning effect. Moreover, only a small section of the whole ring with the length controlled by the user (namely the sector included angle length of the radar effect) can be pushed forward along with the increase of time, so that the dynamic and tail flame effect is achieved, and the dynamic and tail flame effect with the characteristic 1 and the characteristic 3 is achieved. As shown in particular in fig. 2.
If the distance between the center of the circle and the maximum radius (radius) is divided into n segments according to a certain number, and each segment is the radius of a new circle, then n circles (the circles are different only in different radii) generated according to the same center move together, so that an effect that an area similar to a sector moves forwards, namely a sector effect is formed, and the sector requirement of the characteristic 2 is met, as shown in fig. 3 in particular. And different fan-shaped graphs can be obtained along with setting different fan-shaped included angles length. Finally, based on the animation effect principle in the shader program, the radar scanning animation is controlled by controlling the relation between the time, the fixed point coordinate sequence number and the sector angle length of the radar effect, when the time is increased to be the same as the total number of particles, the fact that one round of animation is played is proved, at the moment, the time application program needs to be set to be 0, and if new addition is continued, a new scanning animation can be restarted, and the periodicity of the characteristic 4 is completed. The embodiment uses a plurality of circles formed by particles, realizes the simulated radar scanning effect in a mode of setting different attributes and rules by an actual program, and meets the four characteristics.
In summary, in this embodiment, first, a parameter attribute corresponding to a target scanning effect is obtained, and the number of particles for simulating the scanning effect is determined according to the parameter attribute; acquiring the coordinate position of each particle according to the number of the particles; and controlling the particles to present a radar scanning effect through a shader program according to the coordinate position of each particle. The embodiment is favorable for realizing the visualization of the radar scanning effect, and can vividly show the reminding state of dynamic visual inquiry in the regional inquiry service of the smart city, thereby giving more intuitive feedback to the user.
Based on the above embodiment, the present invention further provides a radar scanning effect simulation system, specifically as shown in fig. 4, the system includes: a particle number acquisition module 10, a coordinate position acquisition module 20, and a scan effect simulation module 30. Specifically, the particle number obtaining module 10 is configured to obtain a parameter attribute corresponding to a target scanning effect, and determine the number of particles for simulating the scanning effect according to the parameter attribute. The coordinate position obtaining module 20 is configured to obtain a coordinate position of each particle according to the number of the particles. The scanning effect simulation module 30 is configured to control the particles to present a radar scanning effect through the shader program according to the coordinate position of each particle.
Based on the above embodiments, the present invention further provides a terminal device, and a schematic block diagram thereof may be as shown in fig. 5. The terminal equipment comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein the processor of the terminal device is configured to provide computing and control capabilities. The memory of the terminal equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the terminal device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a radar scan effect simulation method. The display screen of the terminal equipment can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the terminal equipment is arranged in the terminal equipment in advance and used for detecting the operating temperature of the internal equipment.
It will be understood by those skilled in the art that the block diagram of fig. 5 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the terminal device to which the solution of the present invention is applied, and a specific terminal device may include more or less components than those shown in the figure, or may combine some components, or have different arrangements of components.
In one embodiment, a terminal device is provided, where the terminal device includes a memory, a processor, and a radar scanning effect simulation program stored in the memory and executable on the processor, and when the processor executes the radar scanning effect simulation program, the following operation instructions are implemented:
acquiring a parameter attribute corresponding to a target scanning effect, and determining the number of particles for simulating the scanning effect according to the parameter attribute;
acquiring the coordinate position of each particle according to the number of the particles;
and controlling the particles to present a radar scanning effect through a shader program according to the coordinate position of each particle.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the present invention discloses a method, a system, a terminal device and a storage medium for simulating radar scanning effect, wherein the method comprises: acquiring a parameter attribute corresponding to a target scanning effect, and determining the number of particles for simulating the scanning effect according to the parameter attribute; acquiring the coordinate position of each particle according to the number of the particles; and controlling the particles to present a radar scanning effect through a shader program according to the coordinate position of each particle. The method is beneficial to realizing the visualization of the radar scanning effect, and can vividly display the reminding state of dynamic visual inquiry in the regional inquiry service of the smart city.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for simulating radar scanning effects, the method comprising:
acquiring a parameter attribute corresponding to a target scanning effect, and determining the number of particles for simulating the scanning effect according to the parameter attribute;
acquiring the coordinate position of each particle according to the number of the particles;
and controlling the particles to present a radar scanning effect through a shader program according to the coordinate position of each particle.
2. The method of claim 1, wherein the obtaining of the parameter attribute corresponding to the target scanning effect and the determining of the number of particles for simulating the scanning effect according to the parameter attribute comprise:
obtaining a parameter attribute corresponding to the target scanning, wherein the parameter attribute comprises: the center position of the radar scanning effect, the color of the radar scanning effect, the scanning radius of the radar scanning effect, the included angle of a sector of the radar scanning effect, the thickness of the radar scanning effect and the movement speed of the radar scanning effect;
and determining the circle formed by the particles and the number of the particles according to the parameter attribute.
3. The radar scan effect simulation method of claim 2, wherein the determining the circle of particles and the number of particles based on the parameter attributes comprises:
by classical mathematical circle algorithms, the total number of particles that make up the circle is determined and the position of each particle is calculated in the shader program on a particle-by-particle basis.
4. The method for simulating radar scanning effect according to claim 1, wherein the obtaining the coordinate position of each particle according to the number of the particles comprises:
the coordinates of the entire circle formed by the particles are calculated from the center position (center) of the radar scanning effect and the scanning radius of the radar scanning effect.
5. The method for simulating radar scanning effect according to claim 1, wherein the controlling the particles to present radar scanning effect by the shader program according to the coordinate position of each particle comprises:
inputting a time parameter into the shader;
and controlling the particles to have a radar scanning effect according to the time parameters.
6. The method for simulating radar scanning effect according to claim 5, wherein the controlling the particles to exhibit radar scanning effect according to the time parameter comprises:
acquiring a particle serial number, and comparing the particle serial number with the time parameter and a sector included angle corresponding to a target scanning effect;
and if the particle serial number is smaller than the sum of the time parameter and the sector included angle corresponding to the target scanning effect, and the particle serial number is larger than the time parameter, controlling the particles corresponding to the particle serial number to be visible so that the particles can present the radar scanning effect.
7. The method for simulating radar scanning effect according to claim 6, wherein the controlling the particles to exhibit radar scanning effect according to the time parameter comprises:
dividing the particles into n sections from the center of a circle to the maximum radius according to a preset number, wherein the distance of each section is the radius of a new circle;
n circles are generated according to the same circle center and move together, and a fan-shaped area is formed and moves forwards.
8. A radar scan effect simulation system, the system comprising:
the particle quantity acquisition module is used for acquiring parameter attributes corresponding to the target scanning effect and determining the quantity of particles for simulating the scanning effect according to the parameter attributes;
the coordinate position acquisition module is used for acquiring the coordinate position of each particle according to the number of the particles;
and the scanning effect simulation module is used for controlling the particles to present radar scanning effects through a shader program according to the coordinate position of each particle.
9. A terminal device, characterized in that the terminal device comprises a memory, a processor and a radar scanning effect simulation program stored in the memory and operable on the processor, and the processor implements the steps of the radar scanning effect simulation method according to any one of claims 1 to 7 when executing the radar scanning effect simulation program.
10. A computer-readable storage medium, having stored thereon a radar scan effect simulation program which, when executed by a processor, performs the steps of the radar scan effect simulation method of any one of claims 1 to 7.
CN202110712942.2A 2021-06-25 2021-06-25 Radar scanning effect simulation method, system, terminal equipment and storage medium Active CN113569157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110712942.2A CN113569157B (en) 2021-06-25 2021-06-25 Radar scanning effect simulation method, system, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110712942.2A CN113569157B (en) 2021-06-25 2021-06-25 Radar scanning effect simulation method, system, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113569157A true CN113569157A (en) 2021-10-29
CN113569157B CN113569157B (en) 2023-08-29

Family

ID=78162791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110712942.2A Active CN113569157B (en) 2021-06-25 2021-06-25 Radar scanning effect simulation method, system, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113569157B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110361707A (en) * 2019-08-09 2019-10-22 成都玖锦科技有限公司 The motion state Dynamic Simulation Method of radiation source

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125087A (en) * 2016-06-15 2016-11-16 清研华宇智能机器人(天津)有限责任公司 Dancing Robot indoor based on laser radar pedestrian tracting method
CN110261860A (en) * 2019-06-18 2019-09-20 长沙泊序智能技术有限公司 Passive controllable frequency spectrum light quantum radar suitable for forest and grassland fire source probing
CN111563963A (en) * 2020-04-22 2020-08-21 深圳震有科技股份有限公司 Tornado weather simulation method, intelligent terminal and storage medium
EP3739356A1 (en) * 2019-05-12 2020-11-18 Origin Wireless, Inc. Method, apparatus, and system for wireless tracking, scanning and monitoring
CN112347696A (en) * 2020-11-06 2021-02-09 中国电子科技集团公司第三十八研究所 Discretization area scanning subarray-level sparse optimization method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125087A (en) * 2016-06-15 2016-11-16 清研华宇智能机器人(天津)有限责任公司 Dancing Robot indoor based on laser radar pedestrian tracting method
EP3739356A1 (en) * 2019-05-12 2020-11-18 Origin Wireless, Inc. Method, apparatus, and system for wireless tracking, scanning and monitoring
CN110261860A (en) * 2019-06-18 2019-09-20 长沙泊序智能技术有限公司 Passive controllable frequency spectrum light quantum radar suitable for forest and grassland fire source probing
CN111563963A (en) * 2020-04-22 2020-08-21 深圳震有科技股份有限公司 Tornado weather simulation method, intelligent terminal and storage medium
CN112347696A (en) * 2020-11-06 2021-02-09 中国电子科技集团公司第三十八研究所 Discretization area scanning subarray-level sparse optimization method and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
YUEFEI ZENG等: "an efficient modular volume-scanning radar forward operator for NWP models:description and coupling to the COSMO model", QUARTERLY JOURNAL OF THE ROYAL METEOROLOGICAL SOCIETY, pages 3234 - 3256 *
王磊;于超鹏;刘平;: "机载相控阵天气雷达回波仿真与分析", 系统仿真学报, vol. 28, no. 08, pages 1869 - 1877 *
王磊;刘心刚;魏鸣;: "机载气象雷达自适应危险天气预警方法仿真", 系统仿真学报, vol. 29, no. 07, pages 1572 - 1581 *
赵菲;齐会颖;邱磊;柴舜连;毛钧杰;: "自适应动态Meta粒子群优化算法综合多方向图共形阵列", 电子与信息学报, vol. 34, no. 06, pages 1476 - 1482 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110361707A (en) * 2019-08-09 2019-10-22 成都玖锦科技有限公司 The motion state Dynamic Simulation Method of radiation source
CN110361707B (en) * 2019-08-09 2023-03-14 成都玖锦科技有限公司 Dynamic simulation method for motion state of radiation source

Also Published As

Publication number Publication date
CN113569157B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
US9626808B2 (en) Image-based deformation of simulated characters of varied topology
CN106251377A (en) Use the divided method of displacement factor
CN110738722B (en) Thermodynamic diagram texture generation method, device and equipment
US20100302249A1 (en) Apparatus, systems and methods for layout of scene graphs using node bounding areas
US20100128061A1 (en) Parallel computation of computationally expensive parameter changes
CN104318600A (en) Method for achieving role treading track animation by using Bezier curve
CN103559374A (en) Method for subdividing surface split type curved surfaces on multi-submesh model
CN109364483A (en) Large scene map dividing method and the player visual angle scene update method for applying it
US11307653B1 (en) User input and interface design in augmented reality for use in surgical settings
JP2012185777A (en) Method and device for creating surface processing data
CN113569157B (en) Radar scanning effect simulation method, system, terminal equipment and storage medium
CN104851133A (en) Image self-adaptive grid generation variational method
CN108389202B (en) Volume calculation method and device of three-dimensional virtual organ, storage medium and equipment
CN114693856B (en) Object generation method and device, computer equipment and storage medium
CN102298787A (en) Control method and control system for animation object motion
Shi et al. Gn blending multiple surfaces in polar coordinates
CN104008122A (en) Dynamic multi-stage pie chart display method of layering data
WO2011025385A1 (en) Method for local refinement of a geometric or physical representation
US8279239B1 (en) Graphical user interface for performing deformations
CN115984440B (en) Object rendering method, device, computer equipment and storage medium
CN111563963A (en) Tornado weather simulation method, intelligent terminal and storage medium
US20170039743A1 (en) Method and apparatus for performing path rendering
US7646385B2 (en) Computer graphics rendering method and apparatus
US10334697B2 (en) Method and device for displaying illumination
US10121253B2 (en) Method and apparatus for modeling target object to represent smooth silhouette

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
GR01 Patent grant
GR01 Patent grant