Re: [osg-users] Restoring Mouse Pointer

2007-12-12 Thread maruti borker
Thanks for the cut-pasted code :) ... I have attached how i actually did it .. On Dec 12, 2007 12:03 AM, Paul Speed [EMAIL PROTECTED] wrote: maruti borker wrote: Yes , even i wanted to have quake-type controls ... can u please copy paste some example code so that i can have an idea.

Re: [osg-users] Restoring Mouse Pointer

2007-12-11 Thread maruti borker
Yes , even i wanted to have quake-type controls ... can u please copy paste some example code so that i can have an idea . On Dec 11, 2007 2:28 AM, Paul Speed [EMAIL PROTECTED] wrote: If this is on Windows then I think the only good way is to grab the mouse directly using DirectInput. This

Re: [osg-users] Restoring Mouse Pointer

2007-12-11 Thread Paul Speed
maruti borker wrote: Yes , even i wanted to have quake-type controls ... can u please copy paste some example code so that i can have an idea. Ok, our code is part of a Java peer since we actually grab the mouse values from Java. So I'll cut and paste the relevant stuff but don't be

Re: [osg-users] Restoring Mouse Pointer

2007-12-10 Thread Jason Daly
maruti borker wrote: I am trying to develop a normal walkthrough program in OSG . I am trying use wasd for movement and mouse for rotation . W-front A-left D-right S-back . The wads part is done , but when it comes to mouse movement i am facing a small problem . What i am trying to do

Re: [osg-users] Restoring Mouse Pointer

2007-12-10 Thread maruti borker
Ok , suppose i am calculating the amount of steering from the center of the screen ... even then when the mouse reaches one corner of a window it wont be able to move any further , thus from that point the diffrence will always be zero wont it be ? On Dec 10, 2007 2:54 PM, Robert Osfield [EMAIL