GithubHelp home page GithubHelp logo

mertusta1996 / mapbox-hololens-2-unity-uwp- Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 0.0 116.56 MB

This repo is a successful example of Mapbox API is working with Microsoft Hololens-2 glasses, that application developed in Unity UWP.

ShaderLab 12.37% HLSL 0.97% C# 86.66%
hololens-2 hololens2 map mapapps mapbox mixedreality mixedrealitytookit-unity mrtk unity unity3d

mapbox-hololens-2-unity-uwp-'s Introduction

Mapbox-Hololens-2-Unity-UWP-

This repo is a successful example of Mapbox API is working in Microsoft Hololens-2 glasses with Unity UWP.

Changes

  • Deleted sq3lite.dll and some parts of codes working with sq3lite.dll.(sq3lite part is so problematic for Hololens-2)

  • Reworked all .dll files in Mapbox/Plugins folder.

  • Some namespaces and libraries deleted from codes and changed with compatible ones with UWP.

  • Changed some parts of codes for build errors.

Usage

1 - You could set the Map Position in the Real World.

video.7.mp4

2 - You could Increase/Decrease Map Size.

video.5.mp4

3 - You could travel in the Map.

video.1.mp4

4 - You could Zoom In/Zoom Out in the Map.

video.4.mp4

Setup

1 - Download the repo.

2 - Here is the main Unity scene for this app I've added. (Assets\Mapbox Hololens2\Scene\Hololens2 Scene.unity)

3 - Configure the Mapbox token value from this section.

4 - Create an account from Mapbox web page and add your free Mapbox token to here. (for creating Mapbox token => mapbox.com/studio/accounts/tokens/)

5- Open the Build Settings , add the main scene and configure the settings like this image.

6- After building the app, deploy it to the Hololens-2 from the .sln file. (Open the .sln file with Visual Studio and deploy it as a package or deployment with Master, ARM settings.)

Author

  • Mert Usta - GitHub
  • Tugay Karapınar

mapbox-hololens-2-unity-uwp-'s People

Contributors

mertusta1996 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mapbox-hololens-2-unity-uwp-'s Issues

Offline MAPs

@mertusta1996

Appreciate the hard work that has gone in.
Does this support offline MAPs capability.

My use case is to get MAPS in Hololens 2 device in Internet contested environments.

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.