All Projects → handsomecode → SCNNodeVisualDebugger

handsomecode / SCNNodeVisualDebugger

Licence: Apache-2.0 License
A simple visual debugger for SceneKit

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to SCNNodeVisualDebugger

SCNHighlight
Scale-invariant highlight effect for SCNNodes based on SCNTechnique
Stars: ✭ 20 (+11.11%)
Mutual labels:  scenekit, arkit
SCNRecorder
The best way to record your AR experience!
Stars: ✭ 136 (+655.56%)
Mutual labels:  scenekit, arkit
arkit-graffiti
A demo that shows painting on walls with ARKit+SceneKit
Stars: ✭ 49 (+172.22%)
Mutual labels:  scenekit, arkit
ARVoxelKit
Voxel graphics framework using ARKit + SceneKit
Stars: ✭ 74 (+311.11%)
Mutual labels:  scenekit, arkit
ARKit-SceneKit-Paint-Tiltbrush-Demo
Demo paint app with ARKit and SceneKit
Stars: ✭ 33 (+83.33%)
Mutual labels:  scenekit, arkit
aruco-arkit-opencv
This iOS app detects aruco markers in a live view. v4.4
Stars: ✭ 19 (+5.56%)
Mutual labels:  scenekit, arkit
Unity-ARKit-Plugin
Modified plugin source and Add custom ARKit projects implement on Unity
Stars: ✭ 83 (+361.11%)
Mutual labels:  scenekit, arkit
ARKit-FocusNode
FocusSquare class taken straight from Apple's ARKit examples and packed up for anyone to use with ease.
Stars: ✭ 50 (+177.78%)
Mutual labels:  scenekit, arkit
ARKitSceneKitExample
Simple AR app made with ARKit and SceneKit
Stars: ✭ 53 (+194.44%)
Mutual labels:  scenekit, arkit
ARKit-SceneKIit Course
learning resource (SceneKit)
Stars: ✭ 102 (+466.67%)
Mutual labels:  scenekit, arkit
ARichMan
Use ARKit to realize your dream of becoming rich.
Stars: ✭ 19 (+5.56%)
Mutual labels:  scenekit, arkit
ARBlockTower
Submission for WWDC 2018 Scholarship formatted into an iOS app
Stars: ✭ 24 (+33.33%)
Mutual labels:  scenekit, arkit
ARMultiuser
this demo use arkit 2.0, realize multiplayer play together! The project refers to the official demo!
Stars: ✭ 30 (+66.67%)
Mutual labels:  scenekit, arkit
TheLaughingMan-ARKit
Use ARKit to become the infamous Laughing Man from Ghost in the Shell
Stars: ✭ 26 (+44.44%)
Mutual labels:  scenekit, arkit
SceneKit-PortalMask
Clean class to create a portal in SceneKit for use in ARKit.
Stars: ✭ 60 (+233.33%)
Mutual labels:  scenekit, arkit
avantindietro
Sample Swift iOS ARKit project which shows how to implement an Undo feature for ARKit/SceneKit apps.
Stars: ✭ 16 (-11.11%)
Mutual labels:  scenekit, arkit
Swifty360player
iOS 360-degree video player streaming from an AVPlayer.
Stars: ✭ 118 (+555.56%)
Mutual labels:  carthage, scenekit
Tom and Jerry
A multiuser AR game based on ARKit 2 and MultipeerConnectivity
Stars: ✭ 24 (+33.33%)
Mutual labels:  scenekit, arkit
GVRSCNRenderer
SceneKit Rendering and ARKit 6DOF Tracking for Google Cardboard
Stars: ✭ 19 (+5.56%)
Mutual labels:  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 (+300%)
Mutual labels:  scenekit, arkit

SCNNodeVisualDebugger

Swift version Carthage compatible License

A simple tool for showing local and pivot coordinate system of SCNNode.

Initially created during experiments with ARKit + SceneKit.

Demo

Color notation

Coordinate System X Y Z
Local Red Green Blue
Pivot Magenta Yellow Cyan

If you like this tool, please give your to this repository.

Installation

CocoaPods

To install it through CocoaPods, add the following line to your Podfile:

pod 'SCNNodeVisualDebugger', :git => '[email protected]:handsomecode/SCNNodeVisualDebugger.git'

Please, don't forget to run pod update command to update your local specs repository during migration from one version to another.

Carthage

To install it through Carthage, add the following line to your Cartfile:

github "handsomecode/SCNodeVisualDebugger"

Usage

Importing the library to get access to API

import SCNNodeVisualDebugger

Adding debug axes to the specific node

let node: SCNNode = // provide SCNNode instance 

node.addDebugAxes()

If you need to add debug axes to child nodes as well you should pass a flag recursively as true as a parameter of the method. By default, recursively value is false

node.addDebugAxes(recursively = true)

Removing debug axes from the specific node

node.removeDebugAxes()

If you need to remove debug axes from child nodes as well you should pass a flag recursively as true as a parameter of the method. By default, recursively value is false

node.removeDebugAxes(recursively = true)

Checking debug axes from the specific node

if node.hasDebugAxes() {
    // some actions
}

Adding and removing debug axes to node by double tap

It can be useful to show or remove debug axes at runtime. For this purpose, you can use a double tap on a specific node.

Set enableDebugAxesByDoubleTap property of SCNView instance to true to enable double tap trigger.

sceneView.enableDebugAxesByDoubleTap = true

Samples

Use SceneKitSample and ARKitSample to see implementation details.

Communication

  • If you need help or found a bug, please, open an issue.
  • If you have a feature request, open an issue.
  • If you are ready to contribute, submit a pull request to develop branch.
  • If you like SCNNodeVisualDebugger, please, give it a star.

You can find more details into CONTRIBUTING file.

Requirements

  • iOS 9.0+
  • Xcode 8.3+
  • Swift 3.1+

License

SCNNodeVisualDebugger is available under the Apache License, Version 2.0. See the LICENSE file for more info.

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].