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. OpenGL:Position of objects Hellogl example
QtWS25 Last Chance

OpenGL:Position of objects Hellogl example

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 512 Views
  • 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.
  • A Offline
    A Offline
    Andre005
    wrote on last edited by
    #1

    Hello,

    i start with OpenGL to draw some 3D objects.

    im try to understand the Hellogl example:
    http://qt-project.org/doc/qt-5/qtopengl-hellogl-example.html#qtlogo-class

    its clear that with this line of code:
    @
    RectTorus body(geom, 0.20, 0.30, 0.1, divisions);
    @

    the width, heigh and depth is of the body object is set.

    But where in the code is the position of the logo object is set in the scene?

    Thx
    Andre

    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