Depth based blending for 3D graphics systems
First Claim
1. An apparatus for shading a three dimensional computer graphic image comprising a) means for supplying data defining objects to be inserted into the image, the data including depth data relating to the object;
- b) means for storing depth data for objects already inserted into the image;
c) means for comparing the depth of an object to be inserted with currently stored depth data for a pixel, at each pixel covered by the object to be inserted into the image;
d) means for selecting a depth operation to be applied to the means for storing depth data in dependence on the result of the comparison;
e) means for selecting a blending value, for each pixel for combining the object with the image, in dependence on the selected depth operation;
f) means for combining the object with the image in proportions dependent upon the selected blending value;
g) means for modifying the result of the selected depth operation such that it is suitable for use in an alpha blending operation.
0 Assignments
0 Petitions
Accused Products
Abstract
Three dimensional computer graphic images are shaded by first supplying data which defines the objects to be inserted into the image, this data including depth data relating to the objects. A depth store (4) includes data for objects already inserted into the image and a depth comparison unit (6) compares the depth of an object to be inserted with the currently stored depth data for a particular pixel. The result of this is used to determine which of a number of depth operations is to be applied to the depth store (4). A blending value is selected for each pixel for combining the object with the image in dependence on the selected depth operation. A combining unit then combines the object with the image in proportions dependent upon the selecting blending value.
10 Citations
8 Claims
-
1. An apparatus for shading a three dimensional computer graphic image comprising
a) means for supplying data defining objects to be inserted into the image, the data including depth data relating to the object; -
b) means for storing depth data for objects already inserted into the image;
c) means for comparing the depth of an object to be inserted with currently stored depth data for a pixel, at each pixel covered by the object to be inserted into the image;
d) means for selecting a depth operation to be applied to the means for storing depth data in dependence on the result of the comparison;
e) means for selecting a blending value, for each pixel for combining the object with the image, in dependence on the selected depth operation;
f) means for combining the object with the image in proportions dependent upon the selected blending value;
g) means for modifying the result of the selected depth operation such that it is suitable for use in an alpha blending operation. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. Apparatus for shading a three dimensional computer graphic image which includes objects which are at least partially translucent comprising:
-
a) means for supplying data defining objects to be inserted into the image;
b) means for storing depth data for objects in the image;
c) means for comparing the depth of an object to be inserted into the image with currently stored depth data for a pixel, at each pixel covered by the object;
d) means for selecting a blending value to combine the object with the image in dependence on the result or the comparison and on the translucency of the object at that pixel;
e) means for combining the object with the image in dependence on the selected blending value.
-
-
8. A method for shading in three dimensional computer graphic image which includes objects which are at least partially translucent comprising the steps of:
-
a) supplying data defining objects to be inserted into the image;
b) storing depth data or objects in the image;
c) comparing the depth of an object to be inserted into the image with currently stored depth data for a pixel, at each pixel covered by the object;
d) selecting a blending value to combine the object with the image in dependence on the result of the comparison and on the translucency of the object at that pixel;
e) combining the object with the image in dependence on the selected blending value.
-
Specification