Hi Mitch, There is an implementation for WM_TOUCH in GraphicsWindowWin32, haven’t tested it personally.
It should be easy to add support for TUIO-touch-events to the existing OscDevice, as TUIO is transported via OSC-messages. There’s also a recipe for intercepting TUIO-events via https://github.com/xarray/osgRecipes/wiki, haven’t worked with it. The multitouch-trackball-manipulator is not specific to the Apple trackpad, as it works with the TouchData of an osg-event and should be device-independent (I’ve tested it it on IOS and OS X). But as Christian already noted, the mt-manipulator is more a proof of concept than a stable working one. It’s hard to extend the existing manipulators, as they are all modeled with a single pointer device in mind. As you can see multitouch is still in its early stages :-) so any help is very appreciated! cheers, Stephan Am 11.09.2013 um 02:29 schrieb Doran, Mitchell (Student) <[email protected]>: > UNCLASSIFIED > > Thanks for the reply, This example seems specific to the Apple Trackpad. > > It may prove useful yet; though there appears to be no bindings to get either > TUIO (touch protocol over UDP) data or WM_TOUCH (Windows) or ABS_MT (Ubuntu) > touch events into the osg environment. > > Its looking like I may have to write my own bindings to get TUIO events > recognized. > > I think I remember seeing somewhere that Stephan had worked on something > similiar. > > Anybody else with any ideas how to get say TUIO events into osg land, what > would I need to implement? > > Mitch. > > From: [email protected] > [mailto:[email protected]] On Behalf Of Christian > Buchner > Sent: Tuesday, 10 September 2013 7:45 PM > To: OpenSceneGraph Users > Subject: Re: [osg-users] OSG Multi-Touch input. TouchData [SEC=UNCLASSIFIED] > > > there is a MultiTouch camera manipulator in OSG 3.1 and OSG 3.2 which isn't > truly practical (zoom is way to sensitive), but it is a good sample on how to > process multi touch events. > > Christian > > > > 2013/9/10 Doran, Mitchell (Student) <[email protected]> > UNCLASSIFIED > > > Hi All, > > I'm new to Open Scene Graph but have started looking into it in hopes that I > can manipulate a scene/camera using touch input; things like rotating and > zooming. I've noticed the TouchData class which seems to provide some > underlying support for touch based input but I haven't seen much else > related to touch. Has the touch within OSG been fully implemented or is this > a work in progress? > > I haven't seen any code that attempts to bridge WM_TOUCH (Windows) or > ABS_MT_POS (Ubuntu) to allow these native touch events to be used within OSG > projects. Have I missed something, how are we meant to make use of TouchData? > > Are there any resources or discussions beside the following two? I would like > to make use of TouchData and eventually contribute to the OSG project. > > http://forum.openscenegraph.org/viewtopic.php?t=7702 > http://forum.openscenegraph.org/viewtopic.php?t=7137 > > > > Regards, > Mitch Doran > > IMPORTANT: This email remains the property of the Department of Defence and > is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you > have received this email in error, you are requested to contact the sender > and delete the email. > > > I'm new to Open Scene Graph but have started looking into it in hopes that I > can manipulate a scene/camera using touch input; things like rotating and > zooming. I've noticed the TouchData class which seems to provide some > underlying support for touch based input but I haven't seen much else > related to touch. Has the touch within OSG been fully implemented or is this > a work in progress? > > I haven't seen any code that attempts to bridge WM_TOUCH (Windows) or > ABS_MT_POS (Ubuntu) to allow these native touch events to be used within OSG > projects. Have I missed something, how are we meant to make use of TouchData? > > Are there any resources or discussions beside the following two? I would like > to make use of TouchData and eventually contribute to the OSG project. > > http://forum.openscenegraph.org/viewtopic.php?t=7702 > http://forum.openscenegraph.org/viewtopic.php?t=7137 > > > > Regards, > Mitch Doran > > IMPORTANT: This email remains the property of the Department of Defence and > is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you > have received this email in error, you are requested to contact the sender > and delete the email. > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > IMPORTANT: This email remains the property of the Department of Defence and > is subject to the jurisdiction of section 70 of the Crimes Act 1914. If you > have received this email in error, you are requested to contact the sender > and delete the email. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

