[osg-users] isolate specific LOD from a VPB generated database

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Tue Nov 29 11:18:21 PST 2016


Thanks Robert.

Clear on forcing the loading as in the LOS intersection utilities. Let say
I load my area of interest at the LOD I want, how to force OSG now to
render only that LOD ? Any hints on this?

Thanks so much !

Nick

On Tue, Nov 29, 2016 at 7:55 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> Hi Nick,
>
> On 29 November 2016 at 18:20, Trajce Nikolov NICK
> <trajce.nikolov.nick at gmail.com> wrote:
> > I need the idea this time :-) .... This hurts my head for few days
> already
> > :-)
> >
> > As the subject says, I have VPB database, geocentric. And this is quad
> tree
> > with many LODs and it is PagedLOD based. How to isolate specific LOD and
> > display only that LOD? Quite challenging, uhm ...
>
> There isn't any specific support for this in the OSG so you'll need to
> implement it yourself.  Essentially you'll need to traverse down the
> database loading subgraphs until you get to the level of interest then
> do your operations on that.  The closest example code to doing this
> would probably be the intersection utilities in osgSim such as
> osgSim::LineOfSight - these intersection utilities have a helper class
> that does the loading as the intersection utility drills down into the
> dataset.
>
> The other approach you could take would be to use the naming of the
> tiles on disk as a cue to what subgraphs contain the PagedLOD you are
> looking for.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161129/71b5230e/attachment-0003.htm>


More information about the osg-users mailing list