kaolin-wisp icon indicating copy to clipboard operation
kaolin-wisp copied to clipboard

Does wisp._C.ops.hashgrid_interpolate_cuda provide gradients w.r.t. coordinates?

Open alvaro-budria opened this issue 2 years ago • 0 comments

I am trying to enhance NeuS with a hash grid encoding. NeuS utilizes the normal of the SDF as input to its color field, and this normal is computed as the gradient of the SDF w.r.t. the coordinates. That means that if I implement the SDF field with a hash grid, I will need to be able to differentiate the hash grid not only w.r.t. the features, but also the coordinates. It looks like this is not currently supported in kaolin-wisp nor in kaolin, as I am getting None when I try to obtain the gradient w.r.t. the input coordinates.

Is it planned to add this capability to kaolin-wisp?

alvaro-budria avatar Sep 13 '22 10:09 alvaro-budria