Generating Polys from points
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.
January 24, 2001 08:27 AM
That doesn''t seem possible. What would you do for characters like ''i'', ''j'', ''!'', or ''"''?
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
Popular Topics
Advertisement