A method and device for controlling the definition of high light reflection by using texture
A technology of high light reflection and clarity, applied in 3D image processing, image data processing, instruments, etc., can solve the problems of ignoring model reflection, surface optimization without high light reflection, difficult to meet the requirements of photo-level scene objects, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
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