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. QT and OpenGL for OSX
Forum Updated to NodeBB v4.3 + New Features

QT and OpenGL for OSX

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k 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.
  • K Offline
    K Offline
    kloveridge
    wrote on last edited by
    #1

    I have been doing OpenGL programming now for several years and I am interested in using QT to improve my tool pipeline. But I have questions.

    I have written a Mac OSX 3D Editor using cocoa that hosts my OpenGL Engine. My cocoa 3D editor uses the exact same engine I use on IOS and Android with little modification between OSX, IOS and Android.

    Now, enters QT. I am interested in writing Plugins for Autodesk Maya 2014. I would like to use QT as the GUI interface, but leave the OpenGL rendering to my engine. (This means everything, loading textures, compiling shaders, creating VBO's, etc) This is important because I want to preview my art assets the way they will be rendered with my engine. And I only want to maintain one basic engine.

    I was Just browsing over the OpenGL cube demo. And I see a lot of openGL calls that have been customized to take QT parameters. So, my question is, can I still directly call the native OpenGL calls without the QT wrappers?

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

      Hi and welcome to devnet,

      You can use pure OpenGL code with Qt without any problem. Qt's OpenGL module helps to unify the access to the various OpenGL implementation of all the OS supported, but there's no restriction to use native calls.

      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
      • K Offline
        K Offline
        kloveridge
        wrote on last edited by
        #3

        Thank you for your response. That is excellent news.

        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