Important: Please read the Qt Code of Conduct -

Qt5 and OpenGL

  • 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 ": 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": 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?

Log in to reply