You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried a lot of libraries to replace the glu tessselator and this is the first one to give me
consistant (and correct) results.
As a thank you, I want to offer you my first impressions on the api as an user :
Globally the library is easy to use and more expressive than glu (no need to define edgeCallback
to get only triangles, no need to use gluTessNormal to inform that only x and y are used...).
For tessTesselate I've found 'polySize' and 'vertexSize' not to be enought expressive names :
it was not immediatly clear that this was only for defining the output format.
For tessAddContour, it's specified that only tessReal is accepted but :
reading the function signature it's not that clear that this means 'only float'
it will be nice to have a parameter to specify the type, like it's done in the opengl api,
so libtess2 could do the conversion internally if necessary
After tessTesselate, the result is accessible throught getter like tessGetVertices. I've not
found (in tesselator.h) how much time the returned arrays are valid. I assume this is till the
next call to tessTesselate, but maybe it's till the next call to tessAddContour, or else ?
If the library segfault, it's not obvious what went wrong even with NDEBUG not defined,
not a big issue as the interface is still simple it's relatively easy to check everything.
Again, theses are just my personnal impressions so feel free to ignore them if you find them
not relevant.
The text was updated successfully, but these errors were encountered:
I've tried a lot of libraries to replace the glu tessselator and this is the first one to give me
consistant (and correct) results.
As a thank you, I want to offer you my first impressions on the api as an user :
Globally the library is easy to use and more expressive than glu (no need to define edgeCallback
to get only triangles, no need to use gluTessNormal to inform that only x and y are used...).
For tessTesselate I've found 'polySize' and 'vertexSize' not to be enought expressive names :
it was not immediatly clear that this was only for defining the output format.
For tessAddContour, it's specified that only tessReal is accepted but :
so libtess2 could do the conversion internally if necessary
After tessTesselate, the result is accessible throught getter like tessGetVertices. I've not
found (in tesselator.h) how much time the returned arrays are valid. I assume this is till the
next call to tessTesselate, but maybe it's till the next call to tessAddContour, or else ?
If the library segfault, it's not obvious what went wrong even with NDEBUG not defined,
not a big issue as the interface is still simple it's relatively easy to check everything.
Again, theses are just my personnal impressions so feel free to ignore them if you find them
not relevant.
The text was updated successfully, but these errors were encountered: