Method and device for controlling specular reflection definition by mapping

A high-light reflection and definition technology, applied in 3D image processing, image data processing, instruments, etc., can solve problems such as low picture fidelity, difficulty in meeting the requirements of photo-level scene objects, and ignoring model reflections

Active Publication Date: 2015-03-04
WUXI FANTIAN INFORMATION TECH
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, computer-made animation pictures (CG pictures) usually use various common lighting models to calculate lighting effects, ignoring the reflection of the model on the surrounding environm

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 controlling specular reflection definition by mapping
  • Method and device for controlling specular reflection definition by mapping
  • Method and device for controlling specular reflection definition by mapping

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] figure 1 It is a flow chart of a method for controlling the definition of high-light reflection by using texture maps provided by Embodiment 1 of the present invention. The method in the embodiment of the present invention can be executed by a program implemented in hardware and / or software, such as figure 1 As shown, the method includes step 110 - step 120 .

[0019] Step 110, obtaining the average value of the pixel colors of the intersection points of all reflected light vectors and the cube-level map surface of a pixel point on the model as the average pixel color value of the pixel point of the model;

[0020] Environment mapping is a technique used to simulate the reflection of the surrounding environment on smooth surfaces, such as mirrors and shiny painted metal. The realization of this technology is mainly achieved by attaching a map with the surrounding environment to the polygonal surface that needs to be expressed. Currently, there are two types of enviro...

Embodiment 2

[0029] Embodiment 2 of the present invention provides a flow chart of a method for controlling the definition of high-light reflections using texture maps. This embodiment provides a method for obtaining all reflected light vectors and cube-level texture maps of a pixel on a model based on the above implementation. The average value of the pixel color of the intersection point is used as the preferred method of the average pixel color value of the model (such as Figure 2a shown), the preferred method includes steps 210 to 230:

[0030] Step 210: Obtain the reflected ray vector of the pixel on the model according to the incident ray vector of the pixel on the model and the normal of the point, obtain the intersection point between the reflected ray vector and the surface of the cubemap, and sample the cubemap through UV coordinates texture, obtaining the pixel color value of the intersection of the reflected ray vector and the face of the cubemap;

[0031] In this step, the r...

Embodiment 3

[0061] An embodiment of the present invention provides a device for controlling the definition of highlight reflection by using a map, the device includes an average pixel color value acquisition module 310 and a highlight value acquisition module 320;

[0062] The average pixel color value acquisition module 310 is used to obtain the average value of the pixels at the intersection of all reflected light vectors and cube-level texture maps of a pixel point on the model as the average pixel color value of the pixel point in the model;

[0063] The highlight value acquisition module 320 is configured to obtain the highlight value of the pixel point in the model according to the average pixel color value and the Fresnel coefficient of the pixel point on the model.

[0064] The invention adopts texture maps to realize the reflection of light from the surrounding environment by the model, and renders the surrounding environment on the model, so that the visual effect of the model is...

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 method and device for controlling specular reflection definition by mapping. The method comprises the steps of acquiring an average value of pixel colors of points in which all reflection ray vectors of a pixel point in a model are intersected with a cube-level mapping plane, and treating the average value as the average pixel color value of the pixel point; obtaining an specular value of the pixel point in the model according to the average pixel color value of the pixel point in the model and fresnel coefficients. According to the method and device, the surrounding environment is rendered to the model by mapping, the glossiness of gloss mapping can be adjusted to control the model to reflect the definition of the surrounding environment, and therefore, the model has the effect of real vision.

Description

technical field [0001] The invention relates to the field of computer graphics, in particular to a method and device for controlling the definition of high-light reflection by using texture maps. Background technique [0002] One of the main purposes of computer graphics is to use computers to produce pleasing realistic graphics. It is necessary to establish a geometric representation of the scene described by the graphics, and then use a certain lighting model to calculate the lighting under the imaginary light and shadow, texture, and material properties. Effect. Therefore, optical research has attracted widespread attention. The specular reflection of a curved surface is an optical phenomenon. When light is irradiated on a smooth plane, specular reflection will occur. When light is irradiated on an uneven plane, diffuse reflection will occur. Reflection, both obey the law of reflection of light. When the light shines on different materials, the effect is different, such...

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
IPC IPC(8): G06T15/50
CPCG06T15/506
Inventor 张翼
Owner WUXI FANTIAN INFORMATION TECH
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