Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt5 and OpenGL
mikecurl91 last edited by
I have to create in my application the 3D design of and object that I read from a user Dialog.
The first problem is how to create something like "this ":https://dl.dropboxusercontent.com/u/32353966/grid.PNG that is a grid, with a system coordinate where I must draw the object.
The second, problem is that on every example I've seen of Qt opengl usage (like "this":http://www.gamedev.net/topic/621876-simple-cube-creation-using-opengl-qt/) each point on the screen is defined on source code, but in my case, I have to add point on the screen on runtime (after the user has insert them), and refresh the draw.
Is there a particular structure (like an Array?!) where I can put every point to draw on the screen, and after the new insert point action by the user I can use to pass the new draw to repaint?