buildar / awe.js

The jQuery for the Augmented Web
515 stars 113 forks source link

How to debug? #2

Closed ggaaooppeenngg closed 10 years ago

ggaaooppeenngg commented 10 years ago

In the first demo, it seems to be only available on android firefox or chrome. If there is any bug , how could fix it on the PC or Android?

the items in the first demo shakes violently, how could i make them more stable?

buildar commented 10 years ago

Hi ggaaooppeenngg, the first demo uses geolocation based AR and relies on the DeviceOrientation API. No PC's that we're aware of support the DeviceOrientation API, and almost none of them provide GPS based geolocation support. However, you can re-code that plugin to accept orientation data from the mouse or some other similar input device. We've also used mobile devices to provide orientation data that is then used on the PC via WebSockets. But these options are custom development and should not be classified as an issue or a bug.

As for the shaking, this very much depends upon the version of Chrome or Firefox you're using. Versions earlier than M33 for Chrome and 27 for Firefox had incomplete DeviceOrientation API implementations that caused this type of problem. If you update to the latest version this problem should go away.

Hope that helps and let us know if you have any other questions.