-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
a-videosphere: 180 degree support and SBS support. #5472
Comments
For your second question, for 360 stereo video, you can look at https://github.com/oscarmarinmiro/aframe-stereo-component and there is actually also a half mode for 180 videos but I never used it. I used it mainly with videos and single image with top=left eye and bottom=right eye. |
Feel free to submit a PR with doc improvements. For first question. It would be possible to playback 180 degrees video but we haven't seen much demand. What's the format / special about it? 180 video is not just equirectangular too? Can always be supported via 3rd party component. |
Answering the first question for future generations, for non-equirectangular but spherical projection (like a 180 fisheye) as such: Using a custom shader on a videosphere:
this approach can be adapted to dual fisheye lenses 360 thus answering the second question aswell. |
This fisheye projection would be probably better handled as a 3d party component. |
https://aframe.io/docs/1.5.0/primitives/a-videosphere.html#equirectangular-video
in aframe/examples/boilerplate/360-video:
<a-videosphere rotation="0 -90 0" src="#video" play-on-click></a-videosphere>
Thanks
The text was updated successfully, but these errors were encountered: