Terrible redisplay

Started by
2 comments, last by irdalama 17 years, 5 months ago
Anytime anything is changed on the scene i get these terrible artifacts. Well not completely terrible, not extreme distortion or anything, but especially on the plane polygon i get these big lines that occur anytime anything changes. The big lines just seem to be from redrawing the scene anytime something is changed, but i cant really tell. Anyone have any possible idea why this may be happening?
Advertisement
Provide all relevant code, and a screenshot. We can't help you with the small amount of information you've provided. Just wondering, do you clear your buffers inbetween rendering frames?
yes i do, the code is quitel ong so i dont know what ican show you. i can try to pic of ithere is the display fucntion


void display(void)
{
initTextures();
renderCamera();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
doLayout();
glFlush();
glutSwapBuffers();
}

don;t if thats enough info but i might not be clearing something im supposed to be or not clearing something i should be
After all input im using glutredisplay, the artifacts arent that bad, but it looks like i have too much on the screen to redraw, its not some crazy artifacto r anything.

I'll be happy to provide the code via zip file if youd like.

This topic is closed to new replies.

Advertisement