MeshSamplingRecord#
- class iskra.random.MeshSamplingRecord(*, point: Tensor, pdf: Tensor, bary: Tensor, prim_idx: Tensor)[SOURCE]#
Contains the result of a geometric sampling operation.
- point#
A [n_samples, D] tensor of sample positions.
- Type:
- pdf#
A [n_samples, 1] tensor of sample pdfs.
- Type:
- bary#
A [n_samples, n_simplex_vertices] tensor of sample barycentric coordinates.
- Type:
- bary#
A [n_samples, 1] tensor of the index of the sampled geometric primitive.
- Type: