Module: tfg.geometry.representation.ray

Tensorflow ray utility functions.

Functions

intersection_ray_sphere(...): Finds positions and surface normals where the sphere and the ray intersect.

sample_1d(...): Sample points on a ray using a sampling strategy (ray wrapper for sampling functions).

sample_inverse_transform_stratified_1d(...): Sample points on a ray using inverse transform stratified sampling.

sample_stratified_1d(...): Sample points on a ray using stratified sampling.

triangulate(...): Triangulates 3d points by miminizing the sum of squared distances to rays.