google / marzipano

A 360° media viewer for the modern web.
http://www.marzipano.net
Apache License 2.0
2k stars 997 forks source link

Equirectangulars exceeding WebGL maximum texture size fail to be rendered #66

Closed iwersen closed 5 years ago

iwersen commented 7 years ago

Hi, I´m trying Marzipano with some 5660x2830 files but it only shows a blank screen. After resizing the photo to 3500x1750, I could see the photo normally. Nice! The start page at http://www.marzipano.net says "Marzipano is optimized to display 360° images of any size". Have you tested with this resolution? Thanks

tjgq commented 7 years ago

You're almost certainly exceeding the maximum WebGL texture size supported by your browser (equirectangular images must fit in a single texture). You should see a warning in the browser's developer console if that's the case.

If you need to display larger images, use a cubemap instead of an equirectangular image.

iwersen commented 7 years ago

Thanks for this info! I didn´t wonder that because this one works: http://photo-sphere-viewer.js.org.

Probably this explains: "... allowing very good performances on WebGL enabled systems (most recent browsers) and reasonably good performances on other systems supporting HTML Canvas".