Claims
- 1. A method for texture tiling comprising the step of:
associating a texture image with adjacency information.
- 2. The method of claim 1, further comprising the step of:
mapping at least a portion of a graphics primitive to at least one adjacent border texture identified by the adjacency information.
- 3. The method of claim 2, 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.
- 4. The method of claim 3, 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.
- 5. The method of claim 3, 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.
- 6. The method of claim 1, wherein the adjacency information identifies at least one border texture adjacent to the texture image in at least one respective tiling direction, 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 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.
- 8. 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.
- 9. The method of claim 1, wherein the adjacency information identifies at least one border texture adjacent to the texture image in at least one respective tiling direction, and further comprising:
loading the texture image and each respective adjacent border texture in texture memory prior to said mapping step.
- 10. The method of claim 9, 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.
- 11. The method of claim 9, wherein said mapping step includes the steps of:
clamping the texture image and each respective adjacent border texture to a black border; and summing the resultant texture images.
- 12. The method of claim 11, wherein said summing the resultant texture images step include performing OPENGL add operations.
- 13. A system for texture tiling comprising:
means for associating a texture image with adjacency information; and means for mapping at least a portion of a graphics primitive to at least one adjacent border texture identified by the adjacency information.
- 14. The system of claim 13, wherein said mapping means comprises:
means for evaluating texture coordinate values to determine when texture coordinates are 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.
- 15. The system of claim 14, 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.
- 16. The system of claim 14, 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.
- 17. The system of claim 13, wherein the adjacency information identifies at least one border texture adjacent to the texture image in at least one respective tiling direction.
- 18. The system of claim 13, wherein the adjacency information identifies three border textures adjacent to the texture image in three respective tiling directions.
- 19. The system of claim 13, wherein the adjacency information identifies eight border textures adjacent to the texture image in eight respective tiling directions.
- 20. The system of claim 13, wherein the adjacency information identifies at least one border texture adjacent to the texture image in at least one respective tiling direction, and further comprising:
means for loading the texture image and each respective adjacent border texture in texture memory.
- 21. The system of claim 20, 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.
- 22. The system of claim 20, wherein said mapping means includes:
means for clamping the texture image and each respective adjacent border texture to a black border; and means for summing the resultant texture images.
- 23. The system of claim 22, further comprising an OPENGL API, wherein said summing means performs OPENGL add operations to sum the resultant texture images.
- 24. 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
[0001] 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.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60238128 |
Oct 2000 |
US |