Re: [osg-users] Generating multitouch events

2011-12-29 Thread Stephan Huber
Hi Len, Am 14.12.11 21:39, schrieb Len White: Just to make sure I understand the structure of the current osgGA multi-touch support... If I have a touch system that collects touch events in a callback, in my case TUIO events, I will likely need to use a timer to store up a bunch of events,

Re: [osg-users] Generating multitouch events

2011-12-29 Thread Stephan Huber
Hi Len, here's some pseudo-code which demonstrates the population of a osgGA::GUIEventAdapter: osg::ref_ptrosgGA::GUIEventAdapter osg_event(NULL); for(unsigned int i=0; i num_touch_points; i++) { // to differentiate different touches over time unsigned int touch_id =

Re: [osg-users] Generating multitouch events

2011-12-27 Thread Len White
Hi. Just to make sure I understand the structure of the current osgGA multi-touch support... If I have a touch system that collects touch events in a callback, in my case TUIO events, I will likely need to use a timer to store up a bunch of events, bundle them into a single GUIEventAdapter, and

Re: [osg-users] Generating multitouch events

2011-02-08 Thread Serge Lages
Hi, Thanks for your replies, it confirms what I was thinking... The iOS way of sending events seems to be an exception, all the touch technologies I use (mostly MPX, Windows 7 and TUIO) send them separately, so I think it should be useful to add to EventQueue a way to track the events to put them

Re: [osg-users] Generating multitouch events

2011-02-08 Thread Stephan Maximilian Huber
Hi Serge, Am 08.02.11 09:12, schrieb Serge Lages: Thanks for your replies, it confirms what I was thinking... The iOS way of sending events seems to be an exception, all the touch technologies I use (mostly MPX, Windows 7 and TUIO) send them separately, so I think it should be useful to add

Re: [osg-users] Generating multitouch events

2011-02-07 Thread Serge Lages
Hi all, I am currently working on getting multi-touch working on Linux with MPX (XInput2), and I would like to use this new system for my events. But with XInput (or also with Windows 7), I am receiving all the events separately, so what's the best approach to feed the

Re: [osg-users] Generating multitouch events

2011-02-07 Thread Paul Martz
On 2/7/2011 4:06 AM, Serge Lages wrote: Hi all, I am currently working on getting multi-touch working on Linux with MPX (XInput2), and I would like to use this new system for my events. But with XInput (or also with Windows 7), I am receiving all the events separately, so what's the best

Re: [osg-users] Generating multitouch events

2011-02-07 Thread David Glenn
Greetings Paul! Well, if you only have to deal with three mouse points with Kinect that should be much easier than Smart board. Last year at NAB, I talked to the designer and he told me that you have to look over eight mouse points at any given time - that I can remember! ... D Glenn

Re: [osg-users] Generating multitouch events

2011-02-07 Thread Stephan Huber
Hi Glenn, Am 07.02.11 12:06, schrieb Serge Lages: I am currently working on getting multi-touch working on Linux with MPX (XInput2), and I would like to use this new system for my events. But with XInput (or also with Windows 7), I am receiving all the events separately, so what's the best

Re: [osg-users] Generating multitouch events

2011-02-03 Thread Stephan Huber
Hi Paul, please have a look at the thread on osg-submissions where I explain the details and concepts of multi-touch to Robert: Am 03.02.11 02:56, schrieb Paul Martz: I'm working on a project that needs to generate multitouch events, and I have a question about the current (2.9.10)

Re: [osg-users] Generating multitouch events

2011-02-03 Thread Stephan Huber
Hi Paul, (sorry for the previous truncated mail, hit the send button by mistake) please have a look at the thread on osg-submissions where I explain the details and concepts of multi-touch to Robert: http://forum.openscenegraph.org/viewtopic.php?t=7137 I hope this helps for getting started. If

Re: [osg-users] Generating multitouch events

2011-02-03 Thread Paul Martz
On 2/3/2011 1:34 AM, Stephan Huber wrote: (sorry for the previous truncated mail, hit the send button by mistake) please have a look at the thread on osg-submissions where I explain the details and concepts of multi-touch to Robert: http://forum.openscenegraph.org/viewtopic.php?t=7137 Sorry

Re: [osg-users] Generating multitouch events

2011-02-03 Thread Stephan Huber
Hi Paul, Am 03.02.11 19:00, schrieb Paul Martz: On 2/3/2011 1:34 AM, Stephan Huber wrote: (sorry for the previous truncated mail, hit the send button by mistake) please have a look at the thread on osg-submissions where I explain the details and concepts of multi-touch to Robert:

Re: [osg-users] Generating multitouch events

2011-02-03 Thread Paul Martz
On 2/3/2011 12:31 PM, Stephan Huber wrote: No problem, perhaps we should add it to the wiki :) Having it in the wiki wouldn't hurt. It's here now, along with your link pointing to the osg-submissions discussion, so anyone scanning osg-users for multitouch will find it. You might consider

[osg-users] Generating multitouch events

2011-02-02 Thread Paul Martz
Hi Stephan (and others) -- I'm working on a project that needs to generate multitouch events, and I have a question about the current (2.9.10) implementation. There are three main EventQueue methods for adding three different multitouch events: touchBegan() touchMoved() touchEnded()