Re: [webvr] Re: [gamepad] Missing VRPose for tracked controllers

Brandon Jones (Google) has made some experimental WebVR Chromium builds that include support for the HTC Vive VR motion controls.  We would like to propose this as a standard and update to the GamePad API.

Brandon has started a thread on w3.org <http://w3.org/> that gives some background:

https://lists.w3.org/Archives/Public/public-webapps/2016AprJun/0052.html <https://lists.w3.org/Archives/Public/public-webapps/2016AprJun/0052.html>

The WebVR API 1.0 has already extended the GamePad API by adding a “displayID” attribute:

https://mozvr.com/webvr-spec/#interface-gamepad <https://mozvr.com/webvr-spec/#interface-gamepad>

The proposal is to take this further and expose an optional “pose” attribute, which would return the same attributes within the VRPose:

https://mozvr.com/webvr-spec/#interface-vrpose <https://mozvr.com/webvr-spec/#interface-vrpose>

Cheers,
 - Kearwood “Kip” Gilbert
   Platform Engineer, Mozilla VR Team

> On May 24, 2016, at 12:22 AM, Sven Neuhaus <sven-w3@sven.de> wrote:
> 
> Hello Florian,
> 
> Thanks for pointing out the WebVR spec draft.
> 
> The WebVR draft dated April 1st contains a Gamepad interface expansion
> (§2.11), however it only extends it by a DisplayId.
> It should also add a VRPose for tracked controllers.
> 
> I think adding a VRPose could have benefits for non-VR applications as
> well (think about the Nintendo Wii controllers!), however. So my
> suggestion to add it to the Gamepad API still stands.
> 
> Regards,
> -Sven Neuhaus
> 
> Am 23.05.2016 um 15:52 schrieb Florian Bösch:
>> The WebVR API models HMD pose and will model the gesture controllers.
>> https://mozvr.com/webvr-spec/
>> 
>> On Tue, May 17, 2016 at 9:41 AM, Sven Neuhaus <sven-w3@sven.de
>> <mailto:sven-w3@sven.de>> wrote:
> 
>>    I read the gamepad API description at
>>    https://developer.mozilla.org/en-US/docs/Web/API/Gamepad
>> 
>>    I think the gamepad API should support a VRpose for gamepad controllers
>>    like the ones included with the HTC Vive and the upcoming Oculus Touch
>>    controllers.
>> 
>>    I suggest that you add a getPose() method that returns a VRPose object
>>    for controllers that support tracking.
>> 
>>    The "orientation" property of the VRPose object could also be useful for
>>    some gamepads that include IMUs for orientation tracking.
> 
> _______________________________________________
> web-vr-discuss mailing list
> web-vr-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/web-vr-discuss

Received on Tuesday, 24 May 2016 18:13:14 UTC