All Projects → maxxfrazer → ARKit-FocusNode

maxxfrazer / ARKit-FocusNode

Licence: MIT license
FocusSquare class taken straight from Apple's ARKit examples and packed up for anyone to use with ease.

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to ARKit-FocusNode

TheLaughingMan-ARKit
Use ARKit to become the infamous Laughing Man from Ghost in the Shell
Stars: ✭ 26 (-48%)
Mutual labels:  augmented-reality, scenekit, arkit
GVRSCNRenderer
SceneKit Rendering and ARKit 6DOF Tracking for Google Cardboard
Stars: ✭ 19 (-62%)
Mutual labels:  augmented-reality, scenekit, arkit
SceneKit-PortalMask
Clean class to create a portal in SceneKit for use in ARKit.
Stars: ✭ 60 (+20%)
Mutual labels:  augmented-reality, scenekit, arkit
Arkit Projects
Experimenting with ARKit
Stars: ✭ 70 (+40%)
Mutual labels:  augmented-reality, scenekit, arkit
Arplayer
Playback videos using ARKit and AVFoundation.
Stars: ✭ 117 (+134%)
Mutual labels:  augmented-reality, scenekit, arkit
Scenekit Scnline
Draw a tube or thick line in SceneKit
Stars: ✭ 49 (-2%)
Mutual labels:  augmented-reality, scenekit, arkit
Unity-ARKit-Plugin
Modified plugin source and Add custom ARKit projects implement on Unity
Stars: ✭ 83 (+66%)
Mutual labels:  augmented-reality, scenekit, arkit
Augmentedsolarsystem
An Augmented reality experience to explore planets in our Solar System
Stars: ✭ 69 (+38%)
Mutual labels:  augmented-reality, scenekit, arkit
Arkit Floorislava
Basic ARKit example that detects planes and makes them lava.
Stars: ✭ 120 (+140%)
Mutual labels:  augmented-reality, scenekit, arkit
Argithubcommits
Show your GitHub commit records in 3D with ARKit and SceneKit. 用 ARKit 展示你的 GitHub 提交图
Stars: ✭ 280 (+460%)
Mutual labels:  augmented-reality, scenekit, arkit
ARKit-Sample-ObjC
ARKit sample application is written in Objective C with features of Add, Remove, Scale, Move, Snapshot for single and multiple objects with plane/surface detection, reset session and AR support checking.
Stars: ✭ 72 (+44%)
Mutual labels:  augmented-reality, scenekit, arkit
Arkit By Example
Apple ARKit example app
Stars: ✭ 458 (+816%)
Mutual labels:  augmented-reality, scenekit, arkit
Arkit Scnpath
Create paths for your Augmented Reality environments using just points to represent the centre of the path.
Stars: ✭ 312 (+524%)
Mutual labels:  augmented-reality, scenekit, arkit
Arpaint
Draw with bare fingers in the air using ARKit
Stars: ✭ 672 (+1244%)
Mutual labels:  augmented-reality, scenekit, arkit
React Arkit
AR library for React-Native based on ARKit
Stars: ✭ 57 (+14%)
Mutual labels:  augmented-reality, arkit
Arvisualizer
Prototype of a real-time visualization tool for ARKit sessions
Stars: ✭ 102 (+104%)
Mutual labels:  augmented-reality, arkit
Arkitgamespritekit
A game inspired by Pokemon Go build with ARKit and SpriteKit
Stars: ✭ 87 (+74%)
Mutual labels:  augmented-reality, arkit
Arkit 2 Image Tracking Demo
iOS 12 + ARKit 2 + Image tracking means: Harry Potter style moving pictures, living movie posters, video postcards, paper-thin “displays,” and lots more augmented reality fun.
Stars: ✭ 102 (+104%)
Mutual labels:  augmented-reality, arkit
Xr Unity
8th Wall XR Unity projects and resources. Feel free to contribute!
Stars: ✭ 108 (+116%)
Mutual labels:  augmented-reality, arkit
Viro
ViroReact: AR and VR using React Native
Stars: ✭ 1,735 (+3370%)
Mutual labels:  augmented-reality, arkit

FocusNode

The root class here uses a class I found in Apple's documentation for ARKit apps that I wanted to have easy to use myself, and thought others would benefit from it too.

Actions Status Version License Platform Swift Package Manager Swift 5.0

FocusNode Example 1

The Example looks identical to the above GIF.

Medium Article V1 of this CocoaPod

It was found inside the downloadable project on the following page: https://developer.apple.com/documentation/arkit/handling_3d_interaction_and_ui_controls_in_augmented_reality

I've added the license from that project to this repository.

For a similar object to place into a RealityKit scene, try the FocusEntity Repository.

Minimum Requirements

  • Swift 5.0
  • iOS 11.3

Installation

Swift Package Manager

Add the URL of this repository to your Xcode 11+ Project and select version 2.0+ https://github.com/maxxfrazer/ARKit-FocusNode.git

CocoaPods

Include this pod in your Podfile like so:

pod 'FocusNode'

Usage

See the Example for a full working example as can be seen in the image above

V2

Follow steps in V1, and then whatever you have as your sceneView class, for example ARSCNView, add the protocol of ARSmartHitTest to it like the following:

extension ARSCNView: ARSmartHitTest {}

V1

Import FocusNode to your .swift file and add it to your scene as so:

let focusNode = FocusSquare()
sceneView.scene.rootNode.addChildNode(self.focusNode)
focusNode.viewDelegate = sceneView

Check out the Example project or message me on GitHub or twitter if it's unclear.

I DID NOT WRITE A MAJORITY OF THIS CODE MYSELF, MOST OF IT WAS TAKEN DIRECTLY FROM APPLE'S EXAMPLES

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].