You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For years I have been using trackball.[ch] from SGI for implementing 3D manipulation, that according its comment was written in 1988, and my brain has pretty much wrapped itself around its interaction. This code is available in multiple places on the net, e.g. in http://basilisk.fr/src/gl/ ,
So when I recently started playing around with Qt3D I was immediately annoyed with its camera interaction and looked around for a trackball implementation. I found your implementation, but unfortunately it is not behaving as the SGI trackball.
So I'm opening this issue with the hope that you'll try to mirror its interaction. I'd have a go at it myself, but I'm afraid that I'm not familiar enough with the QtCode yet.
The text was updated successfully, but these errors were encountered:
I found the bug, and why I didn't get your implementation to work! You require that after the construction of the controller, you make a call to camController->setWindowSize(QSize(view->width(),view->height())); . Once I did this the behavior of the controller is indeed the same as the familiar trackball.c implementation. Of course I should connect this to the window resize slot.
You should add the above requirement to the documentation, or perhaps even through an exception if the window size has not been initialized.
Until this has been fixed, I take the liberty of keeping this bug open.
For years I have been using trackball.[ch] from SGI for implementing 3D manipulation, that according its comment was written in 1988, and my brain has pretty much wrapped itself around its interaction. This code is available in multiple places on the net, e.g. in http://basilisk.fr/src/gl/ ,
So when I recently started playing around with Qt3D I was immediately annoyed with its camera interaction and looked around for a trackball implementation. I found your implementation, but unfortunately it is not behaving as the SGI trackball.
So I'm opening this issue with the hope that you'll try to mirror its interaction. I'd have a go at it myself, but I'm afraid that I'm not familiar enough with the QtCode yet.
The text was updated successfully, but these errors were encountered: