Relative Content

Tag Archive for c++qtopengl3d

3D object rotation issue

I have something I don’t understand during the rotation of a 3D object.
The idea is that I want to rotate my object around the X and Y axes. Initially, at the initial position of the object, I can rotate it around X and around Y normally. As soon as I rotate my object 90 degrees around X, I can no longer rotate it around Y (it rotates around Z instead)! I tried the same thing by first rotating it 90 degrees around Y, then I rotate it around X and I see that it rotates around x !