OpenSceneGraph/include
Robert Osfield 22eae68e48 From Mathias Froehlich, "This is a generic optimization that does not depend on any cpu or instruction
set.

The optimization is based on the observation that matrix matrix multiplication
with a dense matrix 4x4 is 4^3 Operations whereas multiplication with a
transform, or scale matrix is only 4^2 operations. Which is a gain of a
*FACTOR*4* for these special cases.
The change implements these special cases, provides a unit test for these
implementation and converts uses of the expensiver dense matrix matrix
routine with the specialized versions.

Depending on the transform nodes in the scenegraph this change gives a
noticable improovement.
For example the osgforest code using the MatrixTransform is about 20% slower
than the same codepath using the PositionAttitudeTransform instead of the
MatrixTransform with this patch applied.

If I remember right, the sse type optimizations did *not* provide a factor 4
improovement. Also these changes are totally independent of any cpu or
instruction set architecture. So I would prefer to have this current kind of
change instead of some hand coded and cpu dependent assembly stuff. If we
need that hand tuned stuff, these can go on top of this changes which must
provide than hand optimized additional variants for the specialized versions
to give a even better result in the end.

An other change included here is a change to rotation matrix from quaterion
code. There is a sqrt call which couold be optimized away. Since we divide in
effect by sqrt(length)*sqrt(length) which is just length ...
"
2008-09-17 16:14:28 +00:00
..
OpenThreads From Mathias Froechlich, "Attached is a change to that atomic stuff to move the win32, msvc 2008-06-26 10:27:16 +00:00
osg From Mathias Froehlich, "This is a generic optimization that does not depend on any cpu or instruction 2008-09-17 16:14:28 +00:00
osgDB From Maceij Krol, "I have implement frame based expiration of PagedLOD children. 2008-08-17 16:52:35 +00:00
osgFX Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgGA Ported intersection code to use new osgUtil::LineSegmentIntersector/IntersectionVisitor. 2008-07-05 16:39:28 +00:00
osgIntrospection Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgManipulator Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgParticle Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgShadow Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgSim Added call to free in setValue methods to prevent potential memory leak 2008-09-01 10:48:28 +00:00
osgTerrain From Ralf Habacker, removed redundent SwitchLayer::clear() 2008-09-15 11:27:30 +00:00
osgText Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgUtil From Erik van Dekker, 2008-08-18 11:00:40 +00:00
osgViewer From Jutta Sauer, "We added a raise window method to GraphicsWindow. And added two 2008-08-15 17:32:26 +00:00
osgVolume Introduced beginings of osgVolume NodeKit. 2008-09-16 15:32:23 +00:00
osgWidget Tweaks to facilitate osgWrapper build 2008-09-17 14:21:47 +00:00