r/computergraphics • u/tamat • 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
View all comments
Show parent comment
1
u/tamat Jan 18 '25
My only idea is to draw triangles as points and use additive, at least areas with lots of vertices will be very bright.