Giter Club home page Giter Club logo

arkit-sampler's Introduction

ARKit-Sampler

Platform Language License Twitter

ARKit-Sampler is a collection of ARKit samples.

How to build

Open ARKit-Sampler.xcworkspace with Xcode and build it.

It can NOT run on Simulator.

Contents

3 lines AR

A simple AR with 3 lines code.

Plane Detection

A sample to show how simply ARKit can detect planes.

Virtual Object

A sample to show how to add a virtual object to a detected plane.

AR Interaction

Interactions with virtual objects or detected plane anchors.

AR Measure

Measuring lengths in the real space.

AR Drawing

Drawing in the real space.

Core ML + ARKit",

AR Tagging to detected objects using Core ML.

Metal + ARKit

Rendering with Metal.

Metal + ARKit (SCNProgram)

Rendering the virtual node's material with Metal shader using SCNProgram.

Simple Face Tracking

Simplest Face-Based AR implementation.

Irregularly-Shaped Plane Detection

ARKit 1.5

A sample to show how to detect irregularly shaped surfaces using ARSCNPlaneGeometry and ARPlaneGeometry.

usdz

A sample to show how to use .usdz files with ARKit.

Author

Shuichi Tsutsumi

Freelance iOS programmer from Japan.

Support via PayPal

Special Thanks

The icon is designed by Okazu

arkit-sampler's People

Contributors

hurutoriya avatar shu223 avatar tatsuya-ogawa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arkit-sampler's Issues

Hi , met a issue when running the code.

When running the code as the read , the Xcode reports,

Showing Recent Issues
Code Signing /Users/.../ARKit-Sampler-cdbfioomctnfrygixqlmetdqymqz/Build/Products/Debug-iphoneos/ARKit-Sampler.app/Frameworks/ColorSlider.framework with Identity iPhone Developer: Jingxi Zhu (L2DDYE6479)

Showing Recent Issues
/usr/bin/codesign --force --sign B8FBC6429C19D8DBEDBAC1BD044D6D4D7B68D1CF --preserve-metadata=identifier,entitlements '/Users/.../ARKit-Sampler-cdbfioomctnfrygixqlmetdqymqz/Build/Products/Debug-iphoneos/ARKit-Sampler.app/Frameworks/ColorSlider.framework'

Showing Recent Issues
/Users/.../ARKit-Sampler-cdbfioomctnfrygixqlmetdqymqz/Build/Products/Debug-iphoneos/ARKit-Sampler.app/Frameworks/ColorSlider.framework: unknown error -1=ffffffffffffffff

Any advice or explanation is welcomed. Thanks in advance.

How to save and load an object which was created by using ARKit ?

Hi guys, below scenario is possible or not ?

Scenario ::

I want to create a object where i pointed by AR.
I want to save SCNNode object which is created, I did by using NSUserdefaults.
I want to show the object which is saved when i relaunching my app.
Problems ::

I have created an object where i need even i saved but the problem is, It creating everywhere when i relaunching my app. I want to be unique object as where i created at the same location.

What is my idea to solve this problem ::

I was getting device location (latitude,longitude) along AR giving distances from device to object when i hit the screen. Also i did calculate the latitude and longitude of object place by using longitude, latitude(device location) and distance. Afterwards, set the radius as 30m from device location then in b/w if any object was created recreated the SCNNode.

Help ::

Is it possible to do, what i expected by using above idea ?

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.