Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Demo OpenGL->Framebuffer Object 2 doesn't work
Forum Updated to NodeBB v4.3 + New Features

Qt Demo OpenGL->Framebuffer Object 2 doesn't work

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    WonderBen
    wrote on 29 Jun 2012, 20:28 last edited by
    #1

    Hi guys,

    I just started to learn opengl stuff and try to run the demo provided by QT. The example 'texture' and 'framebuffer object' all work fine, while 'framebuffer object 2' only shows a black screen. My machine: windows 7 64bit, AMD Athlon II X4 645 processor 3.1GHz, 4GB RAM, Graphic card Nvidia GeForce 6150SE nForce 430/integrated/SSE2
    Opengl version 2.1.2, glsl version 1.20. The graphic card is a little weak but it supports OpenGL 2.1 and I think it should be strong enough to run the demo program. I updated the GPU driver to the latest version from nvidia website.

    Anyone has any idea? Thanks in advance.

    1 Reply Last reply
    0
    • W Offline
      W Offline
      WonderBen
      wrote on 29 Jun 2012, 20:50 last edited by
      #2

      I debug the code and found it's because the binding of framebuffer object failed. Anyone can tell me the possible reason or how to avoid this problem? Thanks!

      1 Reply Last reply
      1
      • P Offline
        P Offline
        piciurica
        wrote on 24 Nov 2014, 18:34 last edited by
        #3

        Hi, WonderBen. I know it's been some time since you have posted your problem, but have you found a solution? I've just started learning openGL; when I run the "FrameBufferObject2" example, Qt gives a segmentation fault error when the QGLFramebufferObject object is dynamically allocated. I tried some other examples from the "opengl" examples directory and for those the compilation works fine. Thus, i don't think the error comes from the configuration on my laptop. Any ideas are apprecated, thank you!

        1 Reply Last reply
        1
        • P Offline
          P Offline
          piciurica
          wrote on 24 Nov 2014, 18:34 last edited by
          #4

          Hi, WonderBen. I know it's been some time since you have posted your problem, but have you found a solution? I've just started learning openGL; when I run the "FrameBufferObject2" example, Qt gives a segmentation fault error when the QGLFramebufferObject object is dynamically allocated. I tried some other examples from the "opengl" examples directory and for those the compilation works fine. Thus, i don't think the error comes from the configuration on my laptop. Any ideas are apprecated, thank you!

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved