Commit 82baf33d authored by Ruilong Li's avatar Ruilong Li
Browse files

minor fix for prefix_trans

parent 43313061
......@@ -260,7 +260,7 @@ def render_transmittance_from_density(
alphas = 1.0 - torch.exp(-sigmas_dt)
trans = torch.exp(-exclusive_sum(sigmas_dt, packed_info))
if prefix_trans is not None:
trans *= prefix_trans
trans = trans * prefix_trans
return trans, alphas
......
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