[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Tesselationg Fonts with gluTesselator
From: |
LonelyStar |
Subject: |
[ft] Tesselationg Fonts with gluTesselator |
Date: |
Thu, 31 Aug 2006 15:21:28 -0700 (PDT) |
Hello together,
I am trying to make Polygons for Fonts using gluTesselator.
It works on many characters, but fails on characters with wholes.
So my guess is, that I use the wrong Winding rules. I set the winding this
way:
if(face->glyph->outline.flags | FT_OUTLINE_EVEN_ODD_FILL)
gluTessProperty(t, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_ODD);
else
gluTessProperty(t,GLU_TESS_WINDING_RULE,
GLU_TESS_WINDING_NONZERO);
How should I set the winding rules?
Thanks!
Nathan
--
View this message in context:
http://www.nabble.com/Tesselationg-Fonts-with-gluTesselator-tf2199607.html#a6089411
Sent from the Freetype - User forum at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ft] Tesselationg Fonts with gluTesselator,
LonelyStar <=