Hi Robert:
 Thanks alot !!!that's really help. In your reply,do you mean 
osgDB::SharedStateManager could be used to save memorys by sharing states.But 
the same texture still going to be loaded more than once? You mean it will 
working "after load time"? 
----- Original Message ----- 
From: "Robert Osfield" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, August 14, 2007 4:55 PM
Subject: Re: [osg-users] texture managment for ive model file with textures


> Hi Wangmiao,
> 
> The osgDB::SharedStateManager should be able to help you out.  It
> doesn't eradicate the sharing completely, as the textures will still
> be stored in each file, but  after load time it can help you find
> duplicate state and share it.
> 
> Longer term it'd be nice to have a formal mechnisn for sharing state
> between models that have been serialized separately.  I don't have any
> suggestion to a solution for this though, it'll require some time
> working various solutions through.
> 
> Robert.
> 
> On 8/14/07, wangmiao <[EMAIL PROTECTED]> wrote:
>> Hello ,
>>   I have my model files with texture in it.Some of the texture is shared 
>> through different model.I want to do some texture management to prevent 
>> those textures be  loaded  more than once. I there any suggestions about how 
>> to realize it?
>> Thanks a lot.
>> _______________________________________________
>> 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
> 
> 
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to