How to stop flickering?

Steve W Choi wchoi at allsim.co.kr
Mon Apr 24 00:07:38 EDT 2000


I have an Vtk window on a VC++ Dialog.
It display a cone and seem to work fine
when it is compiled in Debug mode.

However, if it is being compiled in Release mode,
it flickers whenever the cone is rotated by mouse
movement.

Is there any way to prevent flickering?

I am suspecting that Vtk is redrawing background
when it needs to be redrawn.  Under pure VC++,
I just have to block WM_ERASEBKGND message to
prevent flickering. (like a way you have to do for
OpenGL under VC++)

Is there any equivalent method to achieve that?

TIA

Steve W Choi
wchoi at allsim.co.kr

What I am using now is:
vtk 3.12  &  MFC with VC++ 6.0.



--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list