javascript - WebGL supported but equirectangular panorama example from Three.js not working on device? -


looking @ webgl equirectangular panorama example works great on desktop , mobile (samsung s4 android 4.4.2) latest version mobile chrome.

however on samsung tablet sm-t230 android 4.4.2 , latest version mobile chrome equirectangular panorama example not work. here device orientation control example not work.

the thing mildly works on device canvas geometry panorama example , surprise css3d panorama example works best!

so leaves me confused. tablet support webgl not parts of work, canvas geometry panorama example, if not fluid , barely, supports it.

how can find out if device supports webgl equirectangular panorama example or not? looking way create fallback devices samsung tablet sm-t230 love use css3d version of equirectangular panorama.

now have found many questions , answers on checking webgl support, three.js has detector.js helps this, how can find out if particular device going love equirectangular panorama part of webgl?

do perhaps modernizr need check other sensors device needs have support device orientation control example?

my aim have equirectangular panorama device orientation controls on pdas support it, on pdas don't use css3d version panorama , on desktops normal webgl equirectangular panorama mouse drag see various parts of spherical projection.

i think checking if webgl supported detector.js not enough here. else code hardware side need take consideration please?

an introduction device orientation api

deviceorientation event specification

webgl - 3d canvas graphics

this solved question. indeed case t230 did not support deviceorientationevent including 4 properties alpha, beta, gamma , absolute. in the test these null , false. can use check support , use css3d fallback deviceorientationevent not supported.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -