On 7/28/06, cg baccha <[EMAIL PROTECTED]> wrote:
Robert,

I have created a custom visitor which will collect the drawables (I still
have to add that code). When I call accept on the txp terrain node with the
visitor object as parameter, the apply(osg::Node&) function gets called and
not the apply(osg::Geode&).
In the apply(osg::Node&) function when I cast the node object to osg::Geode,
the  application crashes.
I am unable to pick drawable from the node reference in the apply function.

Without see the code I have little chance of guess what you've done
wrong.  There are plenty of NodeVisitor examples in the OSG source
code so please refer to these.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to