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. OpenGL/FBO/QML - How to correctly render using FBO?
Forum Update on Tuesday, May 27th 2025

OpenGL/FBO/QML - How to correctly render using FBO?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
2 Posts 1 Posters 442 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.
  • 0 Offline
    0 Offline
    0x5FB5
    wrote on 25 Apr 2022, 21:19 last edited by
    #1

    I tried to make a test OpenGL project using FBO. I've made it like in Qt's example. To test, I call glClear function, which fills the window to green color, after which I draw a simple big red point, but every frame I see only a blank screen. I can see the point for a few seconds when I resize the screen, also point resets the size, color and rendering coordinates (to left bottom angle of the window).

    I'm really new in OpenGL and maybe it's my problem in rendering part, but I don't understand what's wrong.
    Source code link

    1 Reply Last reply
    0
    • 0 Offline
      0 Offline
      0x5FB5
      wrote on 29 Apr 2022, 15:57 last edited by
      #2

      I've found another solution for me, that uses QuickItem class without any problems with rendering
      GitHub link

      1 Reply Last reply
      1

      1/2

      25 Apr 2022, 21:19

      • Login

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