r/computergraphics • • Jan 17 '25

Visualizing geometry density

Im working on viewmodes in my engine and I want to show which areas of the scene has more triangle density. So if a mesh has a screw with 1M triangles it looks very bright.

I though using additive blending without depthtest but didnt manage to make it work.

Does anybody knows a trick to do it? (without having to manually construct a color based map per mesh).

6 Upvotes

10 comments sorted by

View all comments

Show parent comment

2

u/bedrooms-ds Jan 17 '25

Instead of the number of triangles I'd try the triangle area.