System, method and article of manufacture for anisotropic texture sampling
AssigneeNVIDIA Corporation
InventorSean J. Treichler
Life of this patent
Estimating the term…
Abstract
A system, method and article of manufacture are provided for anisotropic filtering during texture sampling. A description of a region, e.g. pixel footprint in a source image, to be texture sampled is initially received. Thereafter, the region is subdivided based on the description into a plurality of samples with a predetermined shape for mapping textures onto the samples. By subdividing the region in the source image into a plurality of samples having a predetermined shape, the region may be covered by samples that may be configured to be more suitable for an underlying process such as MIP mapping, thus allowing efficient texture sampling while reducing blurring, aliasing and other visual artifacts.
Claims26
A method for anisotropic filtering during texture sampling, comprising:
- receiving a description of a region to be texture sampled;
- and
- subdividing the region based on the description into a plurality of samples with a predetermined shape for mapping textures onto the samples;
- wherein subdividing the region includes calculating a length of the region, and calculating an area of the region, wherein the subdivision is determined based on the calculated length and area;
- wherein the subdivision is determined based on an aspect ratio (r) which equals the length squared divided by the area.
A method for anisotropic filtering during texture sampling, comprising:
- receiving a description of a region to be texture sampled;
- determining whether the region has a rectangular configuration;
- approximating a rectangular shape corresponding to the region if the region does not have a rectangular configuration;
- and
- subdividing the region based on the description into a plurality of samples with a predetermined shape for mapping textures onto the samples.
A computer program embodied on a computer readable medium for anisotropic filtering during texture sampling, comprising:
- a code segment for receiving a description of a region to be texture sampled;
- a code segment for determining whether the region has a rectangular configuration;
- a code segment for approximating a rectangular shape corresponding to the region if the region does not have a rectangular configuration;
- and
- a code segment for subdividing the region based on the description into a plurality of samples with a predetermined shape for mapping textures onto the samples.
A computer program embodied on a computer readable medium for anisotropic filtering during texture sampling, comprising:
- a code segment for receiving a description of a region to be texture sampled;
- and
- a code segment for subdividing the region based on the description into a plurality of samples with a predetermined shape for mapping textures onto the samples;
- wherein the code segment for subdividing the region includes a code segment for calculating a length of the region, and a code segment for calculating an area of the region, wherein the subdivision is determined based on the calculated length and area;
- wherein the subdivision is determined based on an aspect ratio (r) which equals the length squared divided by the area.
Dependencies are inferred from the claim text.