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

Inverted stereo in `360-photos.html´ (device dependent?) #132

Open
Mikael-Lovqvist opened this issue Oct 14, 2021 · 3 comments
Open

Inverted stereo in `360-photos.html´ (device dependent?) #132

Mikael-Lovqvist opened this issue Oct 14, 2021 · 3 comments

Comments

@Mikael-Lovqvist
Copy link

When media/textures/chess-pano-4k.png is loaded it is using mode stereoTopBottom but it seems it should use stereoBottomTop. I tested this by adding this to skybox.js Mikael-Lovqvist@b4e88cb and then testing it like so Mikael-Lovqvist@99e2bbe

This was tested on an Oculus Quest 2, I saw there were earlier mentions of inversion and the jpeg was replaced with a corrected png, could this be device dependent?

@alfski
Copy link

alfski commented Apr 26, 2022

The chess-pano-4k.png (Right on top, Left on bottom) is stereo inverted on a Quest 1 as well.
The older chess-pano-4k.jpg (Left on top, Right on bottom) displays correctly.

The normal convention is "stereoTopBottom" (Left on top, Right on bottom).
I'd just go back to the older reference mage?
(additionally the original jpeg is only 2.5Mb vs 20Mb for the swapped .png!)

@Mikael-Lovqvist
Copy link
Author

I think there is a certain completeness if the API used in the sample supports all four ways (top/bottom, bottom/top, left/right and right/left) but ultimately someone from this project will have to make a decision. To just fix it by changing the image feels slightly wrong to me in case you for whatever reason want to break "normal convention" (if there even is such a thing). Just my two cents!

@mrxz
Copy link
Contributor

mrxz commented Sep 27, 2024

I noticed the same issue while trying to use stereo-top-bottom with an Equirect layer. With the Meta Quest Browser on the Quest 3 the top-half gets shown in the right eye and the bottom-half in the left eye.

The chess-pano-4k.png file seems to have right on top and left on the bottom as well. It is used in two examples: 360 Photos and Equirect Layer, but it only renders correctly in the latter. With a Pico Neo3 Link both examples show inverted stereo.

So it seems that the Meta Quest browser renders stereo-top-bottom inverse and the chess-pano-4k image got incorrectly inverted in this commit: 071895b

mrxz added a commit to mrxz/webxr-samples that referenced this issue Sep 27, 2024
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

No branches or pull requests

3 participants