UtilsΒΆ
Below are the basic functions that supports sampling and rendering.
Inclusive Product that supports flattened tensor. 

Exclusive Product that supports flattened tensor. 

Inclusive Sum that supports flattened tensor. 

Exclusive Sum that supports flattened tensor. 

Pack ray_indices to packed_info. 

Compute visibility from opacity \(\alpha_i\). 

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

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

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

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

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

Accumulate volumetric values along the ray. 

Importance sampling that supports flattened tensor. 

Searchsorted that supports flattened tensor. 

RayAABB intersection. 

Ray Traversal within Multiple Grids. 