Graphics    

Double Buffering

Overview

Set DoubleBuffer to on when animating lines rendered in painters with EraseMode set to normal.

More Details

Double buffering is the process of drawing into an off-screen pixel buffer and then blitting the buffer contents to the screen once the drawing is complete (instead of drawing directly to the screen where the process of drawing is visible as it progresses). Double buffering generally produces flash-free rendering for simple animations (such as those involving lines, as opposed to objects containing large numbers of polygons).

The figure DoubleBuffer property accepts the values on and off, with off being the default. You can select double buffering only when the figure Renderer property is set to painters. Zbuffer always uses double buffering and ignores this property. OpenGL does not use double buffering.

Use double buffering with the animated object's EraseMode property set to normal.


  Backing Store Selecting a Renderer