Coder Social home page Coder Social logo

maxxfrazer / arkit-focusnode Goto Github PK

View Code? Open in Web Editor NEW
51.0 51.0 9.0 4.21 MB

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

License: MIT License

Ruby 6.32% Swift 91.44% Shell 2.23%
apple arkit augmented-reality cocoapods focussquare ios scenekit swift

arkit-focusnode's Introduction

Hi, I'm Max

Introduction

Welcome to Max's GitHub profile!

Max is working on แฏ… at ๏ฃฟ, so cannot actively contribute to OSS.

๐Ÿ”ญ Current Work

  • Making RealityKit and visionOS the best platform for building Spatial/AR/VR/XR applications.

๐Ÿ’ฌ Ask me about

  • Swift development
  • Augmented Reality with ARKit and RealityKit
  • Open source software

Do not ask me about unreleased software or products.

๐Ÿ“ซ How to reach me

Thank you for visiting my GitHub profile!

arkit-focusnode's People

Contributors

maxxfrazer 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

Watchers

 avatar  avatar  avatar  avatar

arkit-focusnode's Issues

Can we have sceneUnderstanding from LiDAR to get better planes in SceneKit also?

In FocusEntity I can see you have enabled scene reconstruction. Can this be done for SceneKit FocusNode also?

if #available(iOS 13.4, *), ARWorldTrackingConfiguration.supportsSceneReconstruction(.mesh) { self.allowedRaycast = .existingPlaneGeometry }

Also, as hittest has been deprecated now, how can I replace it with raycast? I tried it but it's not giving the same results.

UI update error

Hello. When starting the app, there is an error in the console:
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] PID: 13475, TID: 2654075, Thread name: com.apple.CoreMotion.MotionThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 libobjc.A.dylib 0x00000001ca7ef6f4 <redacted> + 56 5 CoreMotion 0x00000001d0f69d9c CoreMotion + 294300 6 CoreMotion 0x00000001d0f6a2cc CoreMotion + 295628 7 CoreMotion 0x00000001d0f6a1dc CoreMotion + 295388 8 CoreMotion 0x00000001d0f9801c CoreMotion + 483356 9 CoreMotion 0x00000001d0f98060 CoreMotion + 483424 10 CoreFoundation 0x00000001cb57e27c <redacted> + 28 11 CoreFoundation 0x00000001cb57db64 <redacted> + 276 12 CoreFoundation 0x00000001cb578e58 <redacted> + 2276 13 CoreFoundation 0x00000001cb578254 CFRunLoopRunSpecific + 452 14 CoreFoundation 0x00000001cb578f88 CFRunLoopRun + 84 15 CoreMotion 0x00000001d0f979f4 CoreMotion + 481780 16 libsystem_pthread.dylib 0x00000001cb1f6908 <redacted> + 132 17 libsystem_pthread.dylib 0x00000001cb1f6864 _pthread_start + 48 18 libsystem_pthread.dylib 0x00000001cb1fedcc thread_start + 4 2019-06-04 12:39:45.810908+0300 ARBottega[13475:2654075] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState] PID: 13475, TID: 2654075, Thread name: com.apple.CoreMotion.MotionThread, Queue name: com.apple.root.default-qos.overcommit, QoS: 0 Backtrace: 4 libobjc.A.dylib 0x00000001ca7ef6f4 <redacted> + 56 5 CoreMotion 0x00000001d0f69d9c CoreMotion + 294300 6 CoreMotion 0x00000001d0f6a2cc CoreMotion + 295628 7 CoreMotion 0x00000001d0f6a1dc CoreMotion + 295388 8 CoreMotion 0x00000001d0f9801c CoreMotion + 483356 9 CoreMotion 0x00000001d0f98060 CoreMotion + 483424 10 CoreFoundation 0x00000001cb57e27c <redacted> + 28 11 CoreFoundation 0x00000001cb57db64 <redacted> + 276 12 CoreFoundation 0x00000001cb578e58 <redacted> + 2276 13 CoreFoundation 0x00000001cb578254 CFRunLoopRunSpecific + 452 14 CoreFoundation 0x00000001cb578f88 CFRunLoopRun + 84 15 CoreMotion 0x00000001d0f979f4 CoreMotion + 481780 16 libsystem_pthread.dylib 0x00000001cb1f6908 <redacted> + 132 17 libsystem_pthread.dylib 0x00000001cb1f6864 _pthread_start + 48 18 libsystem_pthread.dylib 0x00000001cb1fedcc thread_start + 4

Queueless

Within queueless the view delegate has changed from ARSCNVIEW to ARSmartHitTest but when trying to pass the scene view cast to ARSmartHitTest this line fails

guard let view = self.viewDelegate as? (ARSCNView & ARSmartHitTest) else {
	print("FocusNode viewDelegate must be an ARSCNView for now")
	return
}

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.