dhart.raytracer.EmbreeBVH.AddMesh¶
- EmbreeBVH.AddMesh(mesh: MeshInfo | List[MeshInfo])¶
Add one or more new meshes to the BVH
- Parameters:
mesh (Union[MeshInfo, List[MeshInfo]]) – One or more instances of meshinfo to be added to the BVH.
Note
The IDs of each mesh will be updated to new values in the case that they collide with the id of any exiting meshes already in the BVH.