Shader classification method and device based on surface signal fitting and tessellation and graphics rendering method

A shader simplification and surface subdivision technology, applied in the field of graphics rendering, can solve problems such as unrealistic shaders, achieve the effects of speeding up calculation time, simplifying calculations, and reducing rendering errors

Active Publication Date: 2014-12-03
ZHEJIANG SENSETIME TECH DEV CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Mesh reorganization approximations are impractical for shader optimization due to shader input constraints

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
  • Shader classification method and device based on surface signal fitting and tessellation and graphics rendering method
  • Shader classification method and device based on surface signal fitting and tessellation and graphics rendering method
  • Shader classification method and device based on surface signal fitting and tessellation and graphics rendering method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0096] The present invention will be described in detail below in conjunction with specific embodiments and accompanying drawings.

[0097] The primitive shaders to be simplified in this embodiment include primitive vertex shaders and primitive pixel shaders. The simplification principle of a shader simplification method based on surface signal fitting and surface subdivision is as follows: figure 1 shown, including:

[0098] (1) Set several groups of subdivision parameters, subdivide the rendering model according to each group of subdivision parameters through the calculation method of the fixed subdivision function in the graphics hardware pipeline, and obtain the corresponding subdivision model.

[0099] Each group of subdivision parameters includes: the number of layers of subdivision within each primitive, the number of subdivisions of each side of each primitive when subdividing each layer, and the subdivision step size. For triangle primitives, 3 side length subdivisi...

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 shader classification method and device based on surface signal fitting and tessellation and a graphics rendering method. A subdivision shader and a geometry shader are inserted into an original shader by utilizing a tessellation method to subdivide a rendering model, a fitting machine is used for calculating the values of a variable and an expression, in a corresponding subdivision pel of the subdivision model, in an original pixel shader, and the formed fitting machine is inserted into the original pixel shader to replace value calculation to the corresponding variable or expression so as to simplify the calculation of the original pixel shader and shorten calculation time. Furthermore, since the subdivision shader and the geometry shader are inserted, fitting calculation can be carried out on the subdivision pel so as to improve fitting precision and reduce rendering errors brought by simplifying the shader.

Description

technical field [0001] The invention relates to the technical field of graphics rendering, in particular to a shader simplification method and device based on surface signal fitting and surface subdivision, and a graphics rendering method. Background technique [0002] The shader replaces the traditional fixed rendering pipeline, and can realize related calculations in 3D graphics computing. Due to its editability, it can realize various image effects without being limited by the fixed rendering pipeline of the graphics card. This greatly improves the image quality. The latest GPU pipeline provides 5 shaders. The shaders are Vertex Shader, Hull Shader, Domain Shader and Geometry Shader from top to bottom. And the pixel shader (Fragment Shader). All shaders can be divided into 3 categories by function. The first type of shader is the vertex shader, which processes vertex information and projects the spatial position of the vertex on the screen, that is, calculates the two-...

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 Applications(China)
IPC IPC(8): G06T15/10
Inventor 王锐鲍虎军杨先津袁亚振
Owner ZHEJIANG SENSETIME TECH DEV CO LTD
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