[osg-users] Database pager and failed loading of PagedLOD's children
Hartwig Wiesmann
hartwig.wiesmann at skywind.eu
Sun Mar 4 09:51:36 PST 2018
Hi,
I use PagedLODs and the database pager to load dynamically nodes. Here is the pseudo code:
Code:
pagedLOD->addChild(nodePtr,limit,std::numeric_limits<float>::max);
pagedLOD->setFileName(1,fileName);
pagedLOD->setRange(1,0.0,limit);
In case the pseudo-loader for fileName fails I would like to keep the child at position zero (here called nodePtr).
What is the best method to achieve this?
Thank you!
Cheers,
Hartwig
PS: Sorry for posting this item also in the wrong forum. :'
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=73016#73016
More information about the osg-users
mailing list