nerfstudio-project / nerfacc

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

Add pre-computed transmittance #206

Closed Linyou closed 1 year ago

Linyou commented 1 year ago

This PR modifies the render_transmittance_from_density function to enable pre-computed transmittance. This feature is particularly beneficial for implementing Instant-NGP test mode rendering.

liruilong940607 commented 1 year ago

Thanks this is very nice! Maybe also add this argument to other render functions (render_sth_from_sth) to make their API consistent.

Linyou commented 1 year ago

I just added to other render functions.

liruilong940607 commented 1 year ago

LGTM!