-
Notifications
You must be signed in to change notification settings - Fork 176
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
Avatar auto scale: match avatar eye height to user eye height. #942
base: master
Are you sure you want to change the base?
Avatar auto scale: match avatar eye height to user eye height. #942
Conversation
This adds an 'Auto' button to the avatar scale slider. The Auto button scales the avatar so that its eye height matches the user's real-world eye height (based on the 'User real world height' setting). In this way, the world is displayed at exactly 100% scale to the user in VR. The '1x' button now sets the avatar scale to 1.0 even if the current scale is at the same 'notch' as 1.0 on the scale slider (previously it had no effect in that situation). Test done: - In VR, kneel to position your head as if you were 1m tall. - Set 'User real-world height' to 1m (in Settings > Controls). - Open the Avatar app and click on the sliders icon at the top-right. - Click the '1x' button and observe that the world is miniaturised. - Click the 'Auto' button and observe that the world is displayed at actual size.
Improve comments and fix bracing style. Co-authored-by: David Rowe <[email protected]>
The following links are available:
build (macOS-latest, full) build (windows-latest, full) build (ubuntu-18.04, android) |
Thanks for the changes @ctrlaltdavid - I committed them. I think the button label "Auto" would be unclear. What would you think of this instead? |
Personally I think "Real Height" would be more descriptive. Not sure if there is space for that though. Maybe putting the "1x" on the right would make enough space? |
Julian's suggestion sounds good to me. |
as suggested here: vircadia#942 (comment)
Thanks, I renamed the button "Real Height" in e89e80d : |
…almer/project-athena into feature/avatar-auto-scale
The following links are available:
build (macOS-latest, full) build (windows-latest, full) build (ubuntu-18.04, android) |
@ctrlaltdavid, @JulianGro
Originally posted by @Phil-Palmer in #939 (comment) It should be easier to communicate the combined result of the two fixes together, rather than releasing them separately. |
Marking it as draft will be fine for the moment. :) |
This seems like a good feature. About the button text-- I think "real height" is fine but what about "user height"? The user is the actual point of reference, although technically it's the eye height and not the user/avatar height that's synced. |
Hello! Is this still an issue? |
This PR adds a 'Real Height' button to the avatar scale slider. The button scales the avatar so that its eye height matches the user's real-world eye height (derived from the 'User real world height' setting). In this way, the world is displayed at 1:1 scale to the user in VR (fixes #939).
Tests done
Screenshots