LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: broumbroum on September 20, 2009, 14:38:18

Title: what about tesselation ?
Post by: broumbroum on September 20, 2009, 14:38:18
HI! from the opengl book I read a chapter about tesselation which allows output of polygons with holes in it, something that'd be very useful in rendering of java Font characters that define WINDING RULES.

I can see the constants properties, but no method about tesselation. Is that planned or not ? (that thing is in GLU, as read from the book : gluNewTess(), gluTessVertex() and gluTessProperty() beyond others.)
Title: Re: what about tesselation ?
Post by: kappa on September 20, 2009, 14:49:10
there's already some tessellation stuff in lwjgl, not sure if its in LWJGL 2.1.0 but its definitely there in the current 2.2 stuff.
Title: Re: what about tesselation ?
Post by: broumbroum on September 20, 2009, 15:09:10
that's great !
thx
Title: Re: what about tesselation ?
Post by: Ciardhubh on September 20, 2009, 16:05:54
JME has a text class that does this if you're looking for an example, i.e. create polygons for characters from a Java Font and then tesselate them. Might be a bit of work to use it outside of JME, though as its parts are usually pretty tightly coupled. It's in com.jmex.font.Text3D/Font3D if I remember correctly.