fp:
I'v implemented the code you gave me, i works with most positions, except it takes some triangles near the edge of the viewport and on some views it takes a lot of triangles.. heres some screens:

With:


Without: