Terrible redisplay
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?
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement