I’m curious Is there a way to draw SceneKit wall nodes with cutouts like in the default Captureview?
The image on the left is how it appears vs what I’m hoping to get on the right. Here’s a snippet for context…
func addSurfacesToScene(scene: SCNScene, surfaces: [CapturedRoom.Surface], surfaceType: SurfaceType) {
for surface in surfaces {
let node = createSurfaceNode(from: surface, type: surfaceType)
scene.rootNode.addChildNode(node)
}
}
...
// Creates the surface node
geometry = SCNBox(width: CGFloat(surface.dimensions.x), height: CGFloat(surface.dimensions.y), length: CGFloat(surface.dimensions.z), chamferRadius: 0)
Thank you for taking a look!
New contributor
MJ455 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.