Skip to content

This is an Apple ARKit and SceneKit demo that shows you how you can manipulate swift data by calling customized C/C++ functions.

Notifications You must be signed in to change notification settings

Bill0412/SceneKitDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SceneKit Demo

Intro

This is a demo that shows you how you can manipulate data in Swift SceneKit using your customized functions in C/C++.

Demo

When you run the program, you should move your camera so that a shape comprised of 5 cylinders conntect head to end can be constructed. The position of the joints are determined by your camera position in 5 seconds, every 1 second camera position data as a point.

After 5 seconds, the shape you created by your phone will move up 0.01m every 1 second.

References

  1. Integer from Swift to C
  2. Pass Swift Array as C argument
  3. SceneKit SCNNode Documentation
  4. Bridging using SIMD

About

This is an Apple ARKit and SceneKit demo that shows you how you can manipulate swift data by calling customized C/C++ functions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published