ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

Module: tfg.rendering.triangle_rasterizer

This module implements a differentiable rasterizer of triangular meshes.

The resulting rendering contains perspective-correct interpolation of attributes defined at the vertices of the rasterized meshes. This rasterizer does not provide gradients through visibility, but it does through visible geometry and attributes.


rasterize(...): Rasterizes the scene.