ARKitExample | Source code for my Medium article | Blog library
kandi X-RAY | ARKitExample Summary
kandi X-RAY | ARKitExample Summary
Source code for my Medium article
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ARKitExample
ARKitExample Key Features
ARKitExample Examples and Code Snippets
Community Discussions
Trending Discussions on ARKitExample
QUESTION
Ok, like everyone else I am having trouble dragging/translating an SCNNode in ARKit/world space. Ive looked at Dragging SCNNode in ARKit Using SceneKit and all the popular questions, as well as the code from Apple https://github.com/gao0122/ARKit-Example-by-Apple/blob/master/ARKitExample/VirtualObject.swift
Ive tried to simplify as much as possible and just did what I would in a normal scene kit game - http://dayoftheindie.com/tutorials/3d-games-graphics/t-scenekit-3d-picking-dragging/
I can get the tapped object and store the current finger pos no problem with:
...ANSWER
Answered 2018-Mar-23 at 07:00I agree with @Rickster that the Apple Code
provides a much more robust example, however, I have this and it seems to work smoothly (much more so when you are using PlaneDetection (since feature points are much more sporadic):
I don't make use of touchesBegan
but simply do the work in touchesMoved
instead:
QUESTION
I'm trying to wrap my head around Apple's ARKit API and I have pushed their example ARKitExample
project up to GitHub.
In this demo/sample project, you move your phone camera around your environment, and it appears to automatically detect flat surfaces and place a set of "focus squares" over where your camera is centered over that surface. If you then press a "+"
UI button and select from one of several objects (lamp, cups, vase, etc.) and it will render that virtual object in place of the focus squares. You can see all of this in action right here which is probably better than me trying to explain it!
I'm trying to find the place in the code where the virtual object is actually invoked and rendered onscreen. This would be just after it is selected, which I think takes place here:
...ANSWER
Answered 2017-Sep-12 at 13:44It adds the virtualObject instance (which is a subclass of SCNNode) as a child of the SCNScene's root node:
QUESTION
I'm trying to play around with Apple's new ARKit and have downloaded their sample ARKitExample
project into Xcode 9 (beta).
Since ARKit doesn't work in the Apple simulator, I'm trying to archive, export and install this ARKitExample
app onto my iPhone 7+ so I can actually take ARKit for a test spin as an actual user.
However from that example project's own README:
"ARKit and this sample app require iOS 11 and a device with an A9 (or later) processor. (ARKit is not available in iOS Simulator.)"
Looking at the specs for iPhone 7+, it looks like I cannot upgrade my phone to iOS 11, which makes me think that I cannot deploy and run this ARKitExample
app on my phone.
However I see lots of confusing articles about which devices currently support ARKit, like this one, which seems to indicate that my phone does support it.
So I ask: do I need to figure out how to upgrade my iPhone 7+ to iOS11, or will everything work fine as-is, or do I need to find some other device that does run iOS 11? If that last scenario is the case: what devices currently run iOS 11?! I don't think it's even been released yet as it still stands in preview mode...
...ANSWER
Answered 2017-Sep-08 at 19:55List of iPhone and iPad Compatible with ARKit in iOS 11:
- iPhone SE
- iPhone 6s
- iPhone 6s Plus
- iPhone 7
- iPhone 7 Plus
- iPad Pro (All three variants and models)
- New 9.7-inch iPad (2017)
QUESTION
I just downloaded the ARKitExample Projekt(Placing Objects). Unfortunately there are some bugs. I am new to swift so I don't know how to fix them. Could someone help me out? I keep getting the error(file: Utility.swift):
Nil is not compatible with expected argument type '[String: Any]'
code:
...ANSWER
Answered 2017-Jul-14 at 15:57It seems the signature for the CIImage applyingFilter(_:withInputParameters:)
method changed as of iOS 11.
It was:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ARKitExample
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page