Add tracking of the current bound FBO's id in osg::State
Merge branch 'master' of https://github.com/openscenegraph/osg
Merge branch 'master' of https://github.com/openscenegraph/osg
Merge branch 'master' of https://github.com/openscenegraph/osg
From Mike Krus, compile fix to enable compiling across a wider set of versions.
Further work on new MultipassTechnique/VolumeScene.
Improvements to new MultipassTechnique
Introduced SampleRatioValueProperty for more intuitive control of how many samples to take when volume rendering
Added support for handling viewports with offset origins, and with it split stereo.
Added initial support for 1D transfer functions to MultipassTechnique
Changed epsilon to 1e-5 to address picking problems with planaer objects
Applied unquie CullVisitor::Identifier rather than reusing the cloned one.
Added SampleRatioWhenMoving property and support to new osgVolume::MultipassTechnique.
Implemented ability to switch between different shaders with new MultipassTechnique
Removed the unused Texture::Extensions::numTextureUnits()
Added experimental image 3d downsample function.
Added support for new osgVolume::MultiPassTechnique to Present3D.  To use add property renderer="MultiPass":

  <volume renderer="MultiPass">MyVolumeData</volume>
Implemented support for calling scripts from with Present3D.
From Stephan Hunber, "I found some time and ported osgDB::FileUtils and DarwinUtils across new apis to fix the warnings about deprecated api-usage.

* osgDB::FileUtils uses now the Cocoa-API to determine the paths of the application-support-folder
* DarwinUtils uses now modern functions of the quartz-api to get and set screen-resolutions. Removed some of the osg-deprecated stuff.
"
From Stephan Hunber, "attached you’ll find some changes to osg/p3d:

* a new command-line-option to present3d and a new option to the p3d-plugin to suppress any found <env> tags
* a new command-line-option to present3d to forward mouse-events via osgGA::Device (defaults to off) so we can test the interface-files with present3d better
* I added a new attribute forward_to_devices for click_to_event to forward the event to all attached devices instead of handling the event locally. This will fix the annoyance with the new interface-files when toggling polygon-mode or switching light on/off.

Here’s an example:

<click_to_event forward_to_devices="true">0x72</click_to_event>
"