Am 31.08.2015 um 04:54 schrieb Tony Vasile:
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?
In my framework I've added an unconditional ReadFileCallback for all
nodes and images and run my visitors directly from there. This works
reasonably well, as very special handling of different nodes, own
caching etc. can be done there.
The overhead is fairly minimal.
Cheers
Sebastian
Tony V
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64947#64947
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org