Post

Replies

Boosts

Views

Activity

How can we load materials from usdz file
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
0
0
580
Jun ’23
RoomPlan `RoomCaptureSession.arSession` doesn't provide scene depth (Lidar information)
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
0
0
801
Apr ’23
Difference between RoomPlan and ARKit plane and mesh classification
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?
0
0
737
Apr ’23
why does RoomCaptureSessionDelegate.captureSession did end with raw data?
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!
0
0
708
Mar ’23