Patent ID: 7057623
Filing Date: 2006-06-06
Classification: G06T

Abstract:
1. A method of calculating a texture coordinate for a texture map having a size from an input texture coordinate value located in one of a plurality of predefined input ranges, comprising: calculating a plurality of signed texture coordinate values corresponding to the plurality of predefined input coordinate ranges, where the sign of the input texture coordinate value is negative, calculating a first value A=[input+(1*tex_size)] and a second value B=[input+(2*tex_size)], and otherwise, calculating a first value A=[input−(1*tex_size)] and a second value B=[input−(2*tex_size)], input is the input texture coordinate value and tex_size is the size of the texture map; concurrently receiving the plurality of signed texture coordinate values and the input texture coordinate value; and selecting an output texture coordinate from the plurality of calculated texture coordinate values and the input texture coordinate value, where the sign of the input texture coordinate value is negative, selecting B when (A<0), otherwise selecting A as the corresponding texture coordinate, and where the input texture coordinate value is equal to zero or the sign of the input texture coordinate is positive, selecting the input texture coordinate value when (A<0), selecting A when (B<0), and selecting B otherwise.