arimageanchor

ARKit line between two SCNNode

馋奶兔 提交于 2021-01-29 13:49:30
问题 it is possible to draw a line from an SCNNode to another and keep the line 'updated' when the user move around the device? In my scenario I have to ARImageAnchor and I would like to create a line between this two points. 回答1: I have a demo creating line between two node https://www.youtube.com/watch?v=YDUq7nfvXBc&feature=youtu.be if this is what u want u can comment below 来源: https://stackoverflow.com/questions/54463858/arkit-line-between-two-scnnode

ARKit : select what `ARImageAnchor` to track

ε祈祈猫儿з 提交于 2021-01-28 14:09:46
问题 I found out empirically that ARKit does not track more than 4 Image Anchors at the same time; setting maximumNumberOfTrackedImages to a number higher than 4 is ignored : With a dozen images markers in the frustum of the camera, ARKit detects them all and returns the corresponding ARImageAnchor s, however only 4 of them will have isTracked == true . I could not find any reference about this limitation in the Apple documentation, however it was mentioned in this medium post : [...] for now you

How to detect the 2D images using ARKit and RealityKit

爷,独闯天下 提交于 2020-07-03 10:08:55
问题 I want to detect the 2D images using ARKit and RealityKit . I don't want to use SceneKit because many implementations based on RealityKit. I couldn't find any examples detecting images on RealityKit. I referred https://developer.apple.com/documentation/arkit/detecting_images_in_an_ar_experience sample code from apple. It uses Scenekit and ARSCNViewDelegate let arConfiguration = ARWorldTrackingConfiguration() arConfiguration.planeDetection = [.vertical, .horizontal] arConfiguration