rgoulter / cs5237-VoronoiArt

Voronoi Art program written with OpenGL, Qt and OpenCV.
MIT License
3 stars 1 forks source link

Don't perform heavy computations on GUI Thread #15

Closed rgoulter closed 6 years ago

rgoulter commented 6 years ago

Since we're using Qt5 anyway, might as well use its threading capabilities. https://doc.qt.io/qt-5.10/thread-basics.html

rgoulter commented 6 years ago

Examples of appropriate solutions:

If we want to show progress:

If we don't care about the progress:

rgoulter commented 6 years ago

TBH I feel showing 'progress' would be quite useful. e.g. our Delaunay algorithm is very slow. I kinda wanna see how slow.

Also, if we show 'progress'; it may be possible to "show" the current state of the algorithm? (Or, maybe that could be a separate issue after this).