GLC_lib
GLC_lib copied to clipboard
triangulatePolygon is very slow
Hi Laurent,
Function within glc_geomtools
//! Triangulate a polygon
/*! If the polygon is convex the returned index is a fan*/
GLC_LIB_EXPORT void triangulatePolygon(QList<GLuint>*, const QList<float>&);
is very slow. On dual core i7 it takes roughly 2 minutes to go through 5000 faces which works out to be over an hour for 160k poly model. Any suggestion how to speed this up?
Many thanks! Jozef
Hi Jozef, I know that the triangulatePolygon method of GLC_lib is very slow. I don't know how to speed it up. I plan to integrate Assimp. perhaps it will be faster.
Regards.
Assimp is indeed much faster. If I have a bit of time left I'll have a look. J