Question about NeHe tutorial ( #35 I think)

I have a question on the AVI texture OpenGL tutorial on Nehe’s site. It’s great, but does anyone know why when the avi becomes a texture it’s seems more pixelated than when it was just an avi file? Is there any way to preserve the resolution when the AVI becomes a texture?


if you want better quality, you should move from point sampling to bilinear interpolation :
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_NEAREST);// Set Texture Max Filter
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_NEAREST);// Set Texture Min Filter
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);// Set Texture Max Filter
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR);// Set Texture Min Filter

(Tip : read NeHe’s comments in the tutorial, it’s all explained)