[osg-users] viewer events synchronization

Julien Valentin julienvalentin51 at gmail.com
Tue Dec 12 12:54:19 PST 2017


Hi

Eventqueues are per view so you can register your keyboard handler in both views (addeventhandler)...no?



xdfanfan wrote:
> Hi All,
> I have used the osgViewer::CompositeViewer generating two viewers,and I have overrided the method handle()of osgGA::GUIEventHandler ,BUT finally just only the viewer where the cursor in is responded.
> My question is how to make the two viewers events synchronization through just one keyboard click.
> 
> 
> Thank you very much!
> 
> 
> Judy
>  (http://dict.youdao.com/w/event%20synchronization/#keyfrom=E2Ctranslation)
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72574#72574







More information about the osg-users mailing list