Module: tfg.rendering.utils
Stay organized with collections
Save and categorize content based on your preferences.
Various util functions common for all rasterizers.
Functions
merge_batch_dims(...): Merges all dimensions into one starting from 0 till last_axis exluding.
restore_batch_dims(...): Unpack first dimension into batch_shape, preserving the rest of the dimensions.
transform_homogeneous(...): Applies 4x4 homogenous matrix transformations to xyz vertices.