Skip to content

janw23/TanVR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Setup instruction (Unity version 2017.2.0b9):
1. Imports:
2. ARCore modifications:

In order to disable device's camera overlay ARCore's script has to be modified (you can change original one or just create a copy and then replace where needed). I was not able to publish already modified version because license doesn't allow to do that so here are the changes you have to make:

  • Find script "SessionComponent", it should be in GoogleARCore/SDK/Scripts.
  • Find declaration of function "_ConnectToService" (somewhere near 225th line).
  • Remove or comment call to function "_SetupVideoOverlay" from previously mentioned function.
3. Scene preparation:
  • Move "ARCore Device" prefab from TanVR to your scene and make sure there are no missing components or variables. I would recommend setting transform.position.y of this GameObject to your real height so the floor level would be the same as in reality.
  • The last thing you have to do is to enable "Tango Supported" and "Virtual Reality Supported" in XR in player settings.
Important:
  • This is not a professional project, it is only my own experiment.
  • Your phone has to be compatible with Tango and "Tango Services" needs to be installed.
  • I do not provide scene and assets from my demo video, you have to put objects yourself.
  • When running your project in editor tango_client_api2 error may occur but this should work just fine on your phone.
  • If you get manifest merging error while building just follow the instructions/suggestions in the console (you'll probably have to modify android manifest)
  • I've tested it only on Unity 2017.2.0b9 and I can't guarantee it works on other versions (probably doesn't work on older).

By Jan Wawszczak

About

Google Tango for mobile VR tracking

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published