BIC-MNI / Display

MNI Display project, converted from CVS
Other
8 stars 4 forks source link

Display "flickers" while drawing a intensity line #68

Open gdevenyi opened 7 years ago

gdevenyi commented 7 years ago

While drawing a line (even if the the mouse doesn't move), the volume window flickers.

Probably something in the OpenGL stack.

rdvincent commented 7 years ago

@gdevenyi I don't see that on my systems. Can you give me any details of the machine and OS?

gdevenyi commented 7 years ago

Ubuntu 14.04.3, nvidia-367 driver.

rdvincent commented 7 years ago

thanks, I don't have access to many nvidia system. I'll see if I can find something.

gdevenyi commented 7 years ago

It may be related to vsync, as on a system with a different monitor (refresh rate) it's harder to trigger (less flickering), but still does.

This is with the latest rdv opengl stuff.

rdvincent commented 7 years ago

Can you try running with Slice_double_buffer_flag set to TRUE? I'm not sure it even does anything these days, however.

gdevenyi commented 7 years ago

That seems to smooth things out.

rdvincent commented 7 years ago

OK, glad I didn't completely disable that feature. Double buffering seems to be on its way out as a feature of OpenGL, but I guess not in all cases.