Re: [osg-users] Keyboard-callback model tranformation

2014-04-28 Thread Trajce Nikolov NICK
Hi Laura, the osgGA library holds classes that are responsible for managing events from mouse, keyboard etc. You would be interested in osgGA::GUIEventHandler and its *handle* method. So You might want to inherit and override the *handle *method that will do processing based on keypress event - th

[osg-users] Keyboard-callback model tranformation

2014-04-27 Thread Laura Mac
Hello all, I am a beginner with OSG and with graphics programming in general, so please excuse the elementary question. I am interested in rendering a ship model rotating the model (through interpolation) whenever particular keys are pressed. As I am new to OSG, I have been browsing through th