How does Qt replace GLUT?
-
This post is deleted!
-
Check opengl examples maybe?
https://doc.qt.io/qt-5/qtopengl-hellogles3-example.html# -
This post is deleted!
@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 -
@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.