Debug Viewport Nodes (Geometry Nodes)
Nodes to draw visual information on viewport. (As Overlay data)
With draw text you can also transfer data from textures and see values in viewport.
Draw text is concept; Position can be inputted from geometry.
Not so sure how to separate String input from Attribute Value input, this can be automatically transform from Value to String.
Another nodes can be the same as overlays, show normals, indices etc. With geo nodes you can filter then instead of showing everything, showing only the geometry input, so you can visualize indices on a custom area, surface, etc.
2 Comments
This would be really cool to have. But IMO it definitely has to support fields, be toggleable in the overlays and user has to have the opportunity to choose what is being drawn easily. Something like "View as Overlay" node similar to "Viewer". Or option in "Viewer" node to toggle as an overlay.
I have made an addon that does at least part of the functionality (can visualise values of attributes, vectors or so) using geonodes and python, maybe it can help somebody, available from my profile.
I was thinking about a node that would print debug info for geometry nodes to the console, but having it visible in the 3D viewport would be a better idea.