RoomCapture Configuration - request for more config options

    /// An object to configure the capture process
    public struct Configuration {
        public var isCoachingEnabled: Bool
        public init()
    }

If I ask nicely would someone please add a few more features to this?

Specifically, I would LOVE to be able to just detect a ROOM with no objects.

Then I would also like to be able to pass a map of CapturedRoom.Object.Category objects to filter on or use for render.

So for example I would pass into Configuration something like RoomCategory collection for the visualizer and USDZ model file. :

[Category : SimpleMaterial]

.sink:  return SimpleMaterial(color: .systemBlue, 
roughness: roughness, isMetallic: false) 

 .toilet: return SimpleMaterial(color: .systemTeal, 
roughness: roughness, isMetallic: false)

 .bathtub: return SimpleMaterial(color: .systemGreen, 
roughness: roughness, isMetallic: false)

So the above would override the default of rending ALL known objects to just render the three above and give them the color I've laid out.

While I'm at it, Beta 1 and Beta 2 changed a few things on this list. "screen" is a better name than "television". I also miss the ".unknown" category.

Here is what was in Beta 1: .unknown .storage .refrigerator .stove .bed .sink .washer .toilet .bathtub .oven .dishwasher .table .sofa .chair .fireplace .screen .stairs

The list above changed with Beta 2 that just shipped. So in Beta 2 .unknown was REMOVED, .washer is now .washerDryer and .screen is now .television.

This API is super cool and amazing. I've really enjoyed working with it.

Please note that my request above is for RoomObjects only. The Surface detection is perfect as is for Door, Window, Wall and Opening.

Accepted Answer

If I ask nicely would someone please add a few more features to this?

Someone… Apple I suspect ?

So the best would be to file a feedback suggesting such evolution.

I would also like to be able to keep the arsession alive but turn off the processor-intensive roomcapture session. Maybe this could be done with a configuration? That way we can do some basic editing of the room when roomcapture is complete.

RoomCapture Configuration - request for more config options
 
 
Q