You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I have a point p=(xyz), and a distance d = sdf(p), I want to do something like d.backward() to get p.grad? I was able to do it with TORCH_SDF library(a modified version of Kaolin), but it seems I cannot do it with pytorch_volumetric?
The text was updated successfully, but these errors were encountered:
I think you may implement this with the sdf_grad in:
sdf_val, sdf_grad = sdf(pts)
However, instead of apply sdf_grad to sdf_val, it should be applied to pts directly. This may because the sdf function is rather implemented in an implicit way, which means there's no analytical differential relationship between sdf_value and pts.
Say I have a point p=(xyz), and a distance d = sdf(p), I want to do something like d.backward() to get p.grad? I was able to do it with TORCH_SDF library(a modified version of Kaolin), but it seems I cannot do it with pytorch_volumetric?
The text was updated successfully, but these errors were encountered: