RoomPlan

RSS for tag

Create parametric 3D scans of rooms and room-defining objects.

Posts under RoomPlan tag

200 Posts

Post

Replies

Boosts

Views

Activity

[RoomPlan] export to usdz remove floor
I use RoomPlan to scan and get 3d room visualization. When I get the scan result, the floor appears. When I export this result to USDZ, I get walls in USDZ files but not the floor . Does it an bug of RoomPlan export method or it's normal and I have to activate/desactivate parameters to get the floor in my USDZ file ? I searched in documentation, I have not found anythings about that. Thanks for your help
0
1
634
Apr ’23
Creating Floor Plan with RoomPlan
Hi, I am trying to create a 2D floor plan from the 3D model that RoomPlan creates. This was a FAQ in the augmented-reality Apple Slack channel and the answer given was "RoomPlan outputs a 3D floor plan. You may set the z-coordinate to 0, which will flatten it and thus give you a 2D top-down floor plan." Does anyone know what this z-coordinate is and how to change it? Thank you
6
0
2.9k
Mar ’23
Aligning and Registering two point clouds
Does anyone know if there's a native library or API to align two point clouds in Swift/ARKit such as ICP? I know it's possible to do it in Python using the Open3D library http://www.open3d.org/docs/release/tutorial/pipelines/icp_registration.html It seems like ARWorldMap would need some sort of similar capability to do tracking and resume the session from the same state later., so I'm curious if anyone knows how it works under the hood. Or if you have any suggestions, I'd appreciate some pointers. Thank you.
1
1
1.5k
Mar ’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
819
Mar ’23
When we are exporting CapturedRoom data getting "EXC_BAD_ACCESS (code=1, address=0x0)"
We have capturedRoom data with the help of RoomPlan API. When we are exporting this data with the help of export function but we are getting "EXC_BAD_ACCESS (code=1, address=0x0)" Please help us. https://developer.apple.com/documentation/roomplan/capturedroom#generating-a-usdz-file let url = FileManager.default.temporaryDirectory.appending(path: "Room.usdz") try capturedRoom.export(to: url, exportOptions: .parametric)
0
0
542
Mar ’23
RoomPlan and RealityKit?
Apple's RoomPlan demo software page says it is powered by RealityKit, but I am having troubles finding any hooks into the standard RealityKit APIs. For example, RoomPlanView doesn't seem to be related to ARView, and I cannot find any Scene property to access (or add) RealityKit entities. Does anyone know if these RealityKit classes are accessible through RoomPlanView? Note: I did find the ARSession through roomCaptureView?.captureSession.arSession
2
0
1.6k
Feb ’23
Importing RoomPlan output into Blender
I'm sharing this in case someone else wants to use Apple's RoomPlan to create a model and import it into Blender. The problem: I could not successfully import a USDZ model from the RoomPlan app into Blender. (I went through the normal process of importing a USDZ file into Blender: change the file type from ".usdz" to ".zip"; unzipped the file; then tried to import the ".usda" file). No surfaces appeared. The solution: In Apple's source code from here, in the file RoomCaptureViewController.swift, I changed the line try finalResults?.export(to: destinationURL, exportOptions: .parametric) to try finalResults?.export(to: destinationURL, exportOptions: .mesh) recompiled, and went through the USDZ to USDA conversion process again. This time it worked. Apparently Blender cannot import parametric USDA models.
0
0
1.8k
Jan ’23
RoomPlan example App including curved surfaces
Our office room has a round cylindrical corner. But the current RoomPlan example App represents the curved corner by using edges (straight lines): CapturedRoom.Surface.Edge. We are looking for representing the round corner by using curves: CapturedRoom.Surface.Curve. The source code of an ARKit App of us using depthMap is public on GitHub CurvSurf. We are looking for an in-depth help from you.
2
0
1.4k
Jan ’23
RoomPlan/UIKit/ARKit - add custom text to UI
Hi community, I'm a new iOS developer and I'd like to develop application using Room Plan API/UIKit/ARKit. Currently I'm able to : Scan room Detect room objects (in console logs) Export data file (.usdz) from scanned room using the default UIViewController from UIKit. But now I would like to add my custom display when objects are detected. I google it but don't found anything around it. I think I have to use this method from RoomPlan API to display category of detected objects. func captureSession(_ session: RoomCaptureSession, didUpdate room: CapturedRoom) { RoomPlan can't display custom data right ? If yes, I have to use ARKit or UIKit in this method to add custom text to the frame of the detected object ? I can share code if necessary. Thanks in advance, Goat.
7
1
2.9k
Jan ’23
Is it possible to customize a RoomPlan RoomCaptureSession?
I'm hoping to utilize RoomPlan's auto detection of Doors, Windows, Openings, and Objects in my existing ARKit application. I've successfully hooked up a RoomCaptureSession to my ARSCNView in place of the preexisting ARSession (for iOS 16+ users):      if #available(iOS 16, *) {       let session = RoomCaptureSession()       let config = RoomCaptureSession.Configuration()       arView.session = session.arSession       session.run(configuration: config)       self.roomPlanSession = session     } else {       arConfig = ARWorldTrackingConfiguration()      arConfig.planeDetection = [.horizontal, .vertical]       arView.session.run(arConfig, options: .resetTracking)     } I'd like to enable planeDetection on the RoomCaptureSession, but I can't find anyway to do so. Does anyone know if this is possible? Or is the RoomCaptureSession not configurable in that way? Also, the RoomCaptureSession seems to automatically abort/stop if the camera & sensors are covered for a few seconds. For instance, if you set the device on a table (back side down) for ~15 seconds then the session is ended. Is there anyway to force it to keep the session alive in this case?
3
0
1.9k
Jan ’23
roomplan的代理方法不走,我拿不到扫描后的数据
大家好,请教一下,oc与swift混编,swift写的roomplan代码与官方提供的代码一样,但是roomplan的roomCaptureView的代理方法不走,我检查了代码,也打了断点,看了delegate是有值的,不知道有没有大佬帮我解决一下这个问题,我将表示感谢!
Replies
0
Boosts
0
Views
407
Activity
Apr ’23
Modifying CapturedRoom in RoomPlan
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!
Replies
2
Boosts
0
Views
982
Activity
Apr ’23
[RoomPlan] export to usdz remove floor
I use RoomPlan to scan and get 3d room visualization. When I get the scan result, the floor appears. When I export this result to USDZ, I get walls in USDZ files but not the floor . Does it an bug of RoomPlan export method or it's normal and I have to activate/desactivate parameters to get the floor in my USDZ file ? I searched in documentation, I have not found anythings about that. Thanks for your help
Replies
0
Boosts
1
Views
634
Activity
Apr ’23
Documentation for data from room plan captured room surfaces
I can not find any documentation on how to interpret and use the data in the returned scan data objects. Specifically, in the captured room wall surfaces.
Replies
1
Boosts
0
Views
1.3k
Activity
Mar ’23
Creating Floor Plan with RoomPlan
Hi, I am trying to create a 2D floor plan from the 3D model that RoomPlan creates. This was a FAQ in the augmented-reality Apple Slack channel and the answer given was "RoomPlan outputs a 3D floor plan. You may set the z-coordinate to 0, which will flatten it and thus give you a 2D top-down floor plan." Does anyone know what this z-coordinate is and how to change it? Thank you
Replies
6
Boosts
0
Views
2.9k
Activity
Mar ’23
RoomPlan Parameter Modification
Hello, are there are any parameters in the RoomPlan source code or Data API that can be fine tuned, so that walls and windows may be identified easier?
Replies
3
Boosts
1
Views
1.1k
Activity
Mar ’23
Aligning and Registering two point clouds
Does anyone know if there's a native library or API to align two point clouds in Swift/ARKit such as ICP? I know it's possible to do it in Python using the Open3D library http://www.open3d.org/docs/release/tutorial/pipelines/icp_registration.html It seems like ARWorldMap would need some sort of similar capability to do tracking and resume the session from the same state later., so I'm curious if anyone knows how it works under the hood. Or if you have any suggestions, I'd appreciate some pointers. Thank you.
Replies
1
Boosts
1
Views
1.5k
Activity
Mar ’23
RoomPlan/usdz, how to convert usdz to CapturedRoom or JSON?
Hi community,We have some of the generated usdz files need to be convert to CapturedRoom object or JSON format. But we haven't found the relevant method.Can you tell me how to do this
Replies
2
Boosts
0
Views
2.6k
Activity
Mar ’23
how know position of wall in 2D
The position of the wall is represented by transform: simd_float4x4, how a know start point and end point of wall
Replies
0
Boosts
0
Views
914
Activity
Mar ’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!
Replies
0
Boosts
0
Views
819
Activity
Mar ’23
When we are exporting CapturedRoom data getting "EXC_BAD_ACCESS (code=1, address=0x0)"
We have capturedRoom data with the help of RoomPlan API. When we are exporting this data with the help of export function but we are getting "EXC_BAD_ACCESS (code=1, address=0x0)" Please help us. https://developer.apple.com/documentation/roomplan/capturedroom#generating-a-usdz-file let url = FileManager.default.temporaryDirectory.appending(path: "Room.usdz") try capturedRoom.export(to: url, exportOptions: .parametric)
Replies
0
Boosts
0
Views
542
Activity
Mar ’23
How to catch if the user did not allow camera permission
There are some old answers out there... but is there ARKit, RealityKit, and RoomPlan way to do this? Thanks in advance.
Replies
0
Boosts
0
Views
548
Activity
Mar ’23
how get file gltF in RoomCaptureView
RoomCaptureView can export data to USDZ file, but i need file output is gltF, any sulution,
Replies
0
Boosts
0
Views
669
Activity
Feb ’23
RoomPlan and RealityKit?
Apple's RoomPlan demo software page says it is powered by RealityKit, but I am having troubles finding any hooks into the standard RealityKit APIs. For example, RoomPlanView doesn't seem to be related to ARView, and I cannot find any Scene property to access (or add) RealityKit entities. Does anyone know if these RealityKit classes are accessible through RoomPlanView? Note: I did find the ARSession through roomCaptureView?.captureSession.arSession
Replies
2
Boosts
0
Views
1.6k
Activity
Feb ’23
Importing RoomPlan output into Blender
I'm sharing this in case someone else wants to use Apple's RoomPlan to create a model and import it into Blender. The problem: I could not successfully import a USDZ model from the RoomPlan app into Blender. (I went through the normal process of importing a USDZ file into Blender: change the file type from ".usdz" to ".zip"; unzipped the file; then tried to import the ".usda" file). No surfaces appeared. The solution: In Apple's source code from here, in the file RoomCaptureViewController.swift, I changed the line try finalResults?.export(to: destinationURL, exportOptions: .parametric) to try finalResults?.export(to: destinationURL, exportOptions: .mesh) recompiled, and went through the USDZ to USDA conversion process again. This time it worked. Apparently Blender cannot import parametric USDA models.
Replies
0
Boosts
0
Views
1.8k
Activity
Jan ’23
RoomPlan example App including curved surfaces
Our office room has a round cylindrical corner. But the current RoomPlan example App represents the curved corner by using edges (straight lines): CapturedRoom.Surface.Edge. We are looking for representing the round corner by using curves: CapturedRoom.Surface.Curve. The source code of an ARKit App of us using depthMap is public on GitHub CurvSurf. We are looking for an in-depth help from you.
Replies
2
Boosts
0
Views
1.4k
Activity
Jan ’23
Export data from CapturedRoom.Surface
I am getting data with CapturedRoom Surface but only with the specified Codable struct provided by Apple's framework. I need to export more data from this. I'm getting the data in the Log but as a Codable struct.
Replies
1
Boosts
0
Views
1.5k
Activity
Jan ’23
RoomPlanAPI object textures
Hi, I want to extract real textures of the objects detected by RoomPlanAPI. So, that i can apply them later on to the model generated by RoomPlan. I want to create an illusion of the real room so that i can have the control over the objects. Does anyone have any idea how can i do that?
Replies
1
Boosts
0
Views
1.2k
Activity
Jan ’23
RoomPlan/UIKit/ARKit - add custom text to UI
Hi community, I'm a new iOS developer and I'd like to develop application using Room Plan API/UIKit/ARKit. Currently I'm able to : Scan room Detect room objects (in console logs) Export data file (.usdz) from scanned room using the default UIViewController from UIKit. But now I would like to add my custom display when objects are detected. I google it but don't found anything around it. I think I have to use this method from RoomPlan API to display category of detected objects. func captureSession(_ session: RoomCaptureSession, didUpdate room: CapturedRoom) { RoomPlan can't display custom data right ? If yes, I have to use ARKit or UIKit in this method to add custom text to the frame of the detected object ? I can share code if necessary. Thanks in advance, Goat.
Replies
7
Boosts
1
Views
2.9k
Activity
Jan ’23
Is it possible to customize a RoomPlan RoomCaptureSession?
I'm hoping to utilize RoomPlan's auto detection of Doors, Windows, Openings, and Objects in my existing ARKit application. I've successfully hooked up a RoomCaptureSession to my ARSCNView in place of the preexisting ARSession (for iOS 16+ users):      if #available(iOS 16, *) {       let session = RoomCaptureSession()       let config = RoomCaptureSession.Configuration()       arView.session = session.arSession       session.run(configuration: config)       self.roomPlanSession = session     } else {       arConfig = ARWorldTrackingConfiguration()      arConfig.planeDetection = [.horizontal, .vertical]       arView.session.run(arConfig, options: .resetTracking)     } I'd like to enable planeDetection on the RoomCaptureSession, but I can't find anyway to do so. Does anyone know if this is possible? Or is the RoomCaptureSession not configurable in that way? Also, the RoomCaptureSession seems to automatically abort/stop if the camera & sensors are covered for a few seconds. For instance, if you set the device on a table (back side down) for ~15 seconds then the session is ended. Is there anyway to force it to keep the session alive in this case?
Replies
3
Boosts
0
Views
1.9k
Activity
Jan ’23