Is there a way to combine roomplan api with arkit+metalkit to get both pointcloud .ply output and roomplan 3d room model .usdz?
Get Roomplan output with pointcloud data
If you use arSession
you can get the point cloud as raw feature points from each AR frame then store them together as mapped to the scanned room.
Did you found any alternative solutions to this issue since you posted the question?
func session(_ session: ARSession, didUpdate frame: ARFrame) {
print(frame.rawFeaturePoints)
}
rawFeaturePoints The current intermediate results of the scene analysis ARKit uses to perform world tracking.
var rawFeaturePoints: ARPointCloud? { get }
These points represent notable features detected in the camera image. Their positions in 3D world coordinate space are extrapolated as part of the image analysis that ARKit performs in order to accurately track the device's position, orientation, and movement. Taken together, these points loosely correlate to the contours of real-world objects in view of the camera.
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.
If you display AR content with SceneKit using the ARSCNView class, you can display this point cloud with the showFeaturePoints debug option.