RealityKit Bool Demo with Euclid
RealityKit Bool Demo with Euclid
A demo subtracting RealityKit meshes with a bool operation using Euclid.
First a RealityKit MeshResource is converted to a Euclid Mesh, then the bool operation happens, then the Euclid Mesh is converted back to a RealityKit MeshResource.
This demo is made in SwiftUI for iOS & macOS.
Credit to Nick Lockwood for creating Euclid.