Comments (5)
After doing some testing in a VM, this seems to be a bug in IE's WebGL support; specifically, IE 11 doesn't support non-power-of-two cube map textures (I was able to find another reference to this IE bug). What's even more troubling is that IE 11 doesn't report the error through the JavaScript API, so Pannellum can't display an error message. The new Edge engine in the Windows 10 Technical Preview engine still doesn't support the NPOT textures, but it at least reports the error to Pannellum.
from pannellum.
Safari under iOS has a similar issue with NPOT cubemaps not working but no error being generated (tested on iPhone 5c / iOS 8.1.3).
from pannellum.
I just added a user agent check to display an error for NPOT cubemaps in IE 11. While this is generally bad practice as one should check for features instead, IE 11 claims to have the feature, but it doesn't actually work. The only other way to check for this would be to build in a WebGL conformance check to see if it actually worked, but that's much too complex for something like this, in my opinion.
from pannellum.
What about this: https://www.khronos.org/webgl/wiki/WebGL_and_OpenGL_Differences#Non-Power_of_Two_Texture_Support
Some other players support cubemaps and WebGL, so there may be some workarround.
Thanks!
from pannellum.
To be standards compliant with WebGL, NPOT textures without mipmaps need to be supported. Firefox and Chrome support this, but IE 11 and Safari on iOS both don't support any NPOT cubemap textures. Additionally, they don't throw an error.
from pannellum.
Related Issues (20)
- hotspot HOT 1
- Can I use a normal image (not panorama or photosphere) in pannellum? HOT 2
- Removing white screen between images loading without using scenes HOT 3
- i have problem caching image i set to canvas HOT 2
- Mouse click to cube coordinates HOT 1
- generate.py tile size edge case HOT 1
- Cubemap panorama HOT 1
- question - Support for depth map (equirectangular image with encoded depth value) HOT 1
- Virtual Tour Scene Misalignment with Navigation Arrows. HOT 3
- black squares when using multiple resolutions HOT 1
- Add typescript definitions on DefinitelyTyped HOT 1
- Feature Request: /latest/ path on cdn.pannellum.org HOT 1
- autoRotateInactivityDelay without autoRotate causes it to lookAt on scene start HOT 3
- how to set custom hotSpots arrow rotation HOT 1
- Untilting a panorama HOT 2
- Simple Panorama Example can't load my image? HOT 2
- Why there is no LOADING system for MRES pano ? HOT 1
- How to turn the azimuth values of nearby points to the hotspot view inside the panoramic view. HOT 8
- some android browser throw maxWidth error HOT 1
- Viewer.removeHotSpot HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pannellum.