Patent ID: 7274372

Claim:
A method for displaying a three-dimensional (3D) digital engraving image comprising: creating a texture for application to a 3D mesh of the 3D digital engraving image, the texture including a two dimensional array of pixels having a top diagonal half colored a first color with remaining pixels of the array colored a second color; determining minimum and maximum V texture coordinate values for vertices of the 3D mesh; setting texture coordinates (U, V) of each vertex of the 3D mesh; and displaying the 3D digital engraving image; wherein setting the texture coordinates (U, V) includes: determining a source of light in a scene represented by the 3D mesh, transforming the light source into the 3D mesh's coordinate system, and for each vertex of the 3D mesh, retrieving texture coordinates from a selected texture layer and a normal of the vertex, computing a V texture coordinate using the dot product of the light direction and the normal, and setting the V texture coordinate between the minimum and maximum V texture coordinate values.