Im my OpenGL application I am attempting to create Mipmaps using glTexImage2D. I am not using gluBuild2DMipmaps for two reasons:
-I do not want to use glu in my program
-I prefer to learn how to do something without an external library as my crutch
Therefore in an attempt to reduce image degredation during the resizing proccess, for every level of reduction I am following this procedure:
Target texel = Average(Source Texel + Surrounding Texels)
Thus a texels properties are defined by an average between the visible source texel and the culled surrounding (3 to 8) texels.
However, despite this effort there are still visible artifacts in the mipmaps.
What image filtering procedures exist that will eliminate artifacts and produce a smooth reduction, and where can documentation of the methods/algorithms be found? Or, is there any other useful advice to be offered by the OpenGL veterans of the opengl.org forums?