Commit 1e8f3427 authored by Ruilong Li's avatar Ruilong Li
Browse files

add comment

parent b3a141aa
......@@ -113,6 +113,7 @@ if __name__ == "__main__":
occupancy values with shape (N, 1).
"""
density_after_activation = radiance_field.query_density(x)
# those two are similar when density is small.
# occupancy = 1.0 - torch.exp(-density_after_activation * render_step_size)
occupancy = density_after_activation * render_step_size
return occupancy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment