quote:Original post by prgrmmr
Poster: this works great until the vertex keeps inside the view frustrum. But when one of the triangle vertices leaves the viewing rectangle, it doesn''t work.
Any other ideas?
This should not be a problem as long as you set those vertices to a point outside the viewport (i.e. negative coordinates).