Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Pending Publication Date: 2019-11-19
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The relevant data of different weather particles is written in the corresponding software program, which makes the rendering execution logic of weather particles difficult to iterate

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Weather particle rendering method and device, computer equipment and storage medium
  • Weather particle rendering method and device, computer equipment and storage medium
  • Weather particle rendering method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

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

PUM

No PUM Login to View More

Abstract

The invention provides a weather particle rendering method and device, computer equipment and a storage medium. The device comprises: a script execution module which is used for triggering a weather situation change signal when a weather situation change condition is satisfied, and executing a target code corresponding to target weather in a particle generation script, so as to transmit particle data corresponding to weather particles of the target weather to a particle processing module; a particle processing module which is used for performing format conversion on the particle data after receiving the particle data transmitted by the script execution module, and submitting the particle data subjected to format conversion to a graphic processing module; and the graphic processing module which is used for generating and rendering a particle instance based on the real-time position information of the virtual camera and the particle data subjected to format conversion so as to present aweather scene corresponding to the target weather in the game scene. According to the method, the rendering execution logic of the weather particles can be iterated more easily.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular, to a weather particle rendering method, device, computer equipment and storage medium. Background technique [0002] Particle rendering is often used in 3D rendering to realize a large number of irregular objects in virtual scenes, such as clouds, smoke, dust, rain and snow, flying sand and rocks, fireworks, etc. Taking raindrop weather particles as an example, each raindrop will be regarded as a particle, and when it is within the visual range of the virtual camera, it will be rendered in the corresponding display screen to realize the display of the virtual weather scene. [0003] When rendering weather particles in the game, not only the number of weather particles is huge, but the application logic of different types of weather particles is also quite different. The relevant data of different weather particles is written in the corresponding software program...

Claims

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T15/00A63F13/60
CPCG06T15/005A63F13/60A63F2300/663A63F2300/6638Y02A90/10
Inventor 蔡坤雨
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products