Open pellethielmann opened 1 year ago
InstantNGP does not currently have a means of giving you the points and their densities. It only provides the result of the ray marching. However, its not so difficult to implement yourself. I've built something like this for a paper on epistemic uncertainty with NeRFS. The plot you see is the distribution of the densitites along one ray (This is an old image with a bug in the program so the calculated depth drawn is not correct). Storing the values of every ray in the image may give you memory constraint problems. The place you want to start looking is nerf tracer class. https://github.com/NVlabs/instant-ngp/blob/6c06f0bca6daed6d99f9e8844af65a1358463cd4/src/testbed_nerf.cu#L2063
Discussed in https://github.com/NVlabs/instant-ngp/discussions/1058