Results 1 to 2 of 2

Thread: Mipmap

  1. #1
    Join Date
    Apr 2010
    Location
    Porto Alegre, RS, Brazil
    Posts
    37
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    9
    Thanked 1 Time in 1 Post

    Question Mipmap

    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

  2. #2
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    52
    Thanked 42 Times in 42 Posts

    Default Re: Mipmap

    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() ).

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.