[osg-users] Drag and drop operation in OSG

2010-01-08 Thread manish Choudhary
Hi,
In my application ,I need to pick one object by pushing  left mouse button and 
drop it to another node during releasing of left mouse button .

Problem I'm facing is that while  moving mouse[ still left mouse button press] 
the camera is moving along .

How can I stop movement of camera , so that i can achieve my require goal that 
is drag and drop ?

or is there any other way of achieving that ?




... 

Thank you!

Cheers,
manish

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





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Drag and drop operation in OSG

2010-01-08 Thread Trajce Nikolov
Hi Manish,

what I would do is I would extend some Camera Manipulator to not update
during in drag mode. Other way is in your event handler when the dragging
starts, set the camera manipulator to 0 end on dragging completed reset it
to what was before

Nick

http://www.linkedin.com/in/tnick
Sent from Ünalan, İstanbul, Turkey

On Fri, Jan 8, 2010 at 11:54 PM, manish Choudhary osgfo...@tevs.eu wrote:

 Hi,
 In my application ,I need to pick one object by pushing  left mouse button
 and drop it to another node during releasing of left mouse button .

 Problem I'm facing is that while  moving mouse[ still left mouse button
 press] the camera is moving along .

 How can I stop movement of camera , so that i can achieve my require goal
 that is drag and drop ?

 or is there any other way of achieving that ?




 ...

 Thank you!

 Cheers,
 manish

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





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org