-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Make texture scale changeable by display DPI #1086
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All fixed now
Resolves #1078 Signed-off-by: Songlin Jiang <[email protected]>
e7a0764
to
c1701ff
Compare
I've been looking at the relationship between display density and display DPI. For example:
The second option shows the same text at the same size, but it is much clearer and sharper. I don't know if there is a way to find the right combination of values for each device automatically. |
After we get this PR merged so that changing DPI works, I guess we can of course pre-set the default values of density and dpi for each device by adding a switch case here:
The current default value looks good to me using Meta Quest 2, and unfortunately, I don't have any other devices. We need to fine-tune those values case-by-case and I suggest we do it in a separate PR. |
Yes, I agree that we should do that in a separate PR. I have opened #1088 to track that investigation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Actually issue #1106 is not caused by #1105, but rather #1086 (comment) This commit adds an exception to the library UI so that we make sure we are actually in the web page when we reset the scale to 1 for motion event handling. Resolves #1088 together with the reverted reverted commit Signed-off-by: Songlin Jiang <[email protected]>
The issue mentioned in #1106 is not caused by #1105, but rather #1086 (comment) This commit adds an exception to the library UI so that we make sure we are actually in the web page when we reset the scale to 1 for motion event handling. Signed-off-by: Songlin Jiang <[email protected]>
The issue mentioned in #1106 is not caused by #1105, but rather #1086 (comment) This commit adds an exception to the library UI so that we make sure we are actually in the web page when we reset the scale to 1 for motion event handling. Signed-off-by: Songlin Jiang <[email protected]>
* Fix widgets hovering in library UI when DPI is not 100 The issue mentioned in #1106 is not caused by #1105, but rather #1086 (comment) This commit adds an exception to the library UI so that we make sure we are actually in the web page when we reset the scale to 1 for motion event handling. --------- Signed-off-by: Songlin Jiang <[email protected]> Co-authored-by: Sergio Villar Senin <[email protected]>
Resolves #1078 Signed-off-by: Songlin Jiang <[email protected]>
* Fix widgets hovering in library UI when DPI is not 100 The issue mentioned in #1106 is not caused by #1105, but rather #1086 (comment) This commit adds an exception to the library UI so that we make sure we are actually in the web page when we reset the scale to 1 for motion event handling. --------- Signed-off-by: Songlin Jiang <[email protected]> Co-authored-by: Sergio Villar Senin <[email protected]>
Resolves #1078 Signed-off-by: Songlin Jiang <[email protected]>
* Fix widgets hovering in library UI when DPI is not 100 The issue mentioned in #1106 is not caused by #1105, but rather #1086 (comment) This commit adds an exception to the library UI so that we make sure we are actually in the web page when we reset the scale to 1 for motion event handling. --------- Signed-off-by: Songlin Jiang <[email protected]> Co-authored-by: Sergio Villar Senin <[email protected]>
Resolves #1078