[osg-users] Pruning content

Jeremy jswigart at gmail.com
Mon Dec 14 06:03:22 PST 2015


What's the preferred method of loading a model, for example an open flight
model, and pruning it of unneeded data? I assume that would be by making a
custom visitor that modifies the hierarchy. Is that correct?

How would you do this with respect to the pager? I don't see a mechanism to
inject a custom visitor to the pager to modify loaded content, ideally
before caching to the file cache. I'm inclined to add a custom visitor
pointer to the options class like a "postLoad" to post process the models
in a way that is compatible with the pager and file caching. Does that seem
reasonable? Did I miss any alternative methods?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151214/d3fb6c7a/attachment-0001.htm>


More information about the osg-users mailing list