Alternative for VrPanoramaView since it is deprecated - android

I would like to built a small app that shows a panorama 360º image with head tracking on Android. I quickly stumbled upon com.google.vr.sdk.widgets.pano.VrPanoramaView (https://developers.google.com/vr/develop/android/vrview). But there is a big disclaimer on top:
This site has been archived and remains strictly as a historical reference for developers who actively maintain apps built using the legacy Google VR SDK, which was last updated in 2019 and is no longer receiving updates. All developers actively developing experiences for Google Cardboard should use the new open source Cardboard SDKs for iOS, Android NDK, and Unity XR Plugin.
So clicking the link to the new Cardboard SDK I ended up here: https://developers.google.com/cardboard/develop/c/quickstart
Which shows a game like environment in stereo VR. Super cool in its own right, but it isn't a replacement for VrPanoramaView. And the newer SDKs for Android do not support VrPanoramaView anymore.
Also, I could not find an example on the new Cardboard SDK site how to built a 'simple' VR image 360º panorama viewer with headtracking.
Googling a bit more I found that people said there is no alternative for the deprecated panorama VR viewer, which I find hard to understand. The VrPanoramaView seemed pretty simple and elegant in its use, whereas going full blown C++ with matrices and all for lens distortion seems like pretty hard core to deal with to me. Compare all that C++ code to this much simpeler code example: https://youtu.be/gnDa-fvEyUk?t=471
Is there an out-of-the-box VR 360º image viewer that supports stereo? Or how could I use the new Cardboard SDK and built something similar?

Related

Developing Augmented Reality Apps for Android Studio 2022

I want to create an Android App which supports Augmted reality but it seems that the technologies are getting worse.
Since Google stopped working on Sceneform there are only 2 options left: Using ARCore with OpenGL which is basically impossible because there are hardly any docs out there.
Or using AR Foundation but that is also not working properly and takes a lot of time to build because of the long building time.
Most of tutorials are about Google Sceneform and I just have the feeling that Sceneform did a great job and I don't understand why Google closed this project.
I'm familiar with frameworks like Vuforia but I would need a reliable plane detection tool which Vuforia does not provide as far as i know.
Does anybody have suggestions what I can use instead? Does anybody has experience with AR?

Google Cardboard simple App

I have created 3d models of some objects and see them correctly using cardboard through sketchfab.com without any difficulty.
I can see them as a VR model exactly what I wanted.
But I dont know how to create a standalone android app using my 3d model.
I am just looking for a template mobile application where I will place my model and see them as a mobile app through cardboard.
Any recommendation for an early start?
After lots of research, I found out the best solution is using Unity3D application. There are plugins to assist with cardboard app development. I created my first app very easily within minutes of using a demo carboard application. Now I am enjoying and learning Unity3D
The cardboard example? Might be a bit of hacking to chop out their block model and replace it with your art but it shouldn't be a mountain of work
https://github.com/googlesamples/cardboard-java

How to render 3d video for cardboard in android?

I'm trying to find out if there are any examples how to play 3D video for cardboard in android. I have a 3D video and need my app to play in cardboard. I'm not sure if the SDK has support and couldn't figure it out as there is very less documentation.
It is not very easy. I think the problem is not about Google Cardboard, but about Unity itself. It is not easy to add any kind of video to Unity. If you are able to open a normal video within the Unity game, I think that 3D video will work too.
Check the docs about how to configure it for Android: http://docs.unity3d.com/es/current/Manual/class-MovieTexture.html
I tried to add a video to an older version of Unity. Unity crashed. I did the conversion manually. I wrote the explanation here: http://answers.unity3d.com/questions/997663/unity-video-import-bug.html
I think this:
Google Cardboard SDK (Software Developement Kit)
Will help you to build apps that display 3D scenes with binocular rendering, track and react to head movements, and interact with apps through magnet input.
also you can easily adapt an existing Unity 3D app for virtual reality or build your own VR experience from scratch.
Thanks for all the answers. For me only solution that worked is to use that is described at HERE. Had to Use unity with a plugin to play video on movietexture.
Without using the unity plugin Easy Movie Texture plugin I couldn't find any easier solution.

What are the supported libraries for google cardboard based AR android application development?

I want to build an AR application using google cardboard. Please suggest some good libraries which provide better functionality.
I have seen people suggesting cardboard.jar library for VR apps development but not for AR.
The Rajawali Library is a good place to start. You can use it to display 360 panoramic images in the side-by-side view.
The Pan Frame Library can be used to display 360 videos in the side-by-side view. (You'll have to contact them for commercial purposes though.)
These are some very useful libraries to use if you're developing for Google Cardboard and if you're looking at images/videos!
OpenCV for image processing and object tracking. Cardboard for display.

processing sketch integration with live wallpaper in android

Is it possible to integrate the Processing sketch as part of the android live wallpaper instead of OpenGL ? I would like to have interaction with different objects in wallpaper so processing would be easy for me as an artist.
At the moment, no.
See this discussion on the Processing Forum.
https://forum.processing.org/topic/android-live-wallpaper
Version 4 of the Processing editor's Android mode includes live wallpaper functionality. It's still in beta, but it's the best I found so far. You can download it from here: https://github.com/processing/processing-android/releases.
From http://android.processing.org/install.html:
The 4.0 pre-releases bring several improvements to the Android mode, incuding new functionality for creating live wallpapers, watch faces, and Cardboard apps. You will find more on how to use this functionality in the tutorials and the reference pages of this site. In order to install a 4.0 pre-release manually, go to the GitHub releases section, look for the packages corresponding to Android Mode 0254 (4.0-beta1) or higher, and follow the instructions in the previous paragraph on how to install a pre-release.

Categories

Resources