mesh-to-depth icon indicating copy to clipboard operation
mesh-to-depth copied to clipboard

[feature request]make the mesh2depth_simple as two functions: load-the-mesh and capture-depth-image

Open WSPeng opened this issue 4 years ago • 1 comments

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

WSPeng avatar Apr 26 '21 13:04 WSPeng

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. 😄

daeyun avatar Apr 26 '21 16:04 daeyun