Updating mesh after moving points is slow
Brought to you by:
mennucc,
mijagourlay
If you update one point, the corresponding mesh will be
recalculated several times. Each result is drawn on the
screen, which causes a noticable delay and may stall
the mouse movement. Sometimes a noticable mesh
deformation kicks in several seconds after moving one
point.
Logged In: YES
user_id=79281
Use a faster PC :-)
Jokes apart, the mesh smoothing is a slow affair; for this
reason, it runs as a "idle process" in GTK: on my PC (that
runs Linux and is rated 1600Mhz) the mouse never stalls;
(but I noticed that it seems to stall in Windows sometimes).
The reason why the changes seem to "kick in" is that I DO
NOT write every change to the screen! I indeed chose to
refresh seldom... if I refresh often, it becomes even slower.
If your meshes are not too distorted, you may use a faster
smoother: in the menus in the main window, set
"settins/image for mesh smoothing" to "elastic".
BTW both the smoother and the refresh policy may be
optimized a lot ...