I have a number of different models in OSG format that all use the same
texture. 

 

What I want to avoid is having duplicate textures loaded onto the
graphics card when I load these separate models. In previous programs I
have achieved this using a Texture Manager that manages all texture
loading i.e. loading the texture once when required and then dishing out
the texture ID on subsequent requests. A fairly standard practice. 

 

Is there something similar already built into the OSG? The
TextureAtlasBuilder in osgUtil sounds looks like it might do something
similar but I'm not 100% sure, there is very little documentation on it.


 

 

 

Thanks all.

 

Kim. 

*****************************************************************************************
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to