Lens halo generation method and device

A lens and module generation technology, applied in the computer field, can solve the problem of lack of realism of lens flare
CN110766779APending Publication Date: 2020-02-07NETEASE (HANGZHOU) NETWORK CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Publication Date
2020-02-07

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a lens halo generation method and device. The method comprises the following steps: generating more than two virtual point light sources for a virtual scene; and obtaining position information of each virtual point light source in the more than two virtual point light sources, the position information being used for indicating the position of the virtual point light source in the virtual scene; according to preset attribute information of the lens halo corresponding to each virtual point light source, respectively generating the lens halo correspondingto each virtual point light source; rendering the lens halo corresponding to each virtual point light source in the virtual scene according to the position information of each virtual point light source. More than two virtual point light sources are generated, the lens halo corresponding to each virtual point light source is rendered at the position where each virtual point light source is located, so that matching of the virtual point light sources and the lens halo corresponding to the virtual point light sources can be achieved, the authenticity of the lens halo is improved, and the methodis easy to implement and can be used for rapidly manufacturing the lens halo of the lamplight array.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] Embodiments of the present invention relate to computer technology, and in particular to a method and device for generating lens flare. Background technique

[0002] With the continuous development of the game field, it is particularly important to achieve realistic light and shadow effects in game scenes or video production, among which lens flare can very well simulate real light and shadow effects.

[0003] At present, when lens flare is implemented for a light source array including multiple light sources, a 2D lens flare is usually added to a group of light source arrays, so that the light source array as a whole has the effect of lens flare.

[0004] However, although the existing technical solution has the halo effect as a whole of the light source array, it is still different from the real projecting light effect, and the presented lens flare lacks authenticity. Contents of the invention

[0005] Embodiments of the present invention provide ...

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