Index Viewer

This Geometry Nodes setup visualizes the index numbers of vertices, edges, and polygons directly on a mesh. It uses the fields system to compute positions and outputs attributes to a custom shader to render the numeric values.

The node group includes controls to align the index numbers to face the viewport camera or use a specific rotation angle. You can scale the numbers and offset them along the surface normals to prevent intersection with the mesh. Built-in visualization options allow you to apply a matcap or wireframe overlay to the base mesh, making the text easier to read. The included shader materials provide customization for text color, solid or transparent backgrounds, and randomized coloring per index.