YueJiang-nj / CVPR2020-SDFDiff

SDFDiff: Differentiable Rendering of Signed Distance Fields for 3D Shape Optimization
275 stars 19 forks source link

batched rendering #10

Open amaleki2 opened 3 years ago

amaleki2 commented 3 years ago

Thank you very much for publishing your code. Very interesting work.

I am interested in using the rendering pipeline for batched computation. More exactly, suppose I have a tensor of size B x NxNxN which represents a mini batch of data containing B SDF grids of size N^3. My understanding is that the current implementation does not support batch computation (and I would need to do the computation in a loop). I was wondering if my understanding is correct, and if so, if there is any easy way to modify the implementation to support this feature.

Thanks,