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?
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to