google / nerfactor

Neural Factorization of Shape and Reflectance Under an Unknown Illumination
https://xiuming.info/projects/nerfactor/
Apache License 2.0
437 stars 56 forks source link

Can we extract mesh from the system by marching cubes? #35

Closed jzhangbs closed 1 year ago

jzhangbs commented 1 year ago

Thanks for the released code! I would like to ask whether we can extract mesh by marching cubes. Is this function implemented? If not, how can we access the density field of NeRF in the model? After a quick look into the code, it seems that the system directly read xyz, normal etc. from input, and it is not straightforward to get the density values.

xiumingzhang commented 1 year ago

This work models geometry with surfaces (just vertices, without connectivity), so it starts off with the surface from NeRF and then refines the surface vertices' locations. As such, there is no concept of volume density in NeRFactor; the only volume density in the pipeline is that of NeRF, from which we extracted the initial surface.