Login  Register

Re: Superposing Image in a JOGL animation

Posted by gouessej on Oct 20, 2016; 11:18am
URL: https://forum.jogamp.org/Superposing-Image-in-a-JOGL-animation-tp4037332p4037338.html

The auto swap buffer mode is enabled by default (buffer swap != clear color). You could use an offscreen buffer to save the result of a drawing (the previous image(s)) and draw over it at each frame.

Why would the drawing of each image cost a lot of computations?
Julien Gouesse | Personal blog | Website