Shortcuts

UtilsΒΆ

Below are the basic functions that supports sampling and rendering.

inclusive_prod

Inclusive Product that supports flattened tensor.

exclusive_prod

Exclusive Product that supports flattened tensor.

inclusive_sum

Inclusive Sum that supports flattened tensor.

exclusive_sum

Exclusive Sum that supports flattened tensor.

pack_info

Pack ray_indices to packed_info.

render_visibility_from_alpha

Compute visibility from opacity \(\alpha_i\).

render_visibility_from_density

Compute visibility from density \(\sigma_i\) and interval \(\delta_i\).

render_weight_from_alpha

Compute rendering weights \(w_i\) from opacity \(\alpha_i\).

render_weight_from_density

Compute rendering weights \(w_i\) from density \(\sigma_i\) and interval \(\delta_i\).

render_transmittance_from_alpha

Compute transmittance \(T_i\) from alpha \(\alpha_i\).

render_transmittance_from_density

Compute transmittance \(T_i\) from density \(\sigma_i\).

accumulate_along_rays

Accumulate volumetric values along the ray.

importance_sampling

Importance sampling that supports flattened tensor.

searchsorted

Searchsorted that supports flattened tensor.

ray_aabb_intersect

Ray-AABB intersection.

traverse_grids

Ray Traversal within Multiple Grids.