Re: [osg-users] Keyboard Event handler Problem

2012-06-12 Thread Koduri Lakshmi
Hi, Can any one please help me what could be the mistake. ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48188#48188 ___ osg-users mailing list

Re: [osg-users] Keyboard Event handler Problem

2012-06-12 Thread Robert Osfield
On 12 June 2012 07:58, Koduri Lakshmi ankiredd...@gmail.com wrote: Hi, Can any one please help me what could be the mistake. The code looks kinda messy but I can't really spot what might be the mistake as there is clearly stuff missing, but can't say whether this is because you simply didn't

Re: [osg-users] Keyboard Event handler Problem

2012-06-12 Thread Koduri Lakshmi
Hi, This is my mistake. I am deactivating the render window and activating another window. I am getting messages when I selected the render window. ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48195#48195

[osg-users] Keyboard Event handler Problem

2012-06-11 Thread Koduri Lakshmi
Hi, I want to get events from the keyboard. To do this I created a class by deriving osgGA::GUIEventHandler and implemented hanlder method. But my program is not catching the events. Here is my code Code: class KeyboardEventHandler : public osgGA::GUIEventHandler { bool