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. Qt3D Z Axis Flipping Seemingly Randomly
Forum Updated to NodeBB v4.3 + New Features

Qt3D Z Axis Flipping Seemingly Randomly

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

    I'm not able to share images of what I'm working on, however, I will attempt describe the issue as best I can.

    I am writing a project based off of the simple-cpp example for Qt3D. I am utilizing the camera and orbital camera controller as defined in that project. Additionally, at the start of the program, I am drawing the axes (X,Y,Z) in different colors. Throughout testing, have found that the Z-Axis flips at what appears to be random times, but also appears somehow related to the motion of the camera controller.

    At first, I thought I was going crazy. Rotation matrices and quaternions meant to produce a certain rotation would seem fine, then at some point they would reverse. QText2DEntity(ies) that were on one side of an object would pop up on the other side, and sure enough the line representing the Z axis would be going in the opposite direction.

    My guess is that I'm misunderstanding how certain rotations or transforms may impact the global X/Y/Z axes, but perhaps there's a simpler solution to this for which I'm simply unaware of the terminology. Any help would be greatly appreciated.

    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