A method, device and device for generating a water depth map for mobile games

A depth map and water generation technology, applied in image data processing, 3D image processing, instruments, etc., can solve problems such as performance consumption and lower game fluency

Active Publication Date: 2021-11-09
广东趣炫网络股份有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a mobile game-oriented method, device and device for generating a water depth map, which is used to solve the problem that the existing method of obtaining water surface depth needs to use a 3D camera to render all non-transparent objects in the scene, and the mobile game device will A technical problem that produces a large amount of performance consumption during the running of the game and reduces the fluency of the game

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
  • A method, device and device for generating a water depth map for mobile games
  • A method, device and device for generating a water depth map for mobile games
  • A method, device and device for generating a water depth map for mobile games

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0061] For ease of understanding, see image 3 , the present application provides an embodiment of a method for generating a water depth map for mobile games, including:

[0062] Step 101. Obtain the vertical depth of each point on the water surface offline, and store the vertical depth data in the first map.

[0063] It should be noted that, in order to avoid th...

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 application discloses a method, device and equipment for generating a water depth map for mobile games. Through offline processing, the water surface is textured to obtain the second texture of the uv offset value written into the water surface mesh, and then use The second map obtained offline is used to calculate the uv offset value of the water surface in the game, thereby calculating the water depth of each point of the water surface in the game, and then calculating the water transparency of the corresponding point according to the water depth to obtain the water depth map in the game , there is no need to re-render all non-transparent objects in the game scene, and solve the existing method of obtaining the depth of the water surface, which needs to use a 3D camera to render all non-transparent objects in the scene. Performance consumption, technical problems that reduce the fluency of the game.

Description

technical field [0001] The present application relates to the technical field of terminal games, in particular to a method, device and equipment for generating water depth maps for mobile games. Background technique [0002] In terminal games such as computer games and mobile games, there are usually water surface scenes, and the degree of fit between the generated effect of the water surface and the water surface in the real world affects the player's game experience. The closer the effect of the water surface in the game is The real world, the more it can improve the player's game experience. [0003] The color and transparency seen on the normal water surface are related to the distance traveled by the light, that is, the depth of the bottom of the water and the viewing angle of the current camera. If the water surface rendering is performed regardless of the depth and transparency of the water, the result will not be realistic enough, such as figure 1 and figure 2 as ...

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/20
CPCG06T15/205
Inventor 陈卓楷周晓明陈伟聪陈旭军
Owner 广东趣炫网络股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products