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. Searching for Simple OpenGL Demo
Qt 6.11 is out! See what's new in the release blog

Searching for Simple OpenGL Demo

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 576 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.
  • H Offline
    H Offline
    hydrodog
    wrote on last edited by
    #1

    I am looking to develop OpenGL under QT for a class. I have coded old-style OpenGL commands, not the new shaders. While I am interested in starting with shaders, I would like to keep it simple. It might be best to just do old-style opengl because there is less to introduce with a class.

    In any case, the problem is that the demos I found on QT are wildly complicated, with javascript controlling the OpenGL. At the very least I want a C++ object that does the rendering. Is there such a demo?

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

      Hi and welcome
      The old-style is almost dead
      and most samples uses modern style.

      I also wanted to use old style as it easier but it turns out to be more pain than worth it
      as soon u will run into modern style.

      So better to get starting with modern.
      like here
      http://ogldev.atspace.co.uk/

      and the
      OpenGL Window Example
      http://doc.qt.io/qt-5/qtgui-openglwindow-example.html
      is not overly complicated

      1 Reply Last reply
      1

      • Login

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