BVH Construction and Traversal Library - GitHub BVH Construction and Traversal Library Note: This is the 2nd version of this library Check the v1 branch for the older, first version of this library This library is a small, standalone library for BVH construction and traversal It is licensed under the MIT license (Scene by Blend Swap user MaTTeSr, available here, distributed under CC-BY 3 0)
GitHub - ashawkey cubvh: Mesh tools. import numpy as np import trimesh import torch import cubvh ### build BVH from mesh mesh = trimesh load ('example ply') # NOTE: you need to normalize the mesh first, since the max distance is hard-coded to 100