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:
... SimpleSceneManager* mgr ; RenderAction* ra ; ... ... ... mgr = new SimpleSceneManager ; ra = dynamic_cast<RenderAction*>(mgr->getAction()); ra->registerEnterFunction(Geometry::getClassType(), osgTypedFunctionFunctor2CPtrRef<Action::ResultE, CNodePtr, Action*>(enter)); mgr->setAction(ra); ... ... ... Where "enter" is my user-defined EnterFunction. My code works flawlessly if used in a non-clustered application, but in a Client/Server application my "enter" method is never executed, while the default SimpleSceneManager transformations (zoom, rotation, camera movements) still work fine. 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? Any help would be greatly appreciated! Carlo ------------------------------------------------------------------------- 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
