We have an App that does something similar to RoomPlan. We use SceneKit to draw all the wall lines. We have noticed that RoomPlan has trouble detecting walls around 7 inches or shorter. Our app has tools to deal with this. It seems the difference in time to capture the walls of a room between our app and the RoomPlan demo app is negligible. But we could save time in our app with auto detection of all the other things like windows, doors, openings, cabinets, etc.
Are the lines you see drawn in the RoomPlan demo App SCNNodes?
If so will you ever be able to call .addNode() inside the RoomPlan framework?
If not, does RoomPlan use SpriteKit to draw?
We use an ARSCNView to keep track of all the lines in our app. Changing that member to an instance of RoomCaptureView seems like a non starter.
Starting a new RoomCaptureSession when we're ready to scan for objects other than walls wipes all the wall lines we've previously captured.
Thanks,
Mike
As far as I can tell, RoomPlan visualizes the lines with RealityKit
. Instead of using RoomCaptureView
, you can run a RoomCaptureSession
and add SCNNode
s for each of the CapturedRoom
's completed edge surfaces. One tricky aspect is you'll have to assign the RoomCaptureSession
's arSession
to your ARSCNView
inside the captureSession(_:didStartWith:)
delegate method. This is because RoomPlan
owns the underlying ARSession
instance.