Claims
- 1. A method for texture tiling comprising the steps of:associating a texture image with adjacency information that identifies at least one border texture adjacent to the texture image in at least one respective tiling direction; loading the texture image and each respective adjacent border texture in texture memory; and mapping at least a portion of a graphics primitive to at least one adjacent bordering texture identified by the adjacency information, comprising clamping the texture image and each respective adjacent border texture, and summing the resultant texture images.
- 2. The method of claim 1, wherein said mapping step comprises the steps of:evaluating texture coordinate values to determine when texture coordinates are outside a range of the texture image being texture mapped; and determining which adjacent border texture corresponds to the texture coordinates evaluated to be outside the texture image.
- 3. The method of claim 2, wherein said determining step comprises determining which adjacent border texture corresponds to the texture coordinates evaluated to be outside the texture image based on the adjacency information.
- 4. The method of claim 2, wherein said mapping step comprises the steps of:sampling addresses from adjacent border textures that correspond to the texture coordinates evaluated to be outside the texture image based on the adjacency information; and fetching texture samples from a memory based on said addresses sampled in sampling step.
- 5. A The method of claim 1, and wherein said associating step includes supplying the adjacency information that identifies each adjacent border texture.
- 6. The method of claim 1, wherein the adjacency information identifies three border textures adjacent to the texture image in three respective tiling directions, and wherein said associating step includes supplying the adjacency information that identifies each adjacent border texture.
- 7. The method of claim 1, wherein the adjacency information identifies eight border textures adjacent to the texture image in eight respective tiling directions, and wherein said associating step includes supplying the adjacency information that identifies each adjacent border texture.
- 8. The method of claim 1, wherein said mapping step includes mapping at least a portion of the graphics primitive to the loaded texture image and each respective adjacent border texture with multiple texture units.
- 9. The method of claim 1, wherein said summing the resultant texture images step include performing OPENGL add operations.
- 10. A system for texture tiling comprising:means for associating a texture image with adjacency information that identifies at least one border texture adjacent to the texture image in at least one respective tiling direction; means for loading the texture image and each respective adjacent border texture in texture memory; and means for mapping at least a portion of a graphics primitive to at least one adjacent border texture identified by the adjacency information, comprising means for clamping the texture image and each respective adjacent border texture, and means for summing the resultant texture images.
- 11. The system of claim 10, wherein said mapping means comprises:means for evaluating texture coordinate values to determine when texture coordinates outside a range of the texture image; and means for determining which adjacent border texture corresponds to the texture coordinates evaluated to be outside the texture image.
- 12. The system of claim 11, wherein said determining means comprises means for determining which adjacent border texture corresponds to the texture coordinates evaluated to be outside the texture image based on the adjacency information.
- 13. The system of claim 11, wherein said mapping means comprises:means for sampling addresses from adjacent border textures that correspond to the texture coordinates evaluated to be outside the texture image based on the adjacency information; and means for fetching texture samples from a memory based on said addresses sampled by said sampling means.
- 14. The system of claim 10, wherein the adjacency information identifies three border textures adjacent to the texture image in three respective tiling directions.
- 15. The system of claim 10, wherein the adjacency information identifies eight border textures adjacent to the texture image in eight respective tiling directions.
- 16. The system of claim 10, wherein said mapping means includes multiple texture units that map at least a portion of the graphics primitive to the loaded texture image and to each respective adjacent border texture.
- 17. The system of claim 10, wherein said summing means performs OPENGL add operations to sum the resultant texture images.
- 18. A method for texture processing comprising the steps of:storing a base texture image and adjacent border textures in texture memory; for each set of texture coordinate values outside a range of the base texture image, determining a tiling direction based on the location of texture coordinate value outside the range of the base texture image; determining an adjacent border texture which corresponds to the determined tiling direction; and fetching texture samples from the adjacent border texture.
CROSS-REFERENCE TO RELATED APPLICATIONS
This application claims the benefit of U.S. Provisional Application No. 60/238,128, filed Oct. 6, 2000, the full text of which is incorporated herein by reference as if reproduced in full below.
US Referenced Citations (3)
Number |
Name |
Date |
Kind |
5230039 |
Grossman et al. |
Jul 1993 |
A |
5461712 |
Chelstowski et al. |
Oct 1995 |
A |
5815157 |
Bowen |
Sep 1998 |
A |
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/238128 |
Oct 2000 |
US |