OpenSceneGraph/include
Robert Osfield bc5575f83a From Kristofer Tingdahl, "I and my team have gone over the code again, and we feel that we are comfortable in our current proposal for change. It goes deeper than it did before, and I explain why:
There was code in the osgViewer/Viewer.cpp and osgViewer/CompositeViewer.cpp that transformed the Y-coordinates of an event. The code in the composite viewer did however miss the touch-data of the event. I thought that it should really be the GUIEventAdapter that should know about this, and hence I added the
GUIEventAdapter::setMouseYOrientationAndUpdateCoords which is re-computing the coordinates. First I simply added a boolean to the setMouseYOrientation function:

setMouseYOrientation( MouseYOrientation, bool updatecooreds=false );

but then the serializer complained.

This function is called from both the Viewer and the CompositeViewer. We have not tested from the viewer, but I cannot see it would not work from visual inspection.

The other change is in MultiTouchTrackballManipulator::handleMultiTouchDrag. I have removed the normalisation. The reason for that is that it normalised into screen coordinates from 0,0 to 1,1. The problem with that is that if you have a pinch event and you keep the distance say 300 pixels between your fingers, these 300 pixels represent 0.20 of the screen in the horizontal domain, but 0.3 of the screen in the vertical domain. A rotation of the pinch-fingers will hence result in a zoom in, as the normalised distance is changing between them.

A consequence of this is that I have changed the pan-code to use the same algorithm as the middle-mouse-pan.

The rest of it is very similar from previous revision, and there has been some fine-tuning here and there.

"
2014-04-24 17:14:54 +00:00
..
OpenThreads Bumped SO_VERSION number of OpenThreads to avoid conflicts with Debian SO_VERSION bump 2014-01-07 16:18:05 +00:00
osg Removed header as this CMake generated configuration file is not required to be part of svn repository 2014-04-24 07:20:44 +00:00
osgAnimation From David Callu, warning fixes and removal of spaces at end of lines. 2013-06-28 12:00:43 +00:00
osgDB Added support for osg::Image to the lua plugin. 2014-03-06 10:27:26 +00:00
osgFX From Johannes Scholz, "as we need to dynamically add and remove Effects to and from our Application, I created a small patch for osgFX/Registry to add the osgFX::Registry::removeEffect(effect*) method and extended osgFX::Registry::Proxy to call removeEffect upon its destruction." 2013-07-19 06:56:13 +00:00
osgGA From Kristofer Tingdahl, "I and my team have gone over the code again, and we feel that we are comfortable in our current proposal for change. It goes deeper than it did before, and I explain why: 2014-04-24 17:14:54 +00:00
osgManipulator Fixed comment 2014-04-14 16:16:08 +00:00
osgParticle From David Callu, warning fixes and removal of spaces at end of lines. 2013-06-28 12:00:43 +00:00
osgPresentation Addd ExteriorTransparencyFactorProperty for support of upcomming functionality of rendering a cube volume with a hull volume inside it. 2014-03-18 18:14:15 +00:00
osgQt From Kristofer Tingdahl, "I and my team have gone over the code again, and we feel that we are comfortable in our current proposal for change. It goes deeper than it did before, and I explain why: 2014-04-24 17:14:54 +00:00
osgShadow Removed trailing spaces, added missing return to last lines 2013-11-22 09:38:50 +00:00
osgSim From David Callu, warning fixes and removal of spaces at end of lines. 2013-06-28 12:00:43 +00:00
osgTerrain From Ulrich Hertlein, "Attached is a patch that introduces 'static_cast<unsigned int>' on some instances where 2013-05-14 16:12:21 +00:00
osgText From David Callu, warning fixes and removal of spaces at end of lines. 2013-06-28 12:00:43 +00:00
osgUtil Further work on new MultipassTechnique/VolumeScene. 2013-12-06 19:31:12 +00:00
osgViewer Removed unimplemented method 2014-01-27 15:43:36 +00:00
osgVolume Fixed handling of volume tiles with a region. 2014-04-01 18:33:02 +00:00
osgWidget Added getCallbacks() methods 2013-07-24 12:17:06 +00:00