Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UI for Aquarium VR Mode #16

Merged
merged 3 commits into from
Nov 21, 2017
Merged

Conversation

shaoboyan
Copy link
Contributor

@shaoboyan shaoboyan commented Nov 20, 2017

This PR contains two part.
I. it rebase aquarium-vr to latest version.

II. Add UI for aquarium vr mode. It has features below :

  1. Show fps in front of users. User could see current fps in HMD. This feature could be turn off by user in VR menu.
  2. VR Menu. It is a mirror of control panel of aquarium. User could call out menu by pressing any key on keyboard or clicking any button on their VR controller or gamepad. Menu is a mirror of control panel without "Advanced" label in aquarium. When menu present, user could control cursor(a point in front of user view) by their head. When a label is selected, it will close to user. User stares at a label for 1.5 seconds means click and corresponding operation will be adopted.

With the UI part, I think aquarium-vr has most feature of aquarium and it maybe possible to accepted aquarium-vr as vr mode of aquarium and merge two folders into one.

@shaoboyan
Copy link
Contributor Author

@gyagp PTAL first.

Add UI for aquarium vr mode. It has features below :
1. Show fps in front of users. User could see current fps in HMD. This feature could be turn off by user in VR menu.
2. VR Menu. It is a mirror of control panel of aquarium. User could call out menu by press any key on keyboard or click any button on their VR controller or gamepad.
   The menu is a mirror of control panel without "Advanced" label in aquarium. When menu present, user could control cursor(point in front of user view) by their head.
   When a label is selected, it will close to user. User stares at a label for 1.5 seconds means click and corresponding operation will be adopted.
@greggman greggman merged commit 80d3a35 into WebGLSamples:master Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants