NVIDIAGameWorks/kaolin

The latest version doesn't have the function "point cloud to SDF"

yang-si-hang opened this issue · 2 comments

I want to generate SDF (Signed Distance Function) from a point cloud. I can't find this function in the latest version, while version 0.1 has the function sdf_ = kal.conversions.pointcloud_to_trianglemesh(points).

I wonder how to generate the SDF with the latest version.

Hi @yang-si-hang , thank you for your interest in Kaolin.

You are asking to generate an SDF from a point cloud but the function you quoting here is a point cloud to trianglemesh function, can you specify what do you want?

If you look at the underlying code in https://github.com/NVIDIAGameWorks/kaolin/blob/v0.1/kaolin/conversions/pointcloudconversions.py#L68-L77 you will find that the functions rely on a voxelgrid conversion at intermediate step, which may or may not something that you want in your conversion. It should be pretty easy to reproduce in the latest version.

Thanks for your reply!
I'm new at computer graphics. I will try your suggestion.