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. How complex is it to make a Simple 3D "scene"?

How complex is it to make a Simple 3D "scene"?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 600 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.
  • B Offline
    B Offline
    bdmontz
    wrote on last edited by
    #1

    I am fairly new to Qt, using Qt 5.5 and Qt creator 3.5. using .cpp files... I have been using QGraphicsView, QGraphicsScene, and simple things like lines. rectangles, elipses etc.

    How complicated would it be to replace a QGraphicsView with a 3D object that lets me display a handfull of stationary rectangular shapes that change color, and a "wheel" that rotates to a specific position.

    What would I need to do to make that happen?

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Wouldn't be very complicated. First step would be to update to Qt 5.7, which gives you access to the latest Qt3D module. Next would be to create a Qt3DExtras::Qt3DWindow and embed this into a window container (using QWidget *QWidget::createWindowContainer()). There are a couple of examples that show how the actual 3D stuff works, see http://doc.qt.io/qt-5/qt3d-examples.html.

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved