Skip to content

BlackMirrorz/ARPointCloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ARKitPointCloud

This project is a basic example of visualizing a pointCloud in ARKit using the rawFeaturePoints available from the ARSession current frame.

All the code is fully commented so the apps functionality should be clear to everyone.

Branches:

The Master Branch was originally compiled in XCode10 Beta using Swift 4.

An updated Branch called 'Swift4.2' contains the project built in XCode 10.5 Beta and uses Swift 4.2.

Requirements:

The project is setup for iPhone, and in Portait Orientation.

Core Functionality:

This project visualizes the rawFeaturePoints from the ARSession, and displays these as SCNNodes, alongside a UILabel which displays the number of rawFeaturePoints which have been detected.

Notes:

Please note, that the use of this is not recommended for any distrubuted application.

The performance isn't great (although some gains were made) using the clone function of SCNNode.

As Apple also stipulates: ARKit does not guarantee that the number and arrangement of raw feature points will remain stable between software releases, or even between subsequent frames in the same session. Regardless, the point cloud can sometimes prove useful when debugging your app's placement of virtual objects into the real-world scene.

About

A Basic Example Of Visualising Point Clouds In ARKit

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages