mesh-to-depth
mesh-to-depth copied to clipboard
[feature request]make the mesh2depth_simple as two functions: load-the-mesh and capture-depth-image
hi, If I only need a small batch of the depth image, most of the time is spending on vertices loading and raytrace part. is it possible to split the mesh2depth_simple into two functions? Thank you
Building the BVH tree is probably the most time-consuming part (would want to benchmark). The rest is just moving things around in memory. I agree it would be good to be able to maintain states and reuse this. I can try to implement it, but likely it won't be for a while. If you happen to have something implemented, any suggestions or pull requests are definitely welcome. 😄