Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image rendering method and device

An image rendering and image technology, which is applied in the field of information processing, can solve the problems that the picture is not real enough, the character model lacks lighting changes, and the display effect is not three-dimensional enough, so as to achieve the effect of real picture, three-dimensional display effect, and bright lighting changes.

Active Publication Date: 2017-08-08
BEIJING PIXEL SOFTWARE TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Although image rendering through vertex lighting method can save information processing resources, but because the obtained character model lacks lighting changes, the picture is not realistic enough and the display effect is not three-dimensional.

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
  • Image rendering method and device
  • Image rendering method and device
  • Image rendering method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] figure 1 It is a flow chart of the image rendering method provided by the embodiment of the present invention.

[0021] Such as figure 1 As shown, the process includes:

[0022] Step 101, determine the vertex illumination value of each pixel of the image to be rendered, and the angle between the illumination direction of each pixel and the normal direction of the vertex.

[0023] Among them, the vertex illumination value of each vertex can be calculated according to the formula I=Ambient+Diffuse*(LightDir·NormalDir), where I is the vertex illumination value, Ambient indicates the ambient illumination value, Diffuse indicates the diffuse illumination value, and * indicates multiplication , LightDir represents the light direction, NormalDir represents the normal direction of the vertex, (LightDir·NormalDir) is the point product of LightDir and NormalDir, the point product represents the angle between the light direction of the vertex and the normal direction of the vert...

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 rendering an image. The method comprises the following steps: determining a vertex lighting value of each pixel point of an image to be rendered, and an included angle between the lighting direction of each pixel point and the vertex normal direction; extracting a brightness template value of each pixel point from a preset lighting change template according to the value of the included angle between the lighting direction of each pixel point and the vertex normal direction; multiplying the difference, which is obtained by subtracting the vertex lighting value of each pixel point from the brightness template value of each pixel point, by a preset brightness adjustment coefficient, and then adding the vertex lighting value of the pixel point to obtain a final lighting value after the brightness is adjusted, and rendering the image according to the final lighting value. Through the method and the device for rendering the image, the image is more real, and the display effect is more three-dimensional.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to an image rendering method and device. Background technique [0002] With the development of digital processing equipment, games based on digital processing equipment have also been developed rapidly. Game software often involves a large number of image processing operations, for example, performing image rendering on characters and the like in the game screen. Image rendering often consumes a large amount of information processing resources, and mobile digital processing devices such as mobile phones have limited information processing resources. Therefore, it is necessary to save information processing resources as much as possible during image rendering. [0003] Currently, mobile digital processing devices generally perform image rendering through vertex lighting. specifically: [0004] The mobile digital processing device calculates the vertex lighti...

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): G06T15/60
CPCG06T15/60
Inventor 杨波
Owner BEIJING PIXEL SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products