samedi 9 juillet 2016

What happens in the case of nearest neighbour interpolation OpenGL centre of pixels


What happens when a nearest neighbour interpolation occurs where the pixel for which the nearest neighbour interpolation is being calculated in texture is at the same distance from two neighbouring pixels, and the pixel falls equal distance in length from the two pixels that it is trying to correctly interpolate for a new pixel in the case of magnification.

Does OpenGL take the two pixels and interpolate a colour from the texture by taking an average value from the two at same length distance or something else happens?


Aucun commentaire:

Enregistrer un commentaire