摘要 |
Efficient techniques for blurring an image based on depth within a 3D graphics system allow an artist or programmer to specify one or more depth thresholds. Pixels having depths that are further away than a particular dep th threshold are blurred more than pixels having depths that are closer than th e depth threshold. Efficient summing/averaging techniques can be used to blend a variable number of neighboring pixel colors (the number of pixels blended being selected based on pixel depth) to provide depth-based blur. An enhancement blends only those pixels that are further away than the.target pixel. Using such techniques, display surfaces that are further away from the viewpoint appear blurred and less distinct than surfaces that are closer to the viewpoint. Th e resulting visual effects can efficiently create more realistic images for a number of applications such as, for example, driving games, games in which a character travels progressively along a path, etc.
|