Hi, all:
I'm trying to get view pointer in traverse function. I used:
CullVisitor *cv = dynamic_cast<Cullvsitor *>(nv);
cv->getCurrentCamera()->getView();
This wouldn't work if the current node is a child of a Camera node which is
in the scenegraph.I'm wondering how to achieve this. Could anybody give me some
advices? Thanks in advance.
------------------
Failure is the mother of success.
Wu Zhicheng
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org