Hi Bryan,
From experience, I can say that one dynamic_cast per frame per node can really
add up to hurt performance :)
Depends how many nodes. For example, for osgOcean::OceanScene, you
should generally have only one in your whole scene. So in that case,
one dynamic_cast per frame per node == one dynamic_cast per frame
Of course, I wouldn't advocate doing one dynamic_cast per frame in a
node that's going to be used all over the place, hundreds of thousands
of times in the scene... :-)
J-S
--
______________________________________________________
Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org