Coder Social home page Coder Social logo

tanvr's Introduction

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

tanvr's People

Contributors

janw23 avatar

Stargazers

 avatar  avatar Michael Jennings avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.