13-04-2017 дата публикации
Номер: US20170103565A1
Автор:
Seonghun JEONG,
Sangheon LEE,
Sunmin KWON,
Hoyoung KIM,
Heejun SHIM,
JEONG SEONGHUN,
LEE SANGHEON,
KWON SUNMIN,
KIM HOYOUNG,
SHIM HEEJUN,
JEONG Seonghun,
LEE Sangheon,
KWON Sunmin,
KIM Hoyoung,
SHIM Heejun
A method and a device for texture filtering include determining an upper mipmap and a lower mipmap based on a level of detail (LOD) value corresponding to a quad, obtaining first color values corresponding to the upper mipmap, obtaining second color values corresponding to the lower mipmap, and obtaining third color values of the pixels of the quad by using linear interpolation, based on the obtained first and second color values. 1. A method of texture filtering , the method comprising:determining an upper mipmap and a lower mipmap based on a level of detail (LOD) value corresponding to a quad;obtaining first color values, which are color values of the pixels comprised in the quad, corresponding to the upper mipmap, by using a coordinate representing coordinates of the pixels comprised in the quad, when each pixel comprised in the quad and each corresponding texel of the upper mipmap match;obtaining second color values, which are color values of the pixels comprised in the quad, in which the color values of the pixels correspond to the lower mipmap, with respect to each pixel comprised in the quad; andobtaining third color values of the pixels of the quad by using linear interpolation, based on the obtained first and second color values.2. The method of claim 1 , whereinthe coordinate comprises a center coordinate located in a center of coordinates of the pixels comprised in the quad, andthe obtaining of the first color values comprises obtaining the first color values by using bilinear interpolation, based on the center coordinate, a coordinate located in a center of each texel corresponding to the pixels comprised in the quad, and a color value of each texel corresponding to the pixels comprised in the quad.3. The method of claim 1 , whereinthe obtaining of the first color values comprises obtaining the first color values by using a color value of a closest texel from the upper mipmap when each pixel comprised in the quad does not match the corresponding texels ...
Подробнее