Creating texture data outside of a chart boundary
AssigneeNVIDIA Corporation
InventorsDouglas H. Rogers, Kevin Bjorke
Life of this patent
Estimating the term…
Abstract
Discontinuities along texture mapped seams of three-dimensional models may be reduced by creating and sampling texture data outside of chart boundaries. When a texel center is not within a chart boundary (a group of connected triangles in texture space) a phantom face is generated that includes the texel center. Phantom texture coordinates are created for each texel center that is covered by the phantom face. The phantom texture coordinates are used to read a texture sample from another chart in texture space that is adjacent to the chart boundary in model space, producing a smooth transition across the seam.
Claims19
A computer-implemented method for creating a phantom face to obtain texture data outside of a chart boundary, the method comprising:
- determining a texel is partially covered by a first face of a first chart included in an atlas stored in a memory and that a sampling position within the texel is outside of the first chart;
- identifying a second face of a second chart included in the atlas stored in the memory that is adjacent to the first face in model space and that is not adjacent to the first face in texture space;
- projecting the second face in texture space to produce the phantom face that covers the sampling position within the texel and shares an edge with the first face, wherein the edge intersects the texel;
- and
- displaying on a display device a pixel associated with a three-dimensional (3D) graphics object based on the phantom face, wherein the 3D graphics object is included in a 3D modeling application stored in the memory and executed by a processor.
A computer-readable storage medium storing instructions that, when executed by a programmable graphics processor, cause a computer system to create a phantom face to obtain texture data outside of a chart boundary, by performing the steps of:
- determining a texel is partially covered by a first face of a first chart and that a sampling position within the texel is outside of the first chart;
- identifying a second face of a second chart that is adjacent to the first face in model space and that is not adjacent to the first face in texture space;
- and
- projecting the second face in texture space to produce the phantom face that covers the sampling position within the texel and shares an edge with the first face, wherein the edge intersects the texel.
A computing system for creating a phantom face to obtain texture data outside of a first chart boundary, the computing system comprising:
- a memory storing an atlas that includes a first chart and a second chart;
- and
- a processor, including:
- a phantom face generation unit configured to create the phantom face adjacent to a face of the first chart to sample texture data for a sampling point of a texel that is not covered by the face of the first chart and is partially within the first chart boundary, and
- a phantom texel unit configured to compute a weight corresponding to a texel within the phantom face and use the weight to obtain texture data from the second chart that is outside of the first chart boundary,
- wherein the phantom face generation unit projects a face of the second chart to produce the phantom face.
Dependencies are inferred from the claim text.