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

How to rotate the model at the identical step? #50

Closed tub-sgg closed 1 year ago

tub-sgg commented 3 years ago

I want to create two windows, in one window it will show half part of the model while another display the whole model.Now, I want to rotate the model in one window and the other will move at the same step and same observing view? Any hints? Thanks a lot

GillesDebunne commented 3 years ago

You need to synchronize the camera positions / orientations in the two viewers.

Using listeners, detect when a camera is changed and duplicate the values in the other viewer.

On Wed, Dec 9, 2020 at 11:19 PM tub-sgg notifications@github.com wrote:

I want to create two windows, in one window it will show half part of the model while another display the whole model.Now, I want to rotate the model in one window and the other will move at the same step and same observing view? Any hints? Thanks a lot

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GillesDebunne/libQGLViewer/issues/50, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAOPFGRAKOV77XFHCMRDDUDST7ZWBANCNFSM4UUEKZVA .

GillesDebunne commented 1 year ago

Closing this issue