PDA

View Full Version : Mipmap



leoalvesmachado
24th May 2010, 17:05
Hi everyone

Is there a way of using Mipmap for images in QT? I believe it's possible using the OpenGL extension (I don't see why not), but I don't know if it's possible to use it without using OpenGL (maybe using only QImage, or something like that).

Thanks in advance for your attention

Talei
24th May 2010, 23:48
Up to Qt 4.5 mipmaps were generated automatically after binding them. Right now You can choose what to do by default (or even not to generate mipmaps).
This enum QGLContext::DefaultBindOption turn generation on (forth argument in bindTexture() ).