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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com