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

Method and device for realizing underwater fog effect

An implementation method and orientation technology, applied in the field of game scene processing, can solve problems such as poor visual effects

Active Publication Date: 2020-12-29
BEIJING PIXEL SOFTWARE TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of the current technology is that the fog effect produced by using linear fog effect or exponential fog effect can only simply represent the change of the underwater sight range, and the visual effect is not good.

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 underwater fog effect
  • Method and device for realizing underwater fog effect
  • Method and device for realizing underwater fog effect

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0039] Please refer to figure 2 , figure 2It is one of the flow charts of the method for realizing the underwater fog effect provided by the first embodiment of the present invention. The method is applied to the computing device 100 described above. The specific flow of the method for realizing the underwater fog effect will be described in detail below. The method includes: step S120 and step S130.

[0040] Step S120, when the visible object is in the first orientation of the camera at the current perspective, calculate the first fog effect mixing factor based on the depth of the camera at the current perspective in water and the depth factor change formula.

[0041] Step S130, simulating the fog effect concentration effect observed on the visible object under the current viewing angle according to the value of the first fog effect mixing factor.

[0042] Please refer to image 3 , image 3 It is the second flow chart of the steps of the method for realizing the unde...

no. 2 example

[0085] Please refer to Figure 10 , Figure 10 It is a functional block diagram of the device 200 for realizing the underwater fog effect provided by the second embodiment of the present invention. The apparatus is applied to the above-mentioned computing device 100 . The device includes: a calculation module 220 and a simulation processing module 230 .

[0086] The calculation module 220 is configured to calculate a first fog effect mixing factor based on the depth of the current perspective camera in water and the depth factor change formula when the visible object is in the first orientation of the current perspective camera.

[0087] The simulation processing module 230 is configured to simulate the fog effect concentration effect of the visible object observed under the current viewing angle according to the value of the first fog effect mixing factor.

[0088] In this embodiment, the computing module 220 is used to execute figure 2 In step S120, the simulation proce...

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 invention provides an underwater fog effect achieving method and device. The method comprises the steps that when a visible object is in the first direction of a current view camera, on the basisof the depth of the current view camera in water and a depth factor transformation formula, calculating the first fog effect mixed factor, and according to the number value of the first fog effect mixed factor, simulating observation of the fog effect concentration effect of the visible object under a current view. In this way, a special deepwater atmosphere can be created in a game scene, transition changes of the fog effect in a deepwater scene can be created, the real deepwater visual effect is simulated, and therefore user's sensual experience is enhanced.

Description

technical field [0001] The invention relates to the technical field of game scene processing, in particular to a method and device for realizing underwater fog effect. Background technique [0002] Water areas often appear in the game. In order to simulate the effect of blurred light in the underwater world as realistically as possible, fog effects will be added to the underwater scene. [0003] In the prior art, commonly used fog effect methods mainly include: linear fog effect and exponential fog effect. Both of these fog effects are based on the distance between visible objects and the view camera. First set a set of fog effect parameters, such as the starting distance of the fog effect, the color of the fog effect, the range of the fog effect, etc., and then use the fog effect calculation formula to calculate the set fog effect parameters and the distance between the visible object and the camera Perform calculations so that the game perspective can maintain a natural ...

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
CPCA63F2300/663A63F13/52
Inventor 熊波
Owner BEIJING PIXEL SOFTWARE TECH