I’m using OpenGL+Delphi and I want to draw an filled object but in the same time to draw its wireframe structure over. The problem is that if I do something like this:
scale the Object; // Add a small offset
some of the wire triangles are not visibile
I understand that i should use Polygon Offset but I dont know how.(some sample code pretty much expected)
Do i have to take into account the geometry for computing the Offset values?
I deal with CONCAVE objects so drawing solid+setting depth testing off+drawing wire will not do the trick>