mrdoob / three.js

JavaScript 3D Library.
https://threejs.org/
MIT License
102.62k stars 35.36k forks source link

Safari Mobile Crash - iPad - Texture Not Loading up. #1529

Closed smaira closed 12 years ago

smaira commented 12 years ago

Hi,

I am trying to develop a spherical panoramic view. I have tested it on firefox, chrome & safari desktop and it seems to work alright. However, when I try loading it on the iPad, safari crashes and I come to my home screen. Not sure whats wrong. I tried researching for the problem and it seems that Safari has a limit to the total size of the images that it can load up. So, I tried reducing the size of the image and also kept it as power of 2, but it still crashes. Anyone know whats wrong?

Here's my code. http://pastebin.com/1nwTMHJV

Thanks Sameer

huanghuan commented 12 years ago

Does iPad support WebGL?

greggman commented 12 years ago

Only for iAds currently

smaira commented 12 years ago

I dont think mobile Safari supports WebGL. I'm using the canvas renderer though.

smaira commented 12 years ago

I cleaned out my code a bit. This loads up great on Safari Desktop, but Crashes Safari Mobile.. http://pastebin.com/1nwTMHJV