nerfstudio-project / nerfacc

A General NeRF Acceleration Toolbox in PyTorch.
https://www.nerfacc.com/
Other
1.37k stars 113 forks source link

Guidelines to make minor modifications to the code #165

Closed NagabhushanSN95 closed 1 year ago

NagabhushanSN95 commented 1 year ago

Hi, as a geenric comment, can you please add guidelines to modify/customizer some small parts of the code?

Specifically, I want to modify the volume rendering function to return weights as well. How do I go about this? If I download the source code and place it my root directory and modify this line, would that work? Or would I need to recompile it?

liruilong940607 commented 1 year ago

This rendering function is in pure python so you can actually write your own rendering function outside of nerfacc with the necessary returns you want. I would just copy this function out and do modifications.

NagabhushanSN95 commented 1 year ago

Great, thanks!