Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to use child camera in QML View3D (QT designer Studio)?
Forum Updated to NodeBB v4.3 + New Features

How to use child camera in QML View3D (QT designer Studio)?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 145 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.
  • M Offline
    M Offline
    MStackoverflow
    wrote on last edited by
    #1

    Hi,

    I just started using QT designer studio and it's pretty great. However, I have some trouble with some functionality.
    Mostly, is there a way to switch to a secondary camera that is a child of a 3D asset?

    I want to have a camera on a robot's arm. I want the camera to follow the body or the attached arm.
    The camera shows the scene, but the narrowViewCamera (see below) doesn't render anything. When move the narrowViewCamera at the same level of the first camera, it works, but it won't follow the movements of the 3D asset.

    My understanding is that the camera doesn't render anything because there's nothing to render, because there's no resource at the same level.

    is there a way around without having to calculate every movement?

    alt text

    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