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. [SOLVED] getting rid of the perspective when a QTransform is rotated around the x or y axis

[SOLVED] getting rid of the perspective when a QTransform is rotated around the x or y axis

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 1.5k Views 1 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.
  • K Offline
    K Offline
    kenchan
    wrote on last edited by
    #1

    When a QTransform is rotated around the x or y axis it does a perspective like projection. I want a parallel projection so it looks like I need to set the m13 and m23 values to 0.0.

    Is there an easy way to do this. I don't see any functions to just set individual members of the matrix???

    Thanks for any suggestions.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kenchan
      wrote on last edited by
      #2

      Hello any moderators.

      I am getting the Digia hate mail replies to this post. What it the procedure one should follow, anywhere I should forward it to for scrutiny?

      Thanks.

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

        Hi,

        You can click on the report link besides theses posts, That will make the moderators aware of the problem

        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
        0
        • K Offline
          K Offline
          kenchan
          wrote on last edited by
          #4

          Thanks but they are not actually getting posted but I get the emails.
          Does that mean they have been bumped by the moderators already?

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kenchan
            wrote on last edited by
            #5

            And the answer is... just make a matrix with the appropriate items set to zero and multiply it with your current matrix.

            Just in case anyone was interested.

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

              And to answer your other question, if the post doesn't exist when you take a look at your thread then it means that the moderators got faster to 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
              0
              • K Offline
                K Offline
                kenchan
                wrote on last edited by
                #7

                Thank you SGaist. It is good to know this is being taken care of.

                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