GillesDebunne / libQGLViewer

libQGLViewer is an open source C++ library based on Qt that eases the creation of OpenGL 3D viewers.
Other
241 stars 94 forks source link

orbiting navigation added #70

Open brezhnyev opened 1 year ago

brezhnyev commented 1 year ago

the camera remains parallel to XY plane (no rolling). Tested with QT5 on Ubuntu18.04 and Ubuntu20.04. Added ORBIT into the keyboardAndMouse example.

GillesDebunne commented 1 year ago

Thanks for this contribution.

I can imagine the use case of such a motion. However, it seems specific since the XY plane is arbitrary. I wonder if the same result cannot be achieved using a Constraint applied to the camera frame. See details in the associated example.

brezhnyev commented 1 year ago

Hi, Understand. Alternative would be to introduce not just one, but three such orbiting options. ORBIT_XY, ORBIT_YZ, ORBIT_ZX otherwise ORBIT_X, ORBIT_Y, ORBIT_Z

Regards.

On Wed, Apr 26, 2023 at 7:40 AM Gilles Debunne @.***> wrote:

Thanks for this contribution.

I can imagine the use case of such a motion. However, it seems specific since the XY plane is arbitrary. I wonder if the same result cannot be achieved using a Constraint applied to the camera frame. See details in the associated example.

— Reply to this email directly, view it on GitHub https://github.com/GillesDebunne/libQGLViewer/pull/70#issuecomment-1522815425, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSDID4EQXJ23S5ZSZAC2MLXDCYOPANCNFSM6AAAAAAXIWGQ6M . You are receiving this because you authored the thread.Message ID: @.***>

brezhnyev commented 10 months ago

Hi, Gilles! I tried to follow the link http://www.libqglviewer.com instead i am forwarded to https://nbookpart.com.ua/ Do you know the reason? Regards.

On Wed, Apr 26, 2023 at 10:33 PM Kirill Brezhnyev @.***> wrote:

Hi, Understand. Alternative would be to introduce not just one, but three such orbiting options. ORBIT_XY, ORBIT_YZ, ORBIT_ZX otherwise ORBIT_X, ORBIT_Y, ORBIT_Z

Regards.

On Wed, Apr 26, 2023 at 7:40 AM Gilles Debunne @.***> wrote:

Thanks for this contribution.

I can imagine the use case of such a motion. However, it seems specific since the XY plane is arbitrary. I wonder if the same result cannot be achieved using a Constraint applied to the camera frame. See details in the associated example.

— Reply to this email directly, view it on GitHub https://github.com/GillesDebunne/libQGLViewer/pull/70#issuecomment-1522815425, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSDID4EQXJ23S5ZSZAC2MLXDCYOPANCNFSM6AAAAAAXIWGQ6M . You are receiving this because you authored the thread.Message ID: @.***>