GLC_lib icon indicating copy to clipboard operation
GLC_lib copied to clipboard

triangulatePolygon is very slow

Open jozefdobos opened this issue 8 years ago • 2 comments

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

jozefdobos avatar Nov 01 '16 17:11 jozefdobos

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.

laumaya avatar Nov 02 '16 09:11 laumaya

Assimp is indeed much faster. If I have a bit of time left I'll have a look. J

jozefdobos avatar Nov 04 '16 20:11 jozefdobos