On 6/6/06, Lionel Lagarde <[EMAIL PROTECTED]> wrote:
Hi,
is there a way to share a state (texture) between 2 files?
There isn't an automated/inbuilt support for this.
Maybe a {State,Texture}SharingVisitor or a global "material" file
which contains all the StateSets and is referenced by the geometry
files.
You can certainly load a scene grpah and check it against already
loaded state and remove the duplicate state. The SharedStageManager
is designed for this purpose.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/