MatCap algorithm for texture sampling based on line-of-sight direction

A line of sight, texture technology, applied in computing, image data processing, instruments, etc., can solve single problems and achieve the effect of accurate texture sampling

Inactive Publication Date: 2018-10-16
武汉山骁科技有限公司
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. When the model is completely flat, because the normal direction of all vertices is the same,

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
  • MatCap algorithm for texture sampling based on line-of-sight direction
  • MatCap algorithm for texture sampling based on line-of-sight direction
  • MatCap algorithm for texture sampling based on line-of-sight direction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0026] A kind of MatCap algorithm based on line-of-sight texture sampling of the present invention comprises the following steps:

[0027] Step 1. Normalize the line-of-sight direction vector from the object surface to the camera position provided by the engine in the workspace, and use it as the z-direction base vector of the new transformation matrix

[0028] Step 2. Transform the vector (0,1,0) from the camera space to the world space to get

[0029] Step 3. The basis vector obtained in step 1 and Perform cross multiplication to obtain the base vector in the x direction of the new trans...

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 relates to a MatCap algorithm for texture sampling based on a line-of-sight direction. A new transformation matrix is used for transforming the new Matcap algorithm of vertex normals, obtained results are equally accurate at any position in the field of view, there is no offset, and accurate texture sampling based on the line-of-sight direction is achieved.

Description

technical field [0001] The invention relates to the technical field of computer graphics processing, in particular to a MatCap algorithm based on line-of-sight texture sampling. Background technique [0002] MatCap (Material Capture) is a common computer graphics technology at present. It uses the model surface normal to transform from world space to camera space, and then maps the value range of the transformed xy component from [-1, 1] to [0, 1], and then use it as the UV value to sample the texture. This approach is cheap on computer performance and works well on non-flat surfaces. In common applications, the texture used by Matcap looks like a sphere that simulates a certain material, making the model look the same texture. The famous sculpting software Zbrush uses Matcap material. But there will be following defects: [0003] 1. When the model is completely flat, because the normal direction of all vertices is the same, the UV coordinates sampled on the texture are a...

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): G06T3/00G06T7/40
CPCG06T3/0012G06T7/40
Inventor 杨子毅
Owner 武汉山骁科技有限公司
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