•OpenGL
mechanism for supersampling or jitter
•Accumulation
buffer parallel to frame buffer
•Superimpose
images from frame buffer
•Copy
back into frame buffer for display
glClear(GL_ACCUM_BUFFER_BIT);
for (i = 0; i < num_images; i++)
{
glClear(GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT);
display_image(i);
glAccum(GL_ACCUM, 1.0/(float)num_images);
}
glAccum(GL_RETURN, 1.0);