Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for realizing special effect of special effect object

An implementation method and technology of special effects, applied in the computer field, can solve the problems of inconsistent textures, inability to draw in the same batch, and increase the drawing batches of linked special effects, so as to achieve the effect of reducing the drawing batches.

Active Publication Date: 2022-02-08
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example, triangle patches are used to form model patches. One model calls the graphics drawing interface in one batch to draw all the patches. When the models are different, the model patch data is separated, and the vertex data cannot be merged and shared. Draw patches of different models in batches. Even if the vertex data of different models can be merged and shared, it cannot be drawn in the same batch when the materials are different, the textures are inconsistent, and the parameters are inconsistent.
[0004] In the prior art, for hooking special effects, it is necessary to set a large number of hooking nodes on the hooking object. If the special effects exist in the form of models, at the same time, it is necessary to configure special effect files for the color, shape and other attributes of each special effect. A large number of special effect files and multiple model files are generated. When drawing, each model is drawn in one batch. When there are many special effects attached to the attached object, the drawing batch of attached special effects on the attached object is increased. Second-rate

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 special effect of special effect object
  • Method and device for realizing special effect of special effect object
  • Method and device for realizing special effect of special effect object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] 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.

[0077] refer to figure 1 , which shows a flow chart of the steps of Embodiment 1 of a special effect implementation method for a special effect object of the present invention, which may specifically include the following steps:

[0078] Step 101 , acquiring special effect data of at least one special effect object of the same material attached to the mounting object in the virtual scene, the special effect data including position parameters and effect parameters of the special effect object.

[0079] In the embodiment of the present invention, the virtual scene can be a scene displayed in an electronic game, the virtual scene can be a three-dimensional scene, and the special effect object can be an object that produces special ef...

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

Embodiments of the present invention provide a special effect realization method and device for a special effect object, including: acquiring special effect data of at least one special effect object with the same material and mounted on a hanging object in a virtual scene; generate the vertex data of each special effect object's patch; send the vertex data of each special effect object's patch to the image processor, and process the vertex data in the vertex shader stage of the image processor, and , the slice shader stage shades the processed vertex data to achieve the special effect of the special effect object. Since the special effect objects exist in the form of vertex data of the patch, the position parameters and effect parameters are included in the vertex data, so as to avoid the configuration of model files and special effect files for each special effect object, which will cause too many files, and submit in the form of models, which will result in high drawing batches. The problem with being able to submit vertex data in the same batch reduces the draw batches of effect objects.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a special effect realization method and device for a special effect object. Background technique [0002] As the production of the game becomes more sophisticated, more and more special effects are attached to the virtual scene model of the game. For example, there are a large number of special effects such as meteorites and aviation lights in the game. [0003] In the drawing of computer graphics, the drawing of the model is to draw the model in batches through static batching, dynamic batching and hardware batching strategies. For example, triangle patches are used to form model patches. One model calls the graphics drawing interface in one batch to draw all the patches. When the models are different, the model patch data is separated, and the vertex data cannot be merged and shared. Draw patches of different models in batches. Even if the vertex data of different models can...

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): A63F13/52
CPCA63F13/52A63F2300/538A63F2300/66
Inventor 曹伟刚全俊张凯
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More