<div dir="ltr">Hi Tony,<br><div class="gmail_extra"><br><div class="gmail_quote">On 31 August 2015 at 03:54, Tony Vasile <span dir="ltr"><<a href="mailto:minghia@gmail.com" target="_blank">minghia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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?<br></blockquote><div><br></div><div>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.  <br><br>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.<br><br></div><div>Robert.<br></div><div><br> </div></div></div></div>