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

fix: vertically interlaced stereoscopic rendering #9562

Merged
merged 1 commit into from
Dec 7, 2020

Conversation

foxxyz
Copy link
Contributor

@foxxyz foxxyz commented Dec 7, 2020

Background

Rig mode for vertically interlaced stereoscopic rendering RIG_MODE_STEREOSCOPIC_INTERLACED was first implemented in #7425 (forum discussion), and likely inadvertently removed in #8001 (dc0e816).

Current Behavior

RIG_MODE_STEREOSCOPIC_INTERLACED currently renders identical to RIG_MODE_STEREOSCOPIC_OVERUNDER (playground link). Inquiry was made with @RaananW in #8000.

New Behavior

These changes should preserve the correct behavior of RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_PARALLEL, RIG_MODE_STEREOSCOPIC_SIDEBYSIDE_CROSSEYED, RIG_MODE_STEREOSCOPIC_OVERUNDER, while adding back in support for RIG_MODE_STEREOSCOPIC_INTERLACED taken from original commits by @bilkusg (7830702).

Screenshot:
Screen Shot 2020-12-06 at 3 33 45 PM

Please let me know if any adjustments are required, and thanks for making this fantastic library!

Copy link
Member

@RaananW RaananW left a comment

Choose a reason for hiding this comment

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

Visual validation needs to run again to make sure it's not related, otherwise approved

@deltakosh deltakosh merged commit 885483f into BabylonJS:master Dec 7, 2020
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.

3 participants