360-panorama

Android 2D panoramic video player

妖精的绣舞 提交于 2020-01-04 05:44:08
问题 I am working in iOS and Android app that play 2D Panoramic video player. We find an Open Source iOS 2D Panorama Video Player app But we can't find any open source library for android. Please suggest any open source android 2D video player to achive this. 回答1: As your question is 3 months old by now, you probably found it (or something else) yourself. However, as other people might still be searching for it: gvr-android-sdk is Google's SDK for various VR-usages. Take a look at the

How to show a stock panorama activity with UI elements overlayed?

白昼怎懂夜的黑 提交于 2019-12-25 17:14:56
问题 I am successfully showing a spherical image using the Google Panorama API I am using the same code as most tutorials do: @Override public void onConnected(Bundle bundle){ Panorama.PanoramaApi.loadPanoramaInfo(GOOGLE_CLIENT,Uri.parse(url)).setResultCallback( new ResultCallback<PanoramaApi.PanoramaResult>(){ @Override public void onResult(PanoramaApi.PanoramaResult result){ if (result.getStatus().isSuccess()){ Intent intent = result.getViewerIntent(); if (intent != null){ startActivity(intent);

three.js — fit a background image panorama

时光毁灭记忆、已成空白 提交于 2019-12-23 03:38:10
问题 I am trying to put this image -- https://hdfreefoto.files.wordpress.com/2014/09/bright-milky-way-over-the-lake-at-night.jpg -- as a panorama background in my three.js scene. I have the following code: var sphere = new THREE.SphereGeometry(200, 200, 32); sphere.applyMatrix(new THREE.Matrix4().makeScale(-1, 1, 1)); var sphereMaterial = new THREE.MeshBasicMaterial(); sphereMaterial.map = THREE.ImageUtils.loadTexture(<path to above image>); var sphereMesh = new THREE.Mesh(sphere, sphereMaterial);

Posting equirectangular 360° panoramas on Facebook using Javascript Graph API

笑着哭i 提交于 2019-12-18 16:51:13
问题 I am trying to post 360° photos on behalf of my app's users, but I can't figure out how to make it work. I loaded the Facebook Javascript Graph API, logged the user with "publish_actions" scope and used the following code to post a picture using equirectangular projection: FB.api( "/me/photos", "POST", { "url": "MY_PUBLIC_URL", "allow_spherical_photo": true, "spherical_metadata": { "ProjectionType": "equirectangular", "CroppedAreaImageWidthPixels": 240, "CroppedAreaImageHeightPixels": 240,

Tool for creating preview images from equirectangular Panoramas

老子叫甜甜 提交于 2019-12-11 00:05:58
问题 I am looking for a tool or library that will allow me to generate a preview image for an equirectangular panoramic image. I am using the pannellum library [https://pannellum.org] to present panoramas, which works great. What I'd like to add, however, is a way to generate lightweight preview images to display on initial page load. I would like to have a small sized preview image that does not look warped. Does such a tool/library/script exist? Thank you! Dave 回答1: Some people like to convert

How does street view publish API judge the panorama connection that which direction should it linked to if multiple target set on one panorama?

匆匆过客 提交于 2019-12-08 04:30:21
问题 I have an issue with the connection request in google street view publish API. Both with single and multiple target. If i create single target from source photo { "updatePhotoRequests": [ { "updateMask": "connections", " photo": { "photoId": { "id": "pano_3" }, "connections": [ { "target": { "id": "pano_4" } }, ] } } ] } How the above JSON request set Panorama connection to specific direction of the target panorama. For e.g if i set a connection from pano_1 north position to pano_2 south

How does street view publish API judge the panorama connection that which direction should it linked to if multiple target set on one panorama?

∥☆過路亽.° 提交于 2019-12-06 16:25:59
I have an issue with the connection request in google street view publish API. Both with single and multiple target. If i create single target from source photo { "updatePhotoRequests": [ { "updateMask": "connections", " photo": { "photoId": { "id": "pano_3" }, "connections": [ { "target": { "id": "pano_4" } }, ] } } ] } How the above JSON request set Panorama connection to specific direction of the target panorama. For e.g if i set a connection from pano_1 north position to pano_2 south position its not set properly. the link arrow show to right direction rather than forward or backward