Method and system for producing volume shade

A shadow and volume technology, applied in the computer field, can solve the problems of increasing system overhead, time-consuming, and large number of vertices, and achieve the effect of reducing resource overhead, reducing data interaction, and reducing the number of vertices
CN101145246AActive Publication Date: 2008-03-19TENCENT TECH (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Applications(China)
Current Assignee / Owner
TENCENT TECH (SHENZHEN) CO LTD
Publication Date
2008-03-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method for producing volume shades, and the method comprises adding an auxiliary vertex for each vertex of the three-dimensional model of an object; rendering the three-dimensional model of the object with a color different from the background color and transforming the vertexes of the rendered three-dimensional model of the object to a screen space to obtained the screen position of each vertex; sampling the texture obtained after rendering at a plurality of pixel positions around pixel points corresponding to the screen position of each vertex; confirming the vertexes belonging to the object contour edges according to the color values of the sampled texture; and deviating the auxiliary vertexes of the vertexes belonging to the object contour edges to produce the volume shade. The method not only reduces the processing amount of vertex data of the three-dimensional model of the object and improves the efficiency of producing volume shades, but also lowers the system cost. The invention also discloses a system for producing volume shades.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computer technology, in particular to a method and system for generating volume shadows. Background technique

[0002] When there is an obstacle between an object and the light source, the object will be in shadow. The shadowed areas created by obstacles are called volume shadows. Volumetric shadows can be obtained by extending silhouette edges to a certain distance or to infinity. There are many ways to determine the silhouette edge. The basic method is to determine the edge shared by two triangles facing opposite (one facing the light source and the other facing away from the light source), because only such an edge will eventually become a silhouette edge, and the other Edges appear to the light source to be inside the object's projection rather than the edge. Figure 1A shows a schematic diagram of the contour edge. In this figure, the ab edge is the common edge of the surface V0 and the surface V1. silhouet...

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