Dear Robert: Yes, I have solved the picking problem. Thank you.
Once I get the double clicking function, I can do many actions (but not hurting people). I just want to know whether osg provide this function or not. I do not use any specifical tookits, but probably CEGUI in the future. Cheers Quoting Robert Osfield <[EMAIL PROTECTED]>: > On 6/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I want to do something when double clicking on an object using left > button > > or right button of the mouse. How can I do that? Thanks. > > What do you want to do? Scratch your nose when you double click? If > so I'd recommend change the node name of an object in a scene to say > "Scratch your nose" and then run this model in osgpick so when you > move the mouse over it you'll be able to see the word come up on > screen. > > If not can be a little more specific, the OSG is primarily a scene > graph, it's windowing toolkits that allow you to catch events. So > which windowing toolkti are you using? > > Also have you got any picking already working? Have you looked at the > osgpick example already? > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
