I am writing an OpenGL screensaver and I’m trying to add a “trails”/“motion blur” effect to it. The easiest way for more to do this was to simply not clear the color buffer.
My problem is that on some hardware accelerated machines if I do this in Double Buffered mode every other frame will have half of the previous renderings and then switch to the half that was missing. I can switch to single buffering mode and this will eliminate that problem, but now I can see each frame being drawn (at least on most machines). I have been trying to come up with an implemenation that will work with the desired effect on all machines.
I can use the Accum buffer to get the effect and actually make it look much better… however this kills the frame rate, even when run on a Voodoo 5.
Any ideas on how to get the effect without killing my framerate?