HI Hartwig,

This isn't a submission so best to post general questions like this on
other parts of the forum.

As for the particular question, the OSG requests children that are
required for a given range when then come into range, and while they
aren't available will automatically fallback to the next highest level
of detail until this child is loaded.

So... in your case if child 1 fails to load when request the OSG will
just keep fallback back to child 0 automatically.

Robert.

On 4 March 2018 at 17:42, Hartwig Wiesmann <hartwig.wiesm...@skywind.eu> wrote:
> 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
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=73014#73014
>
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
osg-submissions@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to