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

Method for realizing water etching and rendering device

An implementation method and light source technology, applied in the field of graphics rendering, can solve the problems of poor flexibility, inability to simulate water etching, and reduce the expressiveness of water surface, etc., to achieve the effect of good flexibility

Active Publication Date: 2009-07-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] In the process of research and practice of the prior art, the inventor found that: when using the above-mentioned scheme to simulate the effect of water etching, the premise of realizing the scheme is to assume that only the sunlight perpendicular to the bottom of the water can form water etching on the bottom of the water. , so the number of vertices of the created underwater grid must be the same as the number of vertices of the water surface grid, so as to ensure that the vertices of the underwater grid can be traced vertically to the vertices of the water surface grid; according to this scheme, when the water surface is more complex , and when the underwater scene is relatively flat, if more water surface mesh vertices are set to ensure the expressiveness of the water surface, since there are correspondingly more underwater mesh vertices, the rendering of the underwater scene will include Many redundant vertices are processed, and if fewer underwater mesh vertices are set, the expressiveness of the water surface will be reduced; similarly, when the water surface is relatively simple and the underwater scene is more complicated, if fewer The water surface mesh vertices will reduce the expressiveness of the underwater scene, and if more underwater mesh vertices are set, the rendering of the water surface scene will also include the processing of many redundant vertices. Therefore, the flexibility of this scheme Poor; on the other hand, because the direction of the incident light is scattered when the vertically upward refracted light underwater is transmitted to the water surface in reverse, this scheme cannot simulate the water etching formed by the point light source

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 realizing water etching and rendering device
  • Method for realizing water etching and rendering device
  • Method for realizing water etching and rendering device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The implementation method of water etching and the preferred embodiments of the rendering device provided by the present invention will be described in detail below in conjunction with the accompanying drawings.

[0050] Please refer to figure 1 A flowchart of an implementation method embodiment of water etching, the method includes:

[0051] B1. Based on the preset viewpoint and the preset light source above the water surface, the underwater scene is rendered to obtain the original image of the underwater scene;

[0052] B2. Calculate the depth value of each pixel point of the water bottom surface relative to the light source in the obtained original image to obtain the depth texture of the water bottom surface;

[0053] Wherein, the depth value of the pixel point relative to the light source refers to the distance value of the pixel point relative to the light source;

[0054] B3. According to the depth texture, respectively obtain the light points formed by the lig...

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

This invention involves a method about graphics rendering technology, and the realization of open water etching, it including: Based on the pre-positioning of the preset settings, as well as the light source on the surface of the underwater scenes for rendering, access to the original images of underwater scenes; calculation the original image referred to in the bottom of each pixel relative to the light source referred to the depth of value, access to the depth of the bottom surface texture; described in depth in accordance with texture, respectively relative to the light source above the surface mesh in the number of vertices underwater scenes in the form of light, the light source referred to generate simulated underwater scene in the water formed by etching texture; water will be generated by the texture and etching described in the original image synthesis, generating results with water etching underwater scenes images. The present invention also opens corresponding rendering devices. its implementation of the program in achieving the water etching effects has good flexibility, and be able to achieve simulation point light source generated by the formation of water etching.

Description

technical field [0001] The invention relates to graphic rendering technology, in particular to a method for realizing water etching and a rendering device. Background technique [0002] When the light refracts from the curved water wave surface and enters the water, it will focus on certain areas on the light-receiving surface of the underwater object, forming water etching. How to simulate the effect of water etching in real time has become an unresolved issue in the field of graphics rendering technology. one of the problems to be solved. [0003] In the prior art, a reverse light transfer method is used to simulate the effect of water etching. A premise of this scheme is that it is assumed that only sunlight that is vertical to the bottom of the water can form water etching on the bottom of the water; the scheme includes the following process: [0004] S1. Render the underwater scene, and create an underwater grid vertically corresponding to the water surface grid; [0...

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): G06T15/10G06T15/50
Inventor 刘皓
Owner TENCENT TECH (SHENZHEN) CO LTD