I’m using lwjgl and I have an object that I’m moving by using glTranslatef. It has worked exactly how it is supposed to so far but suddenly it started to draw the object twice. I don’t understant what could cause this. I’m 100% sure that I am not having other objects that could cause this. I’m not giving any code here because I think this happens because of some weird opengl setup thing or something that I’m not even aware of. Please give me some suggestions? :persecutioncomplex:
How do you know it started drawing it twice? If GL was drawing it twice you wouldn’t even notice, because it would be pixel perfect on top.
I mean… When i trigger the method that the object is moving… The “duplicate” comes after the other object with a small delay.
Are you doing
glClearColor(0, 0, 0, 0);
glClear(GL_COLOR_BUFFER_BIT);
every frame? Make sure you are.
Oh… This actually helped a lot. It fixed it totally ;D How can a newbie like me be so stupid :yawn:
Just call it a feature… Motion Blur ;D