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. Qt5 and OpenGL
Forum Updated to NodeBB v4.3 + New Features

Qt5 and OpenGL

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 586 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.
  • M Offline
    M Offline
    mikecurl91
    wrote on last edited by
    #1

    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?
    thanks

    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