Hi Tony, On 31 August 2015 at 03:54, Tony Vasile <[email protected]> wrote:
> We have a bunch of OpenFlight models with have information in some of the > nodes that we use to configure our system. Is it better to use ReadNodeFile > and post-process the file with a NodeVisitor? Or is is better to override > osgDB::ReadFileCallback and somehow exercise our code when it finds a node > of particular interest? > You'll likely be using the same code to find the nodes of interest no matter what approach you use, to me it's really just an issue where it'll be most convenient/flexible for you to invoke it in your application. If you are loading the files directly by your application by calling osgDB::readNodeFile(..) then adding post processing in afterwards would be easy, but if the files are being read as part of paged database then using the ReadFileCallback would be required. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

