Closed wzy-99 closed 1 year ago
I figured out that this step is to filter points outside the [-1,1] range. This means that the NeRF object should be located inside the cube in the center [-1,1].
You've got it just right :)
Found this little sketch from a while ago, for comparing how wisp normalizes coords v.s. i-ngp, in case this is useful to someone:
Thank you for your answer. I understand better now!
https://github.com/NVIDIAGameWorks/kaolin-wisp/blob/28a99641c07c311aec98d54e65ed9a807ce4a59f/wisp/accelstructs/octree_as.py#L266
I have some questions about the following code:
I tested using the NeRF synthetic dataset and found that
The input
samples.reshape(num_rays * num_samples, 3)
is also not in the range -1 to 1But according to the document https://kaolin.readthedocs.io/en/latest/modules/kaolin.ops.spc.html?highlight=unbatched_query#kaolin.ops.spc.unbatched_query . The input query_coords need to be normalized in [-1, 1] if they are FloatTensor.
So is this a potential bug?