Sign in to follow this  

Terrible redisplay

This topic is 4104 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this