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. Creating qt based FBOs for 3D objects.
QtWS25 Last Chance

Creating qt based FBOs for 3D objects.

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 472 Views
  • 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.
  • S Offline
    S Offline
    ShakingBear
    wrote on last edited by
    #1

    Hi,

    Any guides on how to create an FBO for 3D objects in Qt?? I intend to create small cuboids in them and place them at different positions in a OpenGL canvas.

    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean QOpenglFramebufferObject ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        ShakingBear
        wrote on last edited by
        #3

        Yea. I have used the class for creating 2D textures previously, but I can't seem to make a 3D object using it. Any advice there?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Do you mean like in the Cube OpenGL ES 2.0 example ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          0
          • SGaistS SGaist

            Do you mean like in the Cube OpenGL ES 2.0 example ?

            S Offline
            S Offline
            ShakingBear
            wrote on last edited by
            #5

            @SGaist No. The example uses VBOs and not FBOs for the 3D object. I've tried using it before; while I succeeded, but my problem wasn't solved.
            The problem in this case being that I wish to edit/remove/add a 3D object without affecting the other objects.
            The code currently removes all 3D objects and redraws / renders them onto the display after every edit. To hopefully skip that I wanted to create each object in a separate FBO and "Blit" the FBO onto the main canvas removing a small blink which happens for all objects.

            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