OpenSceneGraph/src
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 From Marcel Pursche, "The problem is that when OpenThreads is build with the Linux pthreads implementation all threads inherit the processor affinity from their parent thread. 2014-04-07 14:11:14 +00:00
osg Added src/osg/OpenGL.in configuration file and include/osg/OpenGL header files 2014-04-23 19:30:33 +00:00
osgAnimation From Pjotr Svetachov, "With the new osg::Geometry the binding for arrays now default to undefined. This breaks previously working code in osgAnimation::RigTransformHardware where the arrays got an undefined bounding and because of this the bone indices and weights were not loaded by the shader. Here is a little patch to fix this." 2013-10-10 20:42:24 +00:00
osgDB Added support for osg::Image to the lua plugin. 2014-03-06 10:27:26 +00:00
osgFX Clean up up osg::Geometry, removing long deprecated support for array indices and BIND_PER_PRIMITIVE binding that forced OpenGL slow paths. osg::Geometry is now smaller and only supports OpenGL fasts paths. 2013-06-18 11:18:28 +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 From Kristofer Tingdahl, reimplement of AntiSquish node to avoid the use of an update callback. 2014-01-20 11:00:09 +00:00
osgParticle From David Callu, warning fixes and removal of spaces at end of lines. 2013-06-28 12:00:43 +00:00
osgPlugins From Paul Cheyrou-Lagreze, "Attached is fix/feature for FBX osgplugins against latest trunk: 2014-04-09 17:40:27 +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 Fixed warnings 2014-01-24 15:40:18 +00:00
osgSim Fixed reference invalidation bug. 2014-04-24 10:38:58 +00:00
osgTerrain From David Callu, warning fixes and removal of spaces at end of lines. 2013-06-28 12:00:43 +00:00
osgText Replaced C cast to long with a static_cast<const void*>() to avoid a build error under Mingw 64. 2014-01-31 19:18:18 +00:00
osgUtil From Bjorn Hein, "please find attached a small fix for RayIntersector.cpp. 2014-04-07 13:52:01 +00:00
osgViewer 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
osgVolume Fixed iso surface shaders 2014-04-04 11:25:51 +00:00
osgWidget Reverted the usage of OSG_UNUSED and OT_UNUSED as in hindsight these should never have been merged. Adding code to quieten 2013-07-01 08:21:13 +00:00
osgWrappers From Pjotr Svetachov, "We had a small problem converting skeleton animations from fbx to osgt 2014-04-08 11:17:59 +00:00
CMakeLists.txt From Kristofer Tingdahl, with additions from Riccardo Corsi and Robert Milharcic, support for Qt5 build 2013-06-10 14:34:25 +00:00