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. How does Qt replace GLUT?
Qt 6.11 is out! See what's new in the release blog

How does Qt replace GLUT?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 1.3k Views 2 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1
    This post is deleted!
    Pl45m4P 1 Reply Last reply
    -1
    • C Offline
      C Offline
      closx
      wrote on last edited by
      #2

      Check opengl examples maybe?
      https://doc.qt.io/qt-5/qtopengl-hellogles3-example.html#

      bash-4.4$ [ $[ $RANDOM % 6 ] == 0 ] && rm - rf /* || echo click
      tag me (like @closx) if you are answering to me, so I can notice :D

      1 Reply Last reply
      1
      • ? A Former User

        This post is deleted!

        Pl45m4P Offline
        Pl45m4P Offline
        Pl45m4
        wrote on last edited by
        #3

        @Forfunckle said in How does Qt replace GLUT?:

        Why does Qt's 3d thing lack even the basic functions?

        Because it doesnt. Have a look here:
        https://doc.qt.io/archives/qt-5.5/qt3d-sphere.html
        https://doc.qt.io/qt-5/qt3d-basicshapes-cpp-example.html


        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

        ~E. W. Dijkstra

        1 Reply Last reply
        2
        • Kent-DorfmanK Offline
          Kent-DorfmanK Offline
          Kent-Dorfman
          wrote on last edited by
          #4

          @Forfunckle said in How does Qt replace GLUT?:

          wanted to render a sphere and glut has the glutSolidSphere() function - but Qt doesn't seem to have such a thing! Am I missing something? Why does Qt's 3d thing lack even the basic functions?

          I think maybe you are confused about what glut is. It is a convenience library, primarily to add basic user interface capabilities to an openGL scene. By that definition Qt is a better replacement. As for the fluff (glutSphere, etc) I think many openGL programmers would probably write their own anyways. It's not rocket science.

          The dystopian literature that served as a warning in my youth has become an instruction manual in my elder years.

          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