Water surface rendering method, device and readable storage medium

A water body and water color technology, applied in the computer field, can solve the problem of large CPU or GPU performance consumption of mobile terminals, and achieve the effect of solving large performance consumption

Active Publication Date: 2018-04-06
BEIJING PIXEL SOFTWARE TECH
View PDF8 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to overcome the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a water surface rendering method, device a...

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
  • Water surface rendering method, device and readable storage medium
  • Water surface rendering method, device and readable storage medium
  • Water surface rendering method, device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0052] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0053]It should be note...

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 embodiment of the invention provides a water surface rendering method, a device and a readable storage medium. The method comprises the following steps of responding to a construction request of awater body area, constructing a water body area composed of a water body grid in a target area of a game scene; obtaining the vertex data of the water body grid and the illumination data of the current game scene; according to the vertex data of each water body grid unit of the water body grid, calculating the water body transparency of each water body grid unit; calculating the water body colorof the water body area according to the illumination data; obtaining the reflection color of the water body area through a pre-rendered reflection map, and calculating the target water body color of the water body area according to a Fresnel value, a reflection color and the color of the water body; based on the water body transparency of each water body grid unit and the target water body color of the water body area, rendering the water body area. Therefore, the good water surface effect can be quickly simulated on a mobile terminal. The problem in the prior art that the CPU and the GPU arelarge in performance consumption during the simulation of the water surface effect on a common mobile terminal is solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a water surface rendering method, device and readable storage medium. Background technique [0002] In 3D games, water is simulated and rendered as a special transparent object. In order to achieve the real-time reflection effect, it is basically necessary to render the game scene additionally during the water rendering process. For mobile terminals with limited performance and battery life, it is a large amount of performance consumption for both CPU and GPU, which is prone to Caton and dropped frames will affect the user's gaming experience. Contents of the invention [0003] In order to overcome the above-mentioned deficiencies in the prior art, the object of the present invention is to provide a water surface rendering method, device and readable storage medium to solve the CPU or GPU performance consumption of the mobile terminal when simulating the natural effe...

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/04G06T15/50A63F13/52
CPCA63F2300/663A63F13/52G06T15/04G06T15/506G06T2210/24
Inventor 苗雨壮熊波
Owner BEIJING PIXEL SOFTWARE TECH
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