New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 846411 link

Starred by 4 users

Issue metadata

Status: Started
Owner:
Last visit > 30 days ago
Components:
EstimatedDays: 1
NextAction: ----
OS: Android
Pri: 1
Type: Bug
Proj-VR
Proj-XR



Sign in to add a comment

Use the frame of reference in requestHitTest() to support non-"eyeLevel" FOR

Project Member Reported by lincolnfrog@google.com, May 24 2018

Issue description

should we be examining coordinateSystem to get the origin/direction into a common coordinate system before sending up to the browser process?"
probably?

At the moment eyeLevel is the "default" coordinate system, so anything given relative to that can be passed without transform.
(We'll probably need to change that when anchors come along, but fortunately that can be done invisibly to the user.)
for a stage frame of reference you'll need to multiply by the inverse of the sittingToStanding transform to get it back into the "default" coord sys.
and headModel is... weird.

I think we just multiply by the result of TransformBasePose, to get into "base coordinate system used by the service"

That transforms from the base coordinate system to the coordinate system in question. You want the inverse of that.
So you'll actually want to take something like TransformBaseInputPose (which handles headModel for input properly) and multiply do the inverse of whatever transform it eventually does.
https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/xr/xr_frame_of_reference.cc?sq=package:chromium&g=0&l=121

I think we also want to capture that matrix, then on the result side, transition the results back to the coordinate system passed into the request
 
Owner: lincolnfrog@chromium.org
Status: Available (was: Unconfirmed)
Labels: Pri-2 Type-Bug
Status: Assigned (was: Available)
Components: Blink>WebXR
Components: -Blink>WebXR Blink>WebXR>AR
Labels: BlinkWebXR
Removing Blink>WebVR component and assigning to Blink>WebXR 
Components: Blink>WebXR
Labels: -BlinkWebXR
Removing Blink>WebVR component and assigning to Blink>WebXR 
Components: -Blink>WebVR
EstimatedDays: 1
Labels: -Pri-2 Pri-1
Status: Started (was: Assigned)
I already have a CL up for this. There could be some work related to ongoing spec conversations, however
Labels: AR-HitTest
@lincolnfrog : can you provide link to spec bug/s that you're blocked on?
Labels: XR-Spec

Sign in to add a comment