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 to create two camera on one windows?

How to create two camera on one windows?

Scheduled Pinned Locked Moved Solved General and Desktop
qt3d
4 Posts 3 Posters 1.3k Views 2 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.
  • J Offline
    J Offline
    jimfar
    wrote on last edited by A Former User
    #1

    How to create two camera on one windows? could u anyone told me how to do?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Instantiate two QCamera objects, two QCameraViewfinder, assign each one to a camera, put them into an horizontal or vertical layout, set that layout on a QWidget and show it.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • J Offline
        J Offline
        jimfar
        wrote on last edited by
        #3

        sorry i don't have a very detailed description, i mean it is two QT3Dcamera on one QT3DWindow.. i wanna Implementate billboard function

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

          Hi! There is an example with 4 cameras, see Multi Viewport QML Example. The example uses the QML API but porting it to C++ shouldn't be too hard.

          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