Update: I tested the provided version of RoomPlan which uses UIKit instead of SwiftUI and it works well. So I am waiting for future updates.
Post
Replies
Boosts
Views
Activity
Hello jmousseau are you sure RoomPlan enables scene depth?
This snippet of code in a RoomCaptureSessionDelegate class:
func captureSession(_ session: RoomCaptureSession, didProvide instruction: RoomCaptureSession.Instruction) {
print(session.arSession.currentFrame?.sceneDepth != nil ? true : false)
}
prints false
Hi averagepoet,
I am exactly trying to access ARKit sceneDepth from the ARSession, but there is a problem:
You can't have two ARSession running in parallel
The ARSession managed by CaptureSession doesn't provide sceneDepth (see my comment there
Did you find a way to still access the depth?
Hello there!
The arSession owned by RoomCaptureSession doesn't keep track of scene depth (session.configuration?.frameSemantics.contains(.sceneDepth) = false). How can we manage that?
I tried to stop the session and restart it with the correct configuration but it didn't work:
captureSession.arSession.pause()
guard ARWorldTrackingConfiguration.supportsFrameSemantics(.sceneDepth) else { return }
let config = ARWorldTrackingConfiguration()
config.frameSemantics = .sceneDepth
captureSession.arSession.run(config)
Hello,
From the documentation, it doesn't seem that RoomPlan generates textures at all.
Hi, good question. I would also be interested in the solution if you find something.
This is great, thanks!
I would also be interested in modifying the data, in particular CapturedRoom (either create create a CapturedRoom or modifying its properties). Any idea how this can be done?