Log in or register to post comments

Combine Vuforia SDK and Cardboard SDK

April 15, 2015 - 11:41pm #1

Hi,

I’m trying to Combine Vuforia SDK and Google Cardboard SDK together.

The picture below is the side-by-side image I made by using Vuforia SDK

 

http://postfiles7.naver.net/20150416_294/projecteh_1429166360887D7OpH_JPEG/KakaoTalk_20150416_040529896.jpg?type=w2

 

I’m planning to create an Argumented Reality by also applying Google cardboard SDK Rendering on it.

 

http://postfiles6.naver.net/20150416_197/projecteh_1429166361106Iw4l5_JPEG/KakaoTalk_20150416_040529871.jpg?type=w2

 

Here are my questions,

  1. Is this possible?
  2. If possible, which part of Vuforia SDK should we customize, or edit?

The device I’m using is Samsung Galaxy S5. I’m developing an Android application on Unity with cross compiling.

Combine Vuforia SDK and Cardboard SDK

February 11, 2017 - 8:28pm #17

bro i have done no matter what it takes tried every solution and different sdk version but no success 

please guys help me, i use unity 5.4 and  5.5 and also daydream version of unity

google vr version 1.0 and 1.1 and 1.6

vuforia 6.2

but no success

i have tried : http://developer.vuforia.com/library/articles/Solution/Integrating-Cardboard-SDK-050

but no help because all the setting have changed now and i get only error while doing that..

help me guys

 

Combine Vuforia SDK and Cardboard SDK

November 9, 2015 - 8:34pm #16

Hi All, 

I can confirm that I have Unity 5 working with Vuforia for Cardboard on Android.    I've followed the steps maybe at leat 5 times over the past 2 days (adding Cardboard support to different projects), so definitely if you follow the instructions for Android here very precisely, it should work for you:

http://developer.vuforia.com/library/articles/Solution/Integrating-Cardboard-SDK-050

 

Here are the versions of software I am using that are important to keep in mind:

- Unity 5.2.2f1 (this is a actually a more recent version than the 5.1.3p1 recommended in the documentation, but it works perfectly)

- Vuforia SDK 5.0.6 for Unity

- Cardboard SDK for Unity 0.5.  Note that this is NOT the latest version.  You need the 0.5 version specifically because the instructions call for editing specific lines of code in this version of the Cardboard SDK.

 

For those having trouble, I really recommend staritng a brand new "Hello World" type project just to confirm that you can get the Vuforia/Cardboard integration working.  

I would implement it in a few stages just to verify each step:

- First create a brand new Vuforia project in Unity, just add the ARCamera and a single ImageTarget as a basic test 

- Verify that you can build and run the Vuforia app on both your computer and the phone (I've only worked with Android so can't speak to iPhone)

- Now add the Cardboard integration following the steps in the documentation very, very exactly

- Build and run the project to make sure the Cardboard integration is working on the phone.   

 

That's it - at this point I have enough practice running through this process that I can set up a new Vuforia/Cardboard app in Unity in about 5 minutes, so it should definitely be working for people. 

 

Combine Vuforia SDK and Cardboard SDK

November 9, 2015 - 8:34pm #15

Hi All, 

I can confirm that I have Unity 5 working with Vuforia for Cardboard on Android.    I've followed the steps maybe at leat 5 times over the past 2 days (adding Cardboard support to different projects), so definitely if you follow the instructions for Android here very precisely, it should work for you:

http://developer.vuforia.com/library/articles/Solution/Integrating-Cardboard-SDK-050

 

Here are the versions of software I am using that are important to keep in mind:

- Unity 5.2.2f1 (this is a actually a more recent version than the 5.1.3p1 recommended in the documentation, but it works perfectly)

- Vuforia SDK 5.0.6 for Unity

- Cardboard SDK for Unity 0.5.  Note that this is NOT the latest version.  You need the 0.5 version specifically because the instructions call for editing specific lines of code in this version of the Cardboard SDK.

 

For those having trouble, I really recommend staritng a brand new "Hello World" type project just to confirm that you can get the Vuforia/Cardboard integration working.  

I would implement it in a few stages just to verify each step:

- First create a brand new Vuforia project in Unity, just add the ARCamera and a single ImageTarget as a basic test 

- Verify that you can build and run the Vuforia app on both your computer and the phone (I've only worked with Android so can't speak to iPhone)

- Now add the Cardboard integration following the steps in the documentation very, very exactly

- Build and run the project to make sure the Cardboard integration is working on the phone.   

 

That's it - at this point I have enough practice running through this process that I can set up a new Vuforia/Cardboard app in Unity in about 5 minutes, so it should definitely be working for people. 

 

Combine Vuforia SDK and Cardboard SDK

November 9, 2015 - 12:32pm #14

Hello Guys

 

I have been working with unity5 and a galaxy s3 to do augummented reality and card board app.  Creating card board app works. But when I develop

a vuforia app it works on the computer but stops working when I transfer it to the phone. The camera does not activate these just a blank screen. 1 note

just the vuforia app with out the card board part works. The camera actives .

 

Please help.

 

Kind regards.

 

Tonderai.

Combine Vuforia SDK and Cardboard SDK

November 9, 2015 - 6:13am #13

Hi ! 

Did you succeed in the making of your app ? I'm trying to do the same but withou result :/

Combine Vuforia SDK and Cardboard SDK

October 5, 2015 - 9:43am #12

You can also get it working on Unity 5, but you need to use the right version of Cardboard  SDK and check all the steps as documented.

Combine Vuforia SDK and Cardboard SDK

October 5, 2015 - 6:10am #11

I am using Unity 4.6.7f1.    I seem to recall I also had issues getting it to work  with Unity 5.    If you use Unity 4.6.x and follow the instructions exactly it should work for you.

Combine Vuforia SDK and Cardboard SDK

October 5, 2015 - 5:22am #10

That's probably because you're using Cardboard 0.5.1;  the instructions in the article refer to Cardboard 0.5.0, as that's the recommended version for Vuforia 5.0.

See:

https://github.com/googlesamples/cardboard-unity/releases/tag/v0.5

 

Combine Vuforia SDK and Cardboard SDK

October 5, 2015 - 5:09am #9

Still nothing... I followed accurately the instruction on this page (including remove the Manifest, becausa I am using Unity 5), but when I enter Play Moda there's a bunch of compiler errors.

In that page the author edits a piece of code on the AndroidVRDevice.cs, but this file don't even exist in my project. The only .cs file where "ebugDisableNativeDistortion" can be found is in BaseCardboardDevice.cs, yet the code is slightly different from the one on that page. =/

Combine Vuforia SDK and Cardboard SDK

September 25, 2015 - 4:23am #8

A few tips:

  • verify that your device supports Cardboard, by building and running the Cardboard Demo sample scene, without Vuforia
  • try integrating the AR-VR sample app with Cardboard as documented step-by-step here: https://developer.vuforia.com/library/articles/Solution/Integrating-Cardboard-to-the-ARVR-Sample
  • make sure you use Cardboard 0.5.0
  • use Unity 4.6.x
  • if you use Unity 5, remove the AndroidManifest.xml (under Assets/Plugins/Android) of Vuforia, before importing the Cardboard package (as otherwise Unity 5 may create a copy of the Android Manifest, instead of overriding it);  then add the Vuforia permissions to the manisfest (e.g. CAMERA, INTERNET, ACCESS_NETWORK_STATE)

Combine Vuforia SDK and Cardboard SDK

September 24, 2015 - 2:23pm #7

Hi, can you tell briefly how did you achieved this?

 

I'm trying so hard to integrate both Vuforia and Cardboard with no success... when I got one working, the other stops.

Combine Vuforia SDK and Cardboard SDK

July 31, 2015 - 6:35am #6

The Cardboard integration with Vuforia 5 is working beautifully for me on the first try with Image Targets.    Thank you Qualcomm - this is what I've been waiting for!!!

I will try also with Gear VR next...

Combine Vuforia SDK and Cardboard SDK

June 11, 2015 - 12:25pm #4

How did you duplicate the camera to produce the stereoscopic effect?

I tried to use official Cardboard SDK - It works on Play Mode, but doesn't compile with stereoscopic effect.

Thanx you.

Combine Vuforia SDK and Cardboard SDK

June 7, 2015 - 3:58am #3

Hi Guys

Im wondering if you got any further with this, been creating small AR projects and i am very interested in combining AR and VR using google cardboard. It seems that thier has not been many success stories as no tutorials  can be found online or in the forums. 

Did you get any further with this and if you could provide a basic setup tutorial of creating the steroscopic cameras it would be massively helpful! :) 

Combine Vuforia SDK and Cardboard SDK

April 16, 2015 - 12:15am #2

1.Yes. Use stereo mode

2. Offset  (+/-) plane from ARCamera/Camera/Background left & right

3. Reduce chromatic aberration in custom shader

Log in or register to post comments