pytorch3d icon indicating copy to clipboard operation
pytorch3d copied to clipboard

Clarification on fragments.zbuf

Open yuya737 opened this issue 3 years ago • 1 comments

A simple clarification: the output from somerasterizer.forward() (i.e. the fragment in pytorch3d language) and in particular the fragment.zbuf tensor should be differentiable with respect to the input parameters like cameras correct?

A beginner here....

yuya737 avatar Oct 03 '22 18:10 yuya737

Yes, all the rasterizers in PyTorch3D except MeshRasterizerOpenGL are differentiable, and for them you should see gradients flowing back from the depths to the cameras.

bottler avatar Oct 09 '22 01:10 bottler