News for hackers. Stuff that matters.
Re:Newer faster version of WebGL Quake 3 demo : JQuery is go... by dasmoth on Friday February 17, 2012 @01:21PM (#3604365)
As with most first-person WebGL projects, things go wrong when the mouse pointer leaves the canvas area. Is there anything that can be done to "capture" the pointer (that isn't horribly open to abuse...)?
Re:Newer faster version of WebGL Quake 3 demo : JQuery is go... by MatthewPhillips on Friday February 17, 2012 @01:28PM (#3604399)
The Point Lock API[1], not yet implemented except in experimental branches.

[1]https://developer.mozilla.org/en/API/Mouse_Lock_API

Re:Newer faster version of WebGL Quake 3 demo : JQuery is go... by Toji on Friday February 17, 2012 @01:37PM (#3604441)
It's already there. If you run the demo with a dev version of Chrome going into fullscreen mode locks the mouse cursor and gives you more traditional FPS controls. This should be making its way into the stable versions of several browsers within the next few months.
Re:Newer faster version of WebGL Quake 3 demo : JQuery is go... by ck2 on Friday February 17, 2012 @02:31PM (#3604644)
Google Maps does something to capture the mouse - unless you mean without buttons being held.