Method and system for producing volume shade
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 2 Figure 3
Abstract
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...