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

Method and device for realizing particle effect

A particle and particle system technology, applied in the field of video and audio editing, can solve the problem of long time required for particle effects

Active Publication Date: 2018-12-25
CHINA DIGITAL VIDEO BEIJING
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The invention provides a particle effect realization method and device to solve the problem that the larger the frame number of the current frame is, the longer the time required to realize the particle effect of the current frame is

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
  • Method and device for realizing particle effect
  • Method and device for realizing particle effect

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0058] refer to figure 1 , which shows a flow chart of a method for realizing particle effects in the present invention, and this embodiment may specifically include the following steps:

[0059] Step 101, acquire the number of frames needed to realize the particle effect, and record it as the number of frames of the current frame.

[0060] For example, it is the fifth frame that needs to realize the particle effect, and the frame number is 5, then the frame number of the current frame is also recorded as 5, that is, the current frame is recorded as the fifth frame.

[0061] Step 102, create an update function of the particle system and an update function of the influencer.

[0062] This embodiment extends the third-party SDK, a...

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 an implementation method and device of particle effects and solves the problem that the larger the number of current frames, the longer time implementation of current frame particle effects takes. The method includes: collecting the number of frames requiring particle effects, and recording as the number of current frames; establishing an update function of a particle system and an update function of an affector; calling a clear function of the particle system, and removing all particles of the particle system; setting emission speed and maximum survival time of the particle system; calling the update function of the particle system to create current frame particles, and modifying the emission speed, maximum survival time and locations of the current frame particles; calling the update function of the affector, and updating parameters of the current frame particles; calling a render function to render the parameters of the current frame particles so that particle effects of the current frame particles are implemented. The method and device has the advantages that the time of implementing the effects of current particles is saved.

Description

technical field [0001] The invention relates to the technical field of video and audio editing, in particular to a particle effect realization method and device. Background technique [0002] The particle effect is realized by using the third-party software development kit (Software Development Kit, SDK) to realize the underlying control and rendering. The method provided by the third-party SDK is a sequential playback process, and the particle editor will often Use to seek. seek is to get the particle effect of the current frame. In order to achieve the same seek effect as the playback effect, the seek operation is actually to read the data of the particles displayed on the seek frame after experiencing the change process from birth to the current state, and then read a frame of data. [0003] If the time to read a frame is t0, and the seek frame is n, the time required for seek is: n*t0. For example, when the seek frame n=1, the seek time is t0, which is the shortest ti...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/451
Inventor 陈伟伟
Owner CHINA DIGITAL VIDEO BEIJING
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