aframe icon indicating copy to clipboard operation
aframe copied to clipboard

a-videosphere: 180 degree support and SBS support.

Open Clodo76 opened this issue 1 year ago • 4 comments

https://aframe.io/docs/1.5.0/primitives/a-videosphere.html#equirectangular-video

  • Minimal: doc report 5000 as default values, in code is 500.
  • Suggestion: report the 'rotation' attribute also in the a-videosphere doc page, it's a typical need adjust that, like your example in aframe/examples/boilerplate/360-video: <a-videosphere rotation="0 -90 0" src="#video" play-on-click></a-videosphere>
  • First question: it's possible to playback a 180 degree video? This i think maybe supported, like change texture scale.
  • Second question: it's possible to provide a 360 or 180 side-by-side?

Thanks

Clodo76 avatar Feb 21 '24 12:02 Clodo76

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.

vincentfretin avatar Feb 21 '24 13:02 vincentfretin

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.

dmarcos avatar Feb 21 '24 16:02 dmarcos