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

Move stereoscopic debug options to Settings framework #7347

Merged
merged 6 commits into from
Nov 15, 2023

Conversation

bejado
Copy link
Member

@bejado bejado commented Nov 10, 2023

This also adds a public Engine::getConfig API, which helps simplify things.

Fixes #7330

@bejado bejado added the internal Issue/PR does not affect clients label Nov 10, 2023
// window.
// For testing, we want to render a side-by-side layout so users can view with
// "cross-eyed" stereo.
// For cross-eyed stereo, Eye 0 is really the RIGHT eye, while Eye 1 is the LEFT eye.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, is there any reason why we didn't match the order of the eyes on the screen with the order of the array?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So in fact we do, and maybe my comment is a little confusing. But eye 0 is always rendered to the left side of the screen, and eye 1 is rendered to the right side:

0 | 1

What this comment alludes to, is the fact that to render cross-eyed stereo, the left and right eyes need to be flipped.

Copy link
Collaborator

@pixelflinger pixelflinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget the java and js bindings.

Copy link
Collaborator

@pixelflinger pixelflinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but needs java and js bindings.

@bejado bejado merged commit 7d31a7f into main Nov 15, 2023
8 checks passed
@bejado bejado deleted the bjd/stereo-options-view branch November 15, 2023 18:52
plepers pushed a commit to plepers/filament that referenced this pull request Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Issue/PR does not affect clients
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stereo option in ViewerGui doesn't use the Settings framework
4 participants