Results 1 to 4 of 4

Thread: QGLFramebufferObjects

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    14
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Maemo/MeeGo

    Default QGLFramebufferObjects

    Hi,

    Is there somekind of limit on QGLFramebufferObjects? I've created a 3D cube which has 2 fbo's per side (total 6 sides * 2 fbo). Two fbo's because one is for rendering and one is used as a texture on the object and they are blitted. The problem is that with a fairly powerful laptop (Lenovo T400) it works fine but when I try to run on a Lenovo ideapad S10-3t which has Meego installed on it, the program segfaults?

    Does the fbo reserve video memory at init (if a memory issue) or is there somekind of meego specific restrictions on fbo's, or is this just my lucky day and no one knows?

    I am currently running Qt 4.7.1 with opengl desktop configuration, so I am trying now to configure it to use es2. But I'm afraid that won't help.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QGLFramebufferObjects

    Not every OpenGL implementation supports framebuffer objects. Use QGLFramebufferObject::hasOpenGLFramebufferObjects() to verify that.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2010
    Posts
    14
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Re: QGLFramebufferObjects

    FBOs and blitting are supported. Also was able to run qt3d's nesting example which uses fbos to render into a texture.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QGLFramebufferObjects

    Try finding out where it segfaults.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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.