Hi Chris, On 8/30/06, Chris Hanson <[EMAIL PROTECTED]> wrote:
Also, I'm not clear on how it identifies the commonality of textures in order to share them. I looked over the code, but didn't really see how it determined if two textures were common and could be shared. I did see that they needed to be DataVariance == osg::Object::STATIC.
It uses the "compare" function of the texture to determine equality. Look at the SharedStateManager::find(osg::StateAttribute *sa) method. -Farshid _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
