PDA

View Full Version : Is there a generic blur function for OpenGL?



molmsted
09-20-2001, 08:31 AM
I am working on a texture mapping project and my textures seem very aliased. Is there a way to do some sort of blend function the does a simle blur?

DaViper
09-20-2001, 08:36 AM
hmm I don't understand what blend Functions have to do with blur.

When you are talking about interpolation of color values you might want to set your TexParameters to GL_LINEAR.
http://www.eecs.tulane.edu/www/graphics/doc/OpenGL-Man-Pages/glTexParameter.html

Chris

zed
09-20-2001, 04:48 PM
perhaps u mean mipmapping u can use gluBuildMipmaps(...) to autocreate the mipmaps for u, thisll get rid of antialiasing problems at distances. the downsampling it uses can be considered a blur