need help in stopping the flickering in animation

Hi all,
I have an rathe huge object in the negative z axis and i wanted to animate it by rotating it in the x and y axis.

I have translate it to the point of origin(0,0) and rotate it and translate it back to the original position again.

problem is that i have flicker when i do this.

I have tried using a smaller object(eg. a cube) and the flicker dont appear.

can anyone advise me on this?

Doublebuffering enabled ?

vsync disabled? If so, enable it, could be your problem.

yah i have enabled the double buffer. vsyn? what is that? how do i set it?

Description:
The object is constructed using glVertex. Another object that uses the same coordinates is drew next to and behind it. I just translate the latter object to the position next to and behind it.

when i tried to animate this object, it started to flicker … i have tried to draw 2 simple cubes next to each other and thet did not flicker.

please help…

Originally posted by nene:
when i tried to animate this object, it started to flicker … i have tried to draw 2 simple cubes next to each other and thet did not flicker.

Flickering as seen when experiencing z-fighting? Does it flicker when just drawing a single object? Example image . If not, make sure you don’t draw objects too close in depth. Don’t abuse your zbuffer, push the near plane forward. If that doesn’t work try glPolygonOffset .

[This message has been edited by roffe (edited 09-17-2003).]