-
Notifications
You must be signed in to change notification settings - Fork 19
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 XRCompositor language to accomodate monoscopic displays #140
Conversation
…ed stereo + fixed some typos
Hmm. This might be confusing, it might be worth erroring if these are used instead of mono? Alternatively, we can perhaps rename these to not be "stereo" but instead be "views" where they each have the number of subrects equal to the number of views, and we can have This would also properly solve #114 |
No, we don't want to error out because then mono experiences will crash unless the author specifically accommodates them.
I agree that |
yeah I don't quite care about the naming :) It seems like we should just have "mono" vs "natural" and natural is laid out however the UA wants, using something like getViewport(). If we do this are the horizontal and vertical variants necessary? I.e. does the user still need the ability to request a particular arrangement? |
Should I change it to
Yes, those are still needed to accommodate pre-canned video, bitmaps, etc |
/agenda What should we replace the |
Should this not just use the XRMediaBinding stuff? Even if we decide to have such layers, it still feels weird to then patch mono support in for these layers. Overall these two seem to b pretty specal-case-y and I'm wary of adding something like that. |
No because authors will want to add other effects on top of video or use the stereo bitmaps.
I'm not adding side-by-side layout in the PR. That was already discussed in previous issues. |
Yes, but you are deciding a behavior for side-by-side layout textures in mono sessions, which is what's weird here. And yeah I think this is a wider discussion that needs to be had: it was kinda ongoing in #114 but that was closed with a specific fix. I'll open something new. |
If you have other behavior in mind, we can discuss that here. |
Hmm. It still feels weird, but I won't block this. I'll file a separate issue for the existence of left-right and top-bottom. |
It was introduced by #46. We also discussed it in a weekly call but I don't know how to link that. |
Yeah, I think there's a bit more to it than that. For example, even if we rename "stereo" there still needs to be a way to get viewports. |
Hmm, looking at it it seems fine now, but we should probably add non-normative notes explaining these modes better. |
@Manishearth I added a note. Do you think more information is needed? |
Looks great, thanks! |
We discussed this change a bit in this week's call but we didn't resolve what name we should use. Also, @toji I was wrong when I said a projection layers can be mono on a stereo device. It's defined to be always |
@toji any comments on my latest changes? |
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!
Closes #68