Hi, I recommend you using an EventCallback for your node. Herit your callback from osgGA::GUIEventHandler and you will get everything you need to capture keyboard events.
On 3/16/07, Qasim Mumtaz <[EMAIL PROTECTED]> wrote:
Hi . I[newbie] got a question related to performance. I got a node(geode) which i have to update using keyboard event, as it changes shape. If I update that using updatecallbacks, will that take more CPU cycles and will affect the performace as compared to manual update only on events? And which one is better. Please advice. Regards ------------------------------ The fish are biting. Get more visitors<http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50>on your site using Yahoo! Search Marketing. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
-- Serge Lages http://www.magrathea-engine.org
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
