UtilsΒΆ
Ray AABB Test. |
|
Unpack packed_info to ray_indices. |
|
Accumulate volumetric values along the ray. |
|
Compute transmittance \(T_i\) from density \(\sigma_i\). |
|
Compute transmittance \(T_i\) from alpha \(\alpha_i\). |
|
Compute rendering weights \(w_i\) from density \(\sigma_i\) and interval \(\delta_i\). |
|
Compute rendering weights \(w_i\) from opacity \(\alpha_i\). |
|
Filter out transparent and occluded samples. |
|
Resample a set of rays based on the CDF of the weights. |
|
Pack per-ray data (n_rays, n_samples, D) to (all_samples, D) based on mask. |
|
Unpack packed data (all_samples, D) to per-ray data (n_rays, n_samples, D). |