Method and Apparatus for Processing Texture Mapping in Computer Graphics by Biasing Level of Detail According to Image Content and Computer Readable Storage Medium Storing the Method
First Claim
1. A method for processing texture mapping in computer graphics by biasing level of detail (LOD) according to image content, the method comprising:
- (a) receiving a texture request for fetching a target texel, wherein the texture request comprises a target texture coordinate at a target LOD of a target texture mipmap corresponding to the target texel;
(b) looking up a target level of content (LOC) bias map corresponding to the target texture mipmap according to the target texture coordinate and the target LOD to fetch a target LOC bias value corresponding to the target texture coordinate at the target LOD;
(c) calculating a replacement LOD according to the target LOD and the target LOC bias value;
(d) fetching a replacement texel at a corresponding coordinate, which corresponds to the target texture coordinate, at the replacement LOD of the target texture mipmap; and
(e) processing image filtering according to the replacement texel.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for processing texture mapping by biasing level of detail (LOD) according to image content includes: a texture request for fetching a target texel is received. The texture request includes a target texture coordinate at a target LOD of a target texture mipmap corresponding to the target texel. A target level of content (LOC) bias map corresponding to the target texture mipmap is looked up according to the target texture coordinate and the target LOD to fetch a target LOC bias value corresponding to the target texture coordinate at the target LOD. A replacement LOD is calculated according to the target LOD and the target LOC bias value. A replacement texel is fetched at a corresponding coordinate, which corresponds to the target texture coordinate, at the replacement LOD of the target texture mipmap. Texture filtering is processed according to the replacement texel.
-
Citations
10 Claims
-
1. A method for processing texture mapping in computer graphics by biasing level of detail (LOD) according to image content, the method comprising:
-
(a) receiving a texture request for fetching a target texel, wherein the texture request comprises a target texture coordinate at a target LOD of a target texture mipmap corresponding to the target texel; (b) looking up a target level of content (LOC) bias map corresponding to the target texture mipmap according to the target texture coordinate and the target LOD to fetch a target LOC bias value corresponding to the target texture coordinate at the target LOD; (c) calculating a replacement LOD according to the target LOD and the target LOC bias value; (d) fetching a replacement texel at a corresponding coordinate, which corresponds to the target texture coordinate, at the replacement LOD of the target texture mipmap; and (e) processing image filtering according to the replacement texel. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus for processing three-dimensional texture mapping by biasing level of detail (LOD) according to image content, the apparatus comprising:
-
a shader processor which transmits a texture request for fetching a target texel, wherein the texture request comprises a target texture coordinate at a target LOD of a target texture mipmap corresponding to the target texel; a texture filter; and a texture generator electrically connected to the shader processor and the texture filter, wherein the texture generator comprises; a look-up module which looks up a target LOC bias map corresponding to the target texture mipmap according to the target texture coordinate and the target LOD to fetch a target LOC bias value corresponding to the target texture coordinate at the target LOD; an LOD calculating module which calculates a replacement LOD according to the target LOD and the target LOC bias value; and a texel-fetching module which fetches a replacement texel at a corresponding coordinate, which corresponds to the target texture coordinate, at the replacement LOD of the target texture mipmap, wherein the texture filter processes 3D image filtering according to the replacement texel. - View Dependent Claims (8, 9)
-
-
10. A computer readable storage medium with a computer program to execute a method for processing three-dimensional (3D) texture mapping by selecting level of detail (LOD) according to image content, wherein the method for processing texture mapping comprises:
-
(a) receiving a texture request for fetching a target texel, wherein the texture request comprises a target texture coordinate at a target LOD of a target texture mipmap corresponding to the target texel; (b) looking up a target LOC bias map corresponding to the target texture mipmap according to the target texture coordinate and the target LOD to fetch a target LOC bias value corresponding to the target texture coordinate at the target LOD; (c) calculating a replacement LOD according to the target LOD and the target LOC bias value; (d) fetching a replacement texel at a corresponding coordinate, which corresponds to the target texture coordinate, at the replacement LOD of the target texture mipmap; and (e) processing image filtering according to the replacement texel.
-
Specification