|
|
|
|
|
Clipping PathIn computer graphics, A clipping path describes a path, or shape, used to cut out an image. Anything inside the path will be included after the clipping path is applied; anything outside the path will be omitted from the output. Applying the clipping path results in a hard edge. As an analogy, think of a cookie cutter. The shape of the cookie cutter describes the clipping path. The dough is analogous to the image the path is applied to. After the cutter is pressed in, everything outside of it is removed. The remaining image (or cookie in the analogy) has a clearly defined edge. In many graphics display systems, the inside of the path is defined by the direction of the path. To change the sense of inside and outside for the path, reverse the direction of the path. One common use of a clipping path is to cull objects that do not need to be rendered because they are outside the user's viewport. Clipping causes trouble in computer game graphics because the extremely abrupt cut caused by it results in a detraction from the realism of a game. An example would be the sub-DirectX 9 water shaders of Half-Life 2, which are unintervened by the normal mapping of HL2's DX9 shaders.
|
 |
|
| Copyright 2005-2009 OnPedia.com. All Rights Reserved |
|
|