Contributing a Turntable camera controller as vsg::Turntable #1420
Replies: 1 comment 4 replies
-
One aspect of the OpenSceneGraph project that I was not happy with was how one of the component libraries ended up with multiple different camera interaction classes, it ended up really clumsy and overly complicated as the various classes where pushed and pulled between the various needs/desires of users over the years. With the VSG project I decided to just keep things simple, provide a basic Trackball class and leave it to users to decide how best to interact with their data and implement their own camera controller classes. Users sharing example of other types of camera manipulators is something I welcome, and vsgExamples would be the way to do this if folks are happy for it to be published as open source, I'd suggest MIT license, then folks can use these/adapt them as suites their applications. A PR to vsgExamples with a new example would the way to do this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey @robertosfield, I've created a pretty rudimentary Turntable camera, based off (not inheriting) of vsg::Trackball.
I wonder if you'd like to take this implementation and add it to VSG?
I think the key viewpoints/throwing will need some debugging, but the core camera manipulation functionality with a mouse works quite well.
wdyt? How can I share the implementation with you here?
Beta Was this translation helpful? Give feedback.
All reactions