Add Turntable camera controller example#354
Conversation
|
Thanks for the example. I've merged as a turntable branch: https://github.com/vsg-dev/vsgExamples/tree/turntable It builds under Linux without any errors. It runs but I have only been able to translate and zoom in/out, the rotation side isn't working for me yet. I won't have time to investigate right as I lots of other work that needs attending. |
|
Found the issue, was using |
|
Sorry for the slow review of this PR, I have been super busy. I have merged this PR but it still needs some further work. I have just checked the PR as a branch and it runs, but I'm perplexed by the way it works. When I run: |
|
I have fixed the warnings, changed the horizontal mouse movement to rotate around the Z axis (the VSG's default model up direction) and changed the Turntable header extension to .h to be consistent with the rest of the VSG. |
Sorry for the really late contribution here - it totally got shelved due to conflicting priorities with my own projects and life things.
Currently untested in vsgExamples (but I've tested the controller in my own private project and it works well).
If I get the time I can try to test in a Linux environment at-least. Although it might be awhile until I get a free moment.