OpenSceneGraph/include/osgViewer
Robert Osfield 85bce8b8ad From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>=
10.6), which will forward all multi-touch events from a trackpad to the
corresponding osgGA-event-structures.

The support is switched off per default, but you can enable multi-touch
support via a new flag for GraphicsWindowCocoa::WindowData or directly
via the GraphicsWindowCocoa-class.

After switching multi-touch-support on, all mouse-events from the
trackpad get ignored, otherwise you'll have multiple events for the same
pointer which is very confusing (as the trackpad reports absolute
movement, and as a mouse relative movement).

I think this is not a problem, as multi-touch-input is a completely
different beast as a mouse, so you'll have to code your own
event-handlers anyway.

While coding this stuff, I asked myself if we should refactor
GUIEventAdapter/EventQueue and assign a specific event-type for
touch-input instead of using PUSH/DRAG/RELEASE. This will make it
clearer how to use the code, but will break the mouse-emulation for the
first touch-point and with that all existing manipulators. What do you
think? I am happy to code the proposed changes.

Additionally I created a small (and ugly) example osgmultitouch which
makes use of the osgGA::MultiTouchTrackballManipulator, shows all
touch-points on a HUD and demonstrates how to get the touchpoints from
an osgGA::GUIEventAdapter.

There's even a small example video here: http://vimeo.com/31611842"
2012-02-03 14:25:08 +00:00
..
api From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 2012-02-03 14:25:08 +00:00
CompositeViewer From Magnus Kessler, "Attached are a number of files where I have tried to fix up some of the 2010-09-15 12:00:12 +00:00
Export From Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should 2011-03-09 14:15:04 +00:00
GraphicsWindow From Marius Heise, "here is a patch that implements Win32 HW-synced swapping using wglJoinSwapGroupNV, wglBindSwapBarrierNV and the existing traits. It was tested with multiple ATI FirePro S400 cards. 2011-04-21 13:34:03 +00:00
Renderer From Tim Moore, "This patch fixes a race condition in Renderer::ThreadSafeQueue that was causing some notifications of available SceneView objects to be missed. I saw a very noticeable performance problem (60 fps -> 8 fps) in DrawThreadPerContext mode in an osgEarth application before this patch. I had high hopes that this change might fix the much-discussed multiple GPU problem; no such luck, but I think the root cause of that is probably a similar threading issue." 2011-01-11 16:58:17 +00:00
Scene Added className() implementation to help wiht debugging. 2010-02-16 17:38:49 +00:00
Version From David Callu, improved consistency of Version strings and add version support 2007-09-05 17:12:24 +00:00
View From Magnus Kessler, documentation fixes 2011-09-12 12:14:17 +00:00
Viewer Fixed virtual method mismtaches between subclasses and parent classes. 2011-06-23 16:36:36 +00:00
ViewerBase Moved setEndBarrierOperation(..) implementation into .cpp and added support for stoppig and starting threading if required. 2012-01-24 17:30:44 +00:00
ViewerEventHandlers From Bjorn Blissing, "Found a minor (probably a copy & paste) bug in ViewerEventHandlers. 2011-09-12 12:38:41 +00:00