Hi,
Suppose I have a table model imported from usdz with initially something like a "wood" material. When clicking on a button, I want the table to take a "marble" material.
I only know how I can load the entity along with its assigned material from a usd file, but I want to load all the different materials, store them somewhere and be able to assign the materials dynamically when a button is clicked. Is there a way to do that?
Thanks
Post
Replies
Boosts
Views
Activity
Hello,
I am using RoomPlan in iOS17 with SwiftUI the program crashes as soon as a new surface is detected. It seems to come from CaptureView. Anyone else experiencing the same issue?
Thanks in advance
Hi,
I noticed that when loop closure is detected, the anchors placed right before the loop detection are shifted, which is not a desired behaviour. How can I fix this? Thanks a lot.
Hello,
The RoomCaptureSession seems to be initialized differently when it is access through the RoomCaptureView compared to when it is created directly. In the second case, the captureSession.arSession doesn't collect Lidar depth map.
roomCaptureView.captureSession.run(RoomCaptureSession.Configuration())
print(roomCaptureView.captureSession.arSession.currentFrame?.sceneDepth != nil)
// prints true
let captureSession = RoomCaptureSession()
captureSession.run(RoomCaptureSession.Configuration())
print(captureSession.arSession.currentFrame?.sceneDepth != nil)
// prints false
What solution do I have? I need my own custom Visualizer
Hello,
ARKit already have ways to identify walls, doors, chairs and other objects:
ARMeshClassification
ARPlaneAnchor.Classification
Here there seems to say that RoomPlan is powered by a distinct (although similar) algorithms and AI model than ARKit scene understanding. Is it correct? I was wondering what was exactly the point of designing a new algorithm from scratch and also which of them present better performance and more reliable results? Why are two different methods designed for the same purpose integrated in the framework?
Hello,
I would like to be able to modify/manage my own instance of the structure CapturedRoom in RoomPlan, and still be able to export it to usdz. Any idea how this can be done? Same question for CaputredRoom.Surface.
Thanks!
Hello,
In RoomPlan, all the functions captureSession() use a CapturedRoom as parameter except when we complete a session where raw data( CapturedRoomData) is passed as parameter (RoomCaptureSessionDelegate documentation)
My question is: Why is that?
What can be done with the raw data apart from converting it to a CapturedRoom?
Why aren't we directly provided with a CapturedRoom instead of raw data at this point?
Why do we receive a CapturedRoomData at the end of the session but a CapturedRoom during the scan?
func captureSession(RoomCaptureSession, didUpdatewith: CapturedRoom)
func captureSession(RoomCaptureSession, didEndWith: CapturedRoomData) // RAW DATA
I am thinking that maybe I missed some important point.
Thanks!
Hello,
The shortcut for "Jump to Definition in Next Editor" doesn't open the definition in the next editor when there is a multiple choices for the definition (eg. choose between the class and the class init method). The destination is then opened in the same editor.
Thanks