Hi,

I have followed some DatabasePager requests.

in the Databasepager, a request follow this path:
- requestFile -> _fileRequestList
- _fileRequestList -> /loading/ -> _dataToCompileList
- _dataToCompileList -> /compilation/ -> _dataToMergeList
- _dataToMergeList -> SharedStateManager -> PagedLOD child

My DatabasePager is configured to compile the loaded
sub-graph and my ShareStateManager is configured to share
the textures.

The loaded sub-graph is compiled before the state sharing stage.
When the sub-graph is compiled, the textures are uploaded in the
video memory. Then, the SharedStateManager try to share textures
between the differents StateSet and unload the the newly uploaded
texture.


To avoid unnecessary texture uploads, the SharedStateManager should
process the loaded sub-graphs before the compilation stage. No ?



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to