Distance-field Texture Interpolation Optimizations
First Claim
1. A method comprising, by a computing system:
- determining a sampling location within a texture that comprises a plurality of texels, wherein each texel encodes a distance field indicating;
a distance between the texel and an edge depicted in the texture; and
an indicator indicating whether the texel is on a first predetermined side of the edge or a second predetermined side of the edge;
selecting, based on the sampling location, a set of texels in the plurality of texels to use to determine a color for the sampling location;
determining that the set of texels have indicators that are the same; and
determining, using the indicator of any texel in the set of texels, the color for the sampling location.
2 Assignments
0 Petitions
Accused Products
Abstract
In one embodiment, a method for determining the color for a sampling location may include using a computing system to determine a sampling location within a texture that comprises a plurality of texels. Each texel may encode a distance field indicating a distance between the texel and an edge depicted in the texture and an indicator indicating whether the texel is on a first predetermined side of the edge or a second predetermined side of the edge. The system may select, based on the sampling location, a set of texels in the plurality of texels to use to determine a color for the sampling location. The system may determine that the set of texels have indicators that are the same. The system may then determine, using the indicator of any texel in the set of texels, the color for the sampling location.
-
Citations
20 Claims
-
1. A method comprising, by a computing system:
-
determining a sampling location within a texture that comprises a plurality of texels, wherein each texel encodes a distance field indicating; a distance between the texel and an edge depicted in the texture; and an indicator indicating whether the texel is on a first predetermined side of the edge or a second predetermined side of the edge; selecting, based on the sampling location, a set of texels in the plurality of texels to use to determine a color for the sampling location; determining that the set of texels have indicators that are the same; and determining, using the indicator of any texel in the set of texels, the color for the sampling location. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
one or more processors; and one or more computer-readable non-transitory storage media coupled to one or more of the processors and comprising instructions operable when executed by one or more of the processors to cause the system to; determine a sampling location within a texture that comprises a plurality of texels, wherein each texel encodes a distance field indicating; a distance between the texel and an edge depicted in the texture; and an indicator indicating whether the texel is on a first predetermined side of the edge or a second predetermined side of the edge; select, based on the sampling location, a set of texels in the plurality of texels to use to determine a color for the sampling location; determine that the set of texels have indicators that are the same; and determine, using the indicator of any texel in the set of texels, the color for the sampling location. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. One or more computer-readable non-transitory storage media embodying software that is operable when executed to:
-
determine a sampling location within a texture that comprises a plurality of texels, wherein each texel encodes a distance field indicating; a distance between the texel and an edge depicted in the texture; and an indicator indicating whether the texel is on a first predetermined side of the edge or a second predetermined side of the edge; select, based on the sampling location, a set of texels in the plurality of texels to use to determine a color for the sampling location; determine that the set of texels have indicators that are the same; and determine, using the indicator of any texel in the set of texels, the color for the sampling location. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification