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. [SOLVED] need advice whether using OpenGL or not
QtWS25 Last Chance

[SOLVED] need advice whether using OpenGL or not

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.0k 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.
  • T3STYT Offline
    T3STYT Offline
    T3STY
    wrote on last edited by
    #1

    I know nothing of OpenGL, I have never used it before. But I know it provides accelerated graphics rendering and it can take advantage of this for 3D rendering.
    An old project I was working on (... kind of, I just defined some basics ...) was about an application that would provide virtual desktops and widgets in it, with animations and possibly fancy visual effects for transitions. To give you a better idea, my application should do something like what Gnome shell (Gnome 3) does.

    Unfortunately, I can't decide whether I need OpenGL or not for such thing. I know OpenGL provides higher performances on systems that support it, so it might be preferable to use it anyway; but it would take me months before I can learn OpenGL well enough, so I'd like to avoid that if not necessary.

    What would your advice be?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I would recommend using QtQuick 2 (found in Qt 5.x) - it has a very easy API, you can learn it very quickly, and it uses OpenGL internally. So you don't need to know OpenGL in order to actually use it :D

      (Z(:^

      1 Reply Last reply
      0
      • T3STYT Offline
        T3STYT Offline
        T3STY
        wrote on last edited by
        #3

        I've never been a fan of QtQuick, and I don't think I would use it for this project. Also, it doesn't help learning OpenGL so it's not worth even trying to learn it.

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #4

          It depends how deep you go into Qt Quick2. If you need custom items you need to understand geometry (positions, colors, other per vertex attributes) and custom materials which then leads into shaders.

          It all depends what kinds of effects you want to do.

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          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