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

Method for implementing distortion effect in scene

An implementation method and scene technology, applied in the field of realization of distortion effects in scenes, can solve problems such as low efficiency and great impact on frame rate, etc.

Active Publication Date: 2016-06-01
BEIJING PIXEL SOFTWARE TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The waiting time of the main thread is almost the time to completely render a frame, so this method is extremely inefficient and has a great impact on the frame 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 for implementing distortion effect in scene
  • Method for implementing distortion effect in scene

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the technical principles, features and technical effects of the technical solution of the present application clearer, the technical solution of the present application will be described in detail below in conjunction with specific embodiments.

[0021] figure 1 It is a flow chart of the method for realizing the distortion effect in the scene provided by the embodiment of the present application, figure 2 It is a schematic diagram of the principle of the embodiment scheme of the present application. Please refer to figure 1 with figure 2 , the process includes:

[0022] Step 101: Use a three-dimensional graphics engine to create a scene 201, and determine the position and range in the scene 201 where the distortion effect needs to be presented.

[0023] Step 102: Create a special type of game object (gameobject) as a distortion mark object (Distortion mark object) 203 at the position where the distortion effect needs to be presented.

[0024] Ele...

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 application relates to a three-dimensional graphic simulation technology, and discloses a method for implementing a distortion effect in a scene. The method includes the steps of: using a three-dimensional graphic engine to establish the scene and determining the position and the scope in the scene where the distortion effect is needed to be shown; establishing a game object as a distortion mark object in the position where the distortion effect is needed to be shown, and performing depth rendering on other objects except the distortion mark object in the scene; performing the rendering on the distortion mark object and obtaining a distortion graphic; performing normal rendering on other objects except the distortion mark object in the scene, and obtaining a normal rendering scene graphic; and sampling the distortion graphic, unpacking a sampling result, adding the unpacked sampling result as an offset to texture coordinates of a pixel, sampling the normal rendering scene graphic by using the processed texture coordinates, and obtaining a scene rendering result with the distortion effect.

Description

technical field [0001] The present application relates to three-dimensional graphics simulation technology, in particular to a method for realizing distortion effects in a scene. Background technique [0002] Views seen through air of uneven density are distorted. Temperature affects the density of the air, the air closer to the heat source is warmer and less dense, and the air away from the heat source is cooler and denser, so the distortion can be seen around a fire or above the surface during periods of intense sunlight scene. [0003] Unity is a multi-platform comprehensive 3D graphics engine developed by Unity Technologies that allows users to create interactive content such as 3D video games, architectural visualization, and real-time 3D animation. In the prior art, the general way to simulate the distortion effect in Unity is to use _GrabTexture. _GrabTexture is a texture that is a copy of the framebuffer. In the final stage of each frame rendering, draw a full-sc...

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/00G06T15/04
CPCG06T15/005G06T15/04
Inventor 王衎
Owner BEIJING PIXEL SOFTWARE TECH