As you doesn't answer the my post I assume you're using the mailing list
so you may haven't seen my updates and I'm curious to know if it would work lik
this:
clas mycull : public Callback{
public:
Matrif modelview;
virtual void run(Node&node,Cullvisitor &cv){
cv->traverse(node)
modelview=cv->getModelViewCullingStack().back()
}
};
yournode->setCullCallBack(new mycull())
and in your update callback static_cast<mycull*>
(yournode->getCullCallBack())->_modelview
mille25 wrote:
> Hi Robert,
>
> unfortunately some objects move in my scene, so its not enough to only hold
> the old view matrix.
>
> The camera AND any object can move.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67933#67933
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org