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. Rotating Cube Visualization Best Approach
Forum Updated to NodeBB v4.3 + New Features

Rotating Cube Visualization Best Approach

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

    Hi Everyone,
    I would appreciate some suggestions.
    I want to develop a small application using QML that receives the pitch, roll, and yaw values from the Accelerometer (using some microcontroller and sending them over a serial port).
    And when this data is received I want to visualize the position of my device, and the changes in the device should be real-time, which means as soon as the values from the sensor change, this cube also changes its position in real-time.
    I can manage the Serial Communication part but need suggestions for this visualization, it would be 3D in nature, a sort of cube that moves/changes its position in all x, y, and z directions.
    A similar thing is shown in the following video but it uses Processing IDE.
    https://www.youtube.com/watch?v=KMhbV1p3MWk
    alt text
    Let me know if someone has some suggestions for me.
    Thanks

    mzimmersM 1 Reply Last reply
    0
    • X xpress_embedo

      Hi Everyone,
      I would appreciate some suggestions.
      I want to develop a small application using QML that receives the pitch, roll, and yaw values from the Accelerometer (using some microcontroller and sending them over a serial port).
      And when this data is received I want to visualize the position of my device, and the changes in the device should be real-time, which means as soon as the values from the sensor change, this cube also changes its position in real-time.
      I can manage the Serial Communication part but need suggestions for this visualization, it would be 3D in nature, a sort of cube that moves/changes its position in all x, y, and z directions.
      A similar thing is shown in the following video but it uses Processing IDE.
      https://www.youtube.com/watch?v=KMhbV1p3MWk
      alt text
      Let me know if someone has some suggestions for me.
      Thanks

      mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by
      #2

      @xpress_embedo have you looked at the Qt 3D Examples?

      BTW: if you want to work with QML, you probably want to be using Qt 6. It has a lot of QML enhancements.

      X 1 Reply Last reply
      0
      • mzimmersM mzimmers

        @xpress_embedo have you looked at the Qt 3D Examples?

        BTW: if you want to work with QML, you probably want to be using Qt 6. It has a lot of QML enhancements.

        X Offline
        X Offline
        xpress_embedo
        wrote on last edited by
        #3

        @mzimmers thank you for your message. Yes i had a look at few examples.
        But then I get confused because of the terms like Camera, Light, Euler Angles etc.
        I guess all these terms are important for 3d visualization.
        Can you or someone suggest me some good tutorial on this or you guys think that Qt documentation is sufficient?

        Because I couldn't understand these terms and hence will not be able to rotate the 3d Cube.

        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