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. Qt Quick and FrameBuffer issues

Qt Quick and FrameBuffer issues

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 753 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.
  • Q Offline
    Q Offline
    QbProg
    wrote on last edited by
    #1

    I'm using QQuickFramebufferObject to render a custom OpenGL 3d scene inside a QtQuick Item.
    Following the Qt Quick + FBO example, I'm having two issues. I'm using the Windows ANGLE version, Qt 5.3.1

    • Multisampling : I ask for 4 samples using the format.setSamples(4) function. In the latest version multisampling is enabled even with ANGLE, so I actually see it working.
      I would like to render some primitives in an anti-aliased way, some others not. Using glDisable(GL_MULTISAMPLE) doesn't works, so every primitive gets antialiased. How can I disable it for some primitives?

    • It seems that the projection matrix requires a "Y *=-1" scaling inversion. I'm not able to understand why , I'm currently adapting an opengl "Matrix" class which work flawlessly in a standalone context, but when I use it in a framebuffer Item renderer in QtQuick , everything seems to be reversed. Not a problem ,I just want to understand why....

    Thank for any hint,
    Qb

    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