Hello Carlo,

Carlo Orru wrote:
> Hi everybody!
> I'm trying to make a Client/Server application using MultiDisplayWindow. 
> I also want to customize the default RenderAction adding my own code, as 
> follows:
[snip declarations]
> mgr = new SimpleSceneManager ;
> ra = dynamic_cast<RenderAction*>(mgr->getAction());
> ra->registerEnterFunction(Geometry::getClassType(), 
> osgTypedFunctionFunctor2CPtrRef<Action::ResultE, CNodePtr, 
> Action*>(enter));   mgr->setAction(ra);
 >
[snip]
> So my question is: Am I doing something wrong? And if not, is there any 
> way to use a customized RenderAction in conjunction with Clustering?

do you register the functor on the remote machines as well ? Only 
FieldContainers are distributed over the cluster and the actions are not 
FCs (also it would be fairly hard to transport a functor over the 
network...).

        Hope it helps,
                Carsten


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to