Hi Kristofer, On 26 October 2012 20:48, Kristofer Tingdahl <[email protected]> wrote: > It has passed a week, and no, I have honestly not been looking at it > further. I gave up in frustration. Life as a business administrator is > a tiny bit software development, and tons of procurement, HR, finance > and that kind of stuff.
All crucial stuff for running a business, impressive that you are still able to code profiiciently ;-) > The overall goal is to create a custom dragger in the form of a > thumbwheel that will sit in the edges of the viewer and control the > navigation of the camera. It will end up in osgGeo once it is done. > osgGeo has btw moved from github to osggeo.googlecode.com as git drove > me crazy. If you know anyone who has done any thumb-wheel similar > things, let me know. A thumbwheel like the ones that Inventor has on the window frame, but moved to into the 3D window? Personally I'd tackle such a feature via a custon Node+callbacks rather than trying to leverage osgManipulator's existing features. A thumbwheel should be relatively straight forward as you only have one axis to rotate the wheel around. The very specific type of interaction would probably mean that one could avoid using any mouse picking and just take the create an event callback that takes mouse coordinates directly and map them into non dimensional coordinates of the HUD Camera's viewport and then use this to drive the rotation by it horizontal or vertical. As you planning to control the viewer's Camera then one would either have the event callback push the rotation back to the main Camera/CameraManipulator or in the main loop pull any rotations on each new frame. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

