Coder Social home page Coder Social logo

yunseongpyo / arfoundation-image-on-plane Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michaelhaessig/arfoundation-image-on-plane

0.0 1.0 0.0 10.04 MB

Demo Project to place/hang an image on a vertical plane using Unity ARFoundation (ARKit/ARCore)

C# 97.96% ShaderLab 2.04%

arfoundation-image-on-plane's Introduction

ARFoundation-Image-On-Plane

Demo Project to place/hang an image on a vertical plane using Unity ARFoundation (ARKit/ARCore)

Features

Image Selection

Pixabay public API is used to search for an image to place on a wall.

Vertical Plane Detection

After an image is selected, the AR Scene opens and starts searching for vertical planes. Once a plane is found, the image gets automatically placed on the plane. The center of the screen is used to control the position on the plane.

Touch

The position of the placed image can be modified using touch gestures.

Fixed Image

Once satisfied with the current position, a tap on the image fixes it in place.

Setup

requirements:

  • Unity Editor 2018.3+

dependencies:

Development

To test the plane detection you need a device with ARKit or ARCore support.

The project can also be run in the Editor, the ARPlaceImageScene contains a disabled GameObject "WallDev". This GameObject simulates a Wall, very useful to test some changes without having to deploy on a mobile device.

Check out the video i have made to demonstrate the dev workflow.

Improvements

I built this code as an evaluation to find out what is currently possible with the ARKit/ARCore frameworks plane detection algorithms.

If you see any abvious improvements i would love to here from you!

Assets

the project uses the following assets

arfoundation-image-on-plane's People

Contributors

michaelhaessig avatar

Watchers

 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.