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. QAbstractCameraController: How to implement?
Forum Updated to NodeBB v4.3 + New Features

QAbstractCameraController: How to implement?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 125 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.
  • H Offline
    H Offline
    Hamza Umair
    wrote on last edited by
    #1

    https://doc.qt.io/qt-6/qt3dextras-qabstractcameracontroller.html#details

    The documentation above suggests to only implement the frameActionTriggered() method to move the camera. This is mentioned in the details since qt5.10. I looked at the archives.

    There is no more information from the documentation to go further. So, naturally I look up example on github.

    https://github.com/qt/qt3d/blob/ead5c19f3c3e56eee8e0ce4487584d19e9eb8cc7/src/extras/defaults/qorbitcameracontroller.h

    QOrbitCameraController provided from QT instead implements move camera.

    Another example I looked at on github, although 4 years old, implements move camera with same signature in QOrbitCameraController.

    I am not sure how to go forward.

    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