Weather particle rendering method and device, computer equipment and storage medium
A technology of weather particles and particles, applied in the field of image processing, can solve the problem that weather particles are not easy to iterate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0112] see figure 1 As shown, it is a schematic structural diagram of a weather particle rendering device provided in Embodiment 1 of the present application, including: a script execution module 11 , a particle processing module 12 , and a graphics processing module 13 .
[0113] The execution module 11 , the particle processing module 12 , and the graphic processing module 13 will be described respectively below.
[0114] 1: script execution module 11, is used for when satisfying weather scene changing condition, triggers a weather scene change signal, executes the target code corresponding to target weather in the particle generation script, with the particle corresponding to the weather particle of described target weather The data is passed to the particle processing module.
[0115] In specific implementation, as the game progresses, it may be necessary to change the weather scene. In this application, the weather before the weather scenario is changed is called the or...
Embodiment 2
[0187] refer to figure 2 As shown, it is a flow chart of a weather particle rendering method provided in Embodiment 2 of the present application, which is used to present different weather scenarios in the game. The weather particle rendering method is used to include a script execution module, a particle processing module, and a graphics processing module In the weather particle rendering method; the weather particle rendering method includes:
[0188] S201: The script execution module triggers a weather scene change signal when the weather scene change condition is met, and executes the target code corresponding to the target weather in the particle generation script, so as to transmit the particle data corresponding to the weather particle of the target weather into the particle processing module;
[0189] S202: After receiving the particle data transmitted by the script execution module, the particle processing module performs format conversion on the particle data, and ...
Embodiment 3
[0227] refer to image 3 As shown, it is a flow chart of a weather particle rendering method provided in Embodiment 3 of the present application, and the execution body of the method is a computer device; the weather particle rendering method includes:
[0228] S301: When the weather scene change condition is met, trigger a weather scene change signal, execute the target code corresponding to the target weather in the particle generation script, so as to transfer the particle data corresponding to the weather particles of the target weather to the three-dimensional image rendering engine;
[0229] S302: Call the 3D image rendering engine to perform format conversion on the particle data, and submit the format-converted particle data to a graphics processor GPU;
[0230] S303: Invoke the GPU to generate and render particle instances based on the real-time position information of the virtual camera and the format-converted particle data, so as to present a weather scene corresp...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com