Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 2698623007: Change how the VR reticle distance is determined. (Closed)

Created:
3 years, 10 months ago by cjgrant
Modified:
3 years, 10 months ago
CC:
chromium-reviews, feature-vr-reviews_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change how the VR reticle distance is determined. - Eliminate special-casing of UI elements on the native side. - Use an invisible, hittable quad as the plane behind content. - Only UI element hit points within a bounding sphere are allowed. - Let the UI set the radius of the bounding sphere. BUG=693154 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2698623007 Cr-Commit-Position: refs/heads/master@{#451802} Committed: https://chromium.googlesource.com/chromium/src/+/e28e50ecc0bc4077c879abc2d06957de0918e75e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix whitespace. #

Total comments: 2

Patch Set 3 : Change background distance multplier to 1.414; move Reload UI button out of the floor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -75 lines) Patch
M chrome/browser/android/vr_shell/ui_elements.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene.cc View 3 chunks +16 lines, -4 lines 0 comments Download
M chrome/browser/android/vr_shell/ui_scene_unittest.cc View 1 chunk +0 lines, -29 lines 0 comments Download
M chrome/browser/android/vr_shell/vr_shell_gl.cc View 2 chunks +10 lines, -33 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 2 5 chunks +23 lines, -6 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui_api.js View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui_scene.js View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
cjgrant
3 years, 10 months ago (2017-02-16 22:45:19 UTC) #3
cjgrant
https://codereview.chromium.org/2698623007/diff/1/chrome/browser/android/vr_shell/ui_scene.h File chrome/browser/android/vr_shell/ui_scene.h (right): https://codereview.chromium.org/2698623007/diff/1/chrome/browser/android/vr_shell/ui_scene.h#newcode87 chrome/browser/android/vr_shell/ui_scene.h:87: float background_distance_ = 10.0f; This feels magic-number-ish, but to ...
3 years, 10 months ago (2017-02-16 22:53:39 UTC) #4
tiborg
lgtm
3 years, 10 months ago (2017-02-21 15:25:00 UTC) #5
mthiesse
lgtm https://codereview.chromium.org/2698623007/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2698623007/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode41 chrome/browser/resources/vr_shell/vr_shell_ui.js:41: /** @const */ this.BACKGROUND_DISTANCE_MULTIPLIER = 2.0; Multiplier seems ...
3 years, 10 months ago (2017-02-21 15:40:45 UTC) #6
cjgrant
https://codereview.chromium.org/2698623007/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): https://codereview.chromium.org/2698623007/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode41 chrome/browser/resources/vr_shell/vr_shell_ui.js:41: /** @const */ this.BACKGROUND_DISTANCE_MULTIPLIER = 2.0; On 2017/02/21 15:40:45, ...
3 years, 10 months ago (2017-02-21 16:25:33 UTC) #7
mthiesse
On 2017/02/21 16:25:33, cjgrant wrote: > https://codereview.chromium.org/2698623007/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js > File chrome/browser/resources/vr_shell/vr_shell_ui.js (right): > > https://codereview.chromium.org/2698623007/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.js#newcode41 > ...
3 years, 10 months ago (2017-02-21 16:29:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698623007/40001
3 years, 10 months ago (2017-02-21 16:46:03 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 18:26:19 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/e28e50ecc0bc4077c879abc2d069...

Powered by Google App Engine
This is Rietveld 408576698