Closed SrinjaySarkar closed 2 years ago
What is the point of this line of code? dists = dists * ray_directions[..., None, :].norm(p=2, dim=-1) on line 24 in volume_rendering_utils.py ? The paper only mentions the dists but not multiplying it with the ray directions.
dists = dists * ray_directions[..., None, :].norm(p=2, dim=-1)
volume_rendering_utils.py
Just figured it out, it is to convert to real world distance units.
What is the point of this line of code?
dists = dists * ray_directions[..., None, :].norm(p=2, dim=-1)
on line 24 involume_rendering_utils.py
? The paper only mentions the dists but not multiplying it with the ray directions.