On Sun, Sep 27, 2015 at 9:28 PM, Garth D <garthy_...@entropicsoftware.com> wrote: > As a side note, I have to say that I am really liking the ability to hang > Uniforms off arbitrary parts of the scene graph- generally on Geometry or > Groups depending on the scope that I need the Uniform to cover. It's really > a very nice design.
Uniforms are parts of the OpenGL state, same as e.g. bound textures, shaders or lighting settings. If I grossly simplify things, the "only" thing that OSG does is to manage this state for you - adds and removes bits from the state depending on which part of the scene graph is being drawn, all the while to make sure to minimize the amount of these state changes (changing state of the driver is relative expensive operation). It is one of the basic purposes of a scene graph. J. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org