IMPORTANT NOTICE:
THIS IS VERY OLD AND YOU SHOULD NOT USE THIS. NO RESPONSES TO EMAILS OR TICKETS WILL BE GIVEN FROM ME
This allows you to view the new Photospheres in Android 4.2 without a problem without Google+
Thanks to
Open test.html and press "makeIt"
Get Three.js (or use the bundled copy) and sphere.js and run:
new Photosphere("link-to-image.jpg").loadPhotosphere(document.getElementById("element-on-page"));
If you are including this into some gallery app which can read EXIF XMP tags, you can make it render faster (this is why you don't need every single shot for it to work, Android adds these tags in):
new Photosphere("link...").setEXIF({
"full_width" : "GPano:FullPanoWidthPixels value",
"full_height" : "GPano:FullPanoHeightPixels value",
"crop_width" : "GPano:CroppedAreaImageWidthPixels value",
"crop_height" : "GPano:CroppedAreaImageHeightPixels value",
"x" : "GPano:CroppedAreaLeftPixels value",
"y" : "GPano:CroppedAreaTopPixels value"
}).loadPhotosphere(...);
Tada! :D
GPLv3 http://www.tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)