Log in or register to post comments

Native viewer distortion correction in Unity?

December 3, 2015 - 8:35am #1

I'm just getting started with Vuforia and I'm trying to create my own AR sample after having experimented with some of the digital eyewear samples.  My sample just uses the AR Camera and Image Target prefabs.  I'm successfully tracking an image target I created online and showing 3D content in Unity.

 

How do you enable / integrate distortion correction for viewers like Cardboard and Gear VR.  There's a Viewer property on the Vuforia Behaviour that offers those two devices as options, but it doesn't seem to have a significant effect, and I can't find any information on it.  I've found samples that describe integrating Cardboard and Oculus Mobile manually.  Is that still the way procedure?  The pages seemed like they might be out of date.

 

Also, the video background image is smaller than the field of view in the viewer (testing with Galaxy S6 / Matel ViewMaster VR).  I've convinced myself thats because the S6 camera FOV is smaller than the eye FOV.  Is that correct, or am I missing something?

 

Thanks in advance.

 

Mike

Native viewer distortion correction in Unity?

December 10, 2015 - 6:38am #4

the "GearVR" viewer must be used only in combination with the Oculus Unity Plugin (which is now also called "Unity 4.x Legacy Integration" in the Oculus download page: https://developer.oculus.com/downloads/ 

 

To integrate it, you can follow the instructions here:

https://developer.vuforia.com/library/articles/Solution/Integrating-Oculus-050-with-Vuforia-5

https://developer.vuforia.com/library/articles/Solution/Integrating-Oculus-for-GearVR-with-the-ARVR-sample

 

 

and the "Carboard" viewer must eb used in combination with the Cardboard SDK, as documented here:

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

https://developer.vuforia.com/library/articles/Solution/Integrating-Cardboard-to-the-ARVR-Sample

 

 

Native viewer distortion correction in Unity?

December 10, 2015 - 4:24am #3

 

I have, but I'm wondering if those instructions are out of date with the current version of the SDK as there is a viewer option on the Vuforia Behaviour for both Cardboard and Gear VR. 

 

Mike

Native viewer distortion correction in Unity?

December 4, 2015 - 10:18am #2
Log in or register to post comments