Patent ID: 6839065
Filing Date: 2005-01-04
Classification: G06T

Abstract:
1. A method for producing the bump mapping effect for a 3D object in a computer graphic, the method comprising: producing a shading vector at a point on a surface of the 3D object; determining a shift coordinate with respect to the point, wherein the shift coordinate is equal to a product of the components of the shading vector on a X-Y plane and a coefficient of an emboss radius; setting up a rotational calculation matrix, wherein the rotational calculation matrix includes a plurality of coefficient quantities for the matrix, and the coefficient quantities of the matrix are determined by the shift coordinate; calculating a diffuse color value with respect to the point, wherein the diffuse color value is equal to a difference between an adjacent rotation color value to the point and an averaged color value, wherein the averaged color value is defined as a sum and average of the color channels for R, G, and B with respect to the point, and the adjacent rotation color value is defined as a sum of the averaged color value with respect to a plurality of adjacent points and a coefficient product with respect to the adjacent points in the rotational calculation matrix; calculating an emboss image value at the point, wherein the color channels of R, G, and B of the emboss image value are respectively equal to a product of the color channels of R, G, and B at the point being subtracted by the diffuse color value, and a coefficient for an emboss effect; and repeating the foregoing steps, so as to calculate the emboss image value at each point of the surface of the 3D object.