Method and device for displaying ambient effect in two-dimensional image

A picture and environment technology, applied in the field of image processing, can solve the problems of difficult implementation, high art dependence, and unrealistic effects, and achieve the effect of reducing memory usage, improving rendering speed, and efficient day and night transformation effects.

Inactive Publication Date: 2012-07-04
BEIJING KINGSOFT SOFTWARE +2
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, in the technologies for simulating environmental effects in 2D (two-dimensional) pictures (such as 2D image environment display systems, weather condition display systems, 2D games, etc.), they are generally limited to simple rain and snow weather simulations, and their effects are not realistic enough; and Due to the problem of efficiency, it is difficult to simulate the full-screen special effects of the existing 2D images. For example, there is no specific implementation plan for advanced effects such as day and night changes and night lights.
In addition, the rendering of the environment effect in the traditional 2D screen is simply to draw with art pixels. Such drawing is too dependent on the art, and the flexibility and efficiency are not high. When there are new effect requirements, it is not easy to accomplish

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 displaying ambient effect in two-dimensional image
  • Method and device for displaying ambient effect in two-dimensional image
  • Method and device for displaying ambient effect in two-dimensional image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] The first embodiment is a method for displaying environmental effects in a two-dimensional picture, including:

[0045] Determine the current weather effect to be displayed;

[0046] When the weather effect of rain or snow is currently displayed, multiple line segments or rectangles are added to the displayed two-dimensional screen according to configuration parameters; the configuration parameters include any one or any combination of the following parameters: The display density of the line segment or rectangle, the vertical offset of each line or rectangle between two adjacent frames, the horizontal offset of each line or rectangle between two adjacent frames (when a line segment is used, it is the vertical / horizontal offset of the line segment , When a rectangle is used, it is the vertical / horizontal offset of the rectangle).

[0047] Of course, when the configuration parameters only include any one of the display density of the line segment or rectangle, the vertical off...

Embodiment 2

[0055] The second embodiment is a method for displaying environmental effects in a two-dimensional picture, including the steps in the first embodiment. Before the step of determining the weather effect to be displayed currently, the method further includes:

[0056] For different maps, set the weather parameters of the map respectively, and the weather parameters include any one or any combination of the following parameters: weather type, occurrence probability of different weather effects, and duration;

[0057] The step of determining the weather effect to be displayed currently is to determine the weather effect to be displayed based on the weather parameters of the current map.

[0058] Of course, the technical solution of the present invention can be implemented when the weather parameter only includes any one of weather type, occurrence probability or duration of different weather effects, or any combination thereof.

[0059] In this embodiment, different weather effects of eac...

Embodiment 3

[0060] The third embodiment is a method for displaying environmental effects in a two-dimensional picture, which is applied in a C / S system and includes the steps in the first embodiment. The step of judging the current weather effect to be displayed refers to the client according to the server’s The command determines the current weather effect to be displayed.

[0061] In this embodiment, the server can set the weather parameters of each map separately, and then send instructions to set or change the weather effect to the client according to the weather parameters. The weather parameters are the same as in the second embodiment; the server can also be based on other rules, or It is manually set to send instructions for setting or changing weather effects to the client.

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 discloses a method and device for displaying an ambient effect in a two-dimensional image. The method comprises the following steps of: judging the weather effect to be displayed currently; and when the weather effect to be displayed currently is rain or snow, adding multiple line segments or rectangles into the displayed two-dimensional image according to configuration parameters, wherein the configuration parameters comprises any one or a combination of the following parameters: display density of the line segments or rectangles, longitudinal offset of each line segment or rectangle between two adjacent frames and transverse offset of each line segment or rectangle between two adjacent frames. By adopting the method and device disclosed by the invention, rain and snow effects can be flexibly and really simulated.

Description

Technical field [0001] The present invention relates to the field of image processing, in particular to a display method and display device of environmental effects in a two-dimensional picture. Background technique [0002] At present, technologies that simulate environmental effects in 2D (two-dimensional) images (such as 2D image environmental display systems, weather display systems, 2D games, etc.) are generally limited to simple rain and snow weather simulations, and their effects are not realistic enough; and Due to efficiency issues, it is difficult to implement full-screen special effects simulation on existing 2D images. For example, there are no specific implementation solutions for advanced effects such as day and night changes and night lights. In addition, the rendering of environmental effects in traditional 2D pictures is simply drawing with art pixels. Such drawing is too dependent on art, and its flexibility and efficiency are not high. It is not easy when new e...

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 Applications(China)
IPC IPC(8): G06T11/00
Inventor 夏文涛
Owner BEIJING KINGSOFT SOFTWARE
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