Sign in to follow this  
irdalama

Terrible redisplay

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this