On Thu, Feb 4, 2010 at 4:23 PM, Vincent Bourdier <[email protected]> wrote: > What difference will it makes if I return FILE_LOADED or > ERROR_IN_READING_FILE ?
If you didn't load the file you shouldn't return a FILE_LOADED, so since with don't have an INSUFFICIENT_MEMORY_TO_LOAD (or similar) enum then the closest would be ERROR_IN_READING_FILE. > So If I decrease this value, some PagedLod will be released ? It won't release any right away, but as the frames progress it'll work to get the max down to your specified target when it's possible. > What difference with cameraLODScale ? The osg::Camera::setLODScale() just changes which children are selected in the view, it doesn't change the max number of PagedLOD target, but it will directly affect how many PagedLOD that will be active in any view. > I just made a test > increasing/decreasing this value and I saw the effect on PagedLod and > memory. Yes, this is exactly how one would expect it to work. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

