How to stop flickering?

Gala'Vi and Liss @ Mainframe Country pushkare at students.uiuc.edu
Mon Apr 24 00:52:09 EDT 2000


Are you sure you are using double buffering with VTK? If you don't double
buffer, it will flicker. Debug versions may be smaller than release
versions and eat up less memory, thus making single buffering work as well
as double. When there is less RAM available, the difference would become
more obvious.

-- Gala
NCSA, UIUC

//***********************************************
  -- There is always a way, 
        you just have to find it.
              (B.Hambly "Children Of The Jedi")
//***********************************************

On Mon, 24 Apr 2000, Steve W Choi wrote:

> 
> 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.
> --------------------------------------------------------------------
> 

--------------------------------------------------------------------
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