Giter Site home page Giter Site logo

babylonjs-example-instant-tracking-3d-model's Introduction

Zappar for BabylonJS Example

​ This repository contains an AR example using the Zappar SDK for BabylonJS. This specific example uses parcel to compile and bundle the assets and code, and TypeScript to get full auto-complete and compile-time error checking. ​ To learn more about Zappar for BabylonJS, head over to the Zappar for BabylonJS (@zappar/zappar-babylonjs) page on npm. ​

Preview

​ Scan the QR code below using your native camera app or QR code reader to view the example: ​ Preview QR Code"

Prerequisites

​ To get started you'll want to ensure you have: ​

  • installed Node.js version 10 or later
  • printed out the example target image, example-tracking-image.png (image tracked projects only) ​

Running the Project

​ Once you have cloned this repository, open a terminal in the root directory of this project and follow these steps to get started. ​ Install the dependencies by running: ​

npm install

​ Next, run the project using the following command: ​

npm start

​ The parcel tool will host the content locally and give you an address you can open in your browser of your local machine. ​ We recommend launching instant world tracking and image tracked projects on a mobile device to get the best user experience. If you'd like to try on a mobile device, follow these steps: ​

  1. Ensure the device is on the same local network (e.g. Wifi)
  2. Find out the IP address of your computer
  3. On your mobile device, visit: https://YOUR-IP-ADDRESS:PORT replacing both YOUR-IP-ADDRESS and PORT (the port is the number after the : in the address given by parcel). Note it's important to type https at the start of the address to ensure your device connects over HTTPS.

babylonjs-example-instant-tracking-3d-model's People

Contributors

nyan-left 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.