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 αi.

render_visibility_from_density

Compute visibility from density σi and interval δi.

render_weight_from_alpha

Compute rendering weights wi from opacity αi.

render_weight_from_density

Compute rendering weights wi from density σi and interval δi.

render_transmittance_from_alpha

Compute transmittance Ti from alpha αi.

render_transmittance_from_density

Compute transmittance Ti from density σ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.