Advertisement

Generating Polys from points

Started by January 22, 2001 12:33 PM
1 comment, last by Danack 23 years, 10 months ago
I''ve been wanting to have my own font rendering routines for a while now as wglUseFontOutlines is quite limited as to how it can render the text. I''ve got the outline of the font as a series of points, so does anyone have an algorythm of how to convert efficiently from points to non-overlapping polys ? cheers Dan Game production: Good, quick, cheap: Choose two.
Game production:Good, quick, cheap: Choose two.
That doesn''t seem possible. What would you do for characters like ''i'', ''j'', ''!'', or ''"''?
Advertisement

I''ve found elsewhere what I need to use is Delaunay Triangulation, which builds up an optimised mesh for points in a plane.

>That doesn''t seem possible. What would you do for characters...

Yes you''re right it''s completely impossible to render those characters...........

Or I could generate all the polys and then test for the ones that lie outside the boundary of the letter and then remove those polys from the list.

cheers dan


Game production:
Good, quick, cheap: Choose two.
Game production:Good, quick, cheap: Choose two.

This topic is closed to new replies.

Advertisement