Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Using raw OpenGL in QQuickItem?

Using raw OpenGL in QQuickItem?

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 3.6k 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.
  • A Offline
    A Offline
    Alexey
    wrote on last edited by
    #1

    Hi,
    I'm trying to implement a custom QQuickItem that uses raw OpenGL calls to render itself. Qt 5 docs says:

    "create a FramebufferObject, render into it and use the result as a textured node in the scene graph, for instance using a QSGSimpleTextureNode"

    But I'm new to OpenGL and didn't ever work with Framebuffer Object before. I didn't find any appropriate example on the Internet. Could you, please, provide here code snippets demonstarting the proposed steps:

    1. creating FrameBuffer Object
    2. rendering into it (for example, line or rectangle)
    3. using the result to initialize QSGSimpleTextureNode

    Thank you very much in advance!

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      z.emb
      wrote on last edited by
      #2

      http://qt-project.org/forums/viewthread/21396/#114311

      doesn't help you at all?
      In my thread mentioned above is also a link to the "Ogre":http://qt.gitorious.org/qt-labs/qmlogre implementation which does basically the same thing.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alexey
        wrote on last edited by
        #3

        [quote author="z.emb" date="1360759775"]http://qt-project.org/forums/viewthread/21396/#114311

        doesn't help you at all?
        In my thread mentioned above is also a link to the "Ogre":http://qt.gitorious.org/qt-labs/qmlogre implementation which does basically the same thing.[/quote]

        Thank you, it helped me, but... not enough.

        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