Skip to content
Hibiiro

HIBIIRO

How to Display Vertex, Edge, and Face Index Numbers in Blender Geometry Nodes

Environment

Blender 3.5.1

Displaying Single-Digit Indices (0–9)

Connect the geometry whose indices you want to inspect into Instance on Points, plug a String to Curves node into Instance (with `0123456789` as the String and Character Spacing set to `0`), and check Pick Instance:

Improving Readability

1. Rotate Toward the Active Camera

Fetch the Camera’s rotation via an Object Info node and plug it into the Rotation socket of Instance on Points so the numbers always face the camera:

Aligning index number rotation to the camera

2. Offset Along the Surface Normal & Adjust Scale

Use Set Position with the Normal scaled via Vector Math (Scale) as the offset so the numbers float slightly outside the mesh surface without clipping, and adjust the instance Scale:

Offsetting index labels along surface normals
Scaling down the instanced number curves

Displaying Multi-Digit Indices (10+)

To display the tens digit (and hundreds/thousands), duplicate the Instance on Points branch, shift the new digit slightly to the left with Translate Instances, and feed `Floor(Index / 10)` into the Instance Index socket (use `/ 100` for hundreds, `/ 1000` for thousands):

Dividing Index by 10 and flooring for the tens digit

Hiding Leading Zeros & Centering Alignment

To hide leading zeros on indices `0..9`, connect a Compare (Not Equal to 0) node into the Selection socket of the tens-place Instance on Points node:

Position each digit with Translate Instances. Adjust the scale factor for each place until the digits align. In this example, the ones digit is 3 and the tens digit is 2.

Positions of the ones and tens digits
3 in the ones place and 2 in the tens place.

To recenter the label, set Mesh Line to one vertex and offset the instances using a scaled vector. Use the camera rotation so the digits continue to face the viewer.

Rotating the camera around a mesh with billboarded multi-digit indices

Displaying Edge and Face Indices

To display Edge or Face indices instead of vertices, insert a Mesh to Points node (set to Edges or Faces) right before the instancing setup: