Hi John,

You can share textures by using the osgDB::SharedStateManager - assign
one to the osgDB::Registry::instance().

Robert.

On Fri, Jul 30, 2010 at 7:42 AM, John Water <[email protected]> wrote:
> Hi, everyone:
>
> I want to opmitize my osg' programm, and want to share the same texture 
> (image) in different .ive models, I think it may reduce osg'StateSet numbers.
>
> what can I do ?? any advice, very appreciate!!
>
> Thank you!
>
> Cheers,
> John
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=30417#30417
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to