Qt World Summit: Register Today!

(A simplified) qtlogo.cpp - QT hello GL example

  • I have been looking at this file for a while… and I can see its a great example of how to draw shapes (properly).

    The thing is, I am struggling to simplify it to a basic cube. I want a simple cube: 6 sides… not clever methods. Just 8 vertices, 12 triangles and 6 different normals.

    Starting with complicated examples hurts my head. Great for reference/copying but not so good to start from scratch with (imho).

    Can anyone assist me with a simple version of this file I could drop in to the code example, please? I am sure this would be useful to other people starting out with OpenGL/QT?!


Log in to reply