PDA

View Full Version : Fuzz?



runggu
01-13-2002, 09:53 AM
Well im making top view rally game and in track drawing function i use function like this:

glBegin (GL_QUADS);
for(x=0;x<32;x++)
{
for(z=0;z<32;z++)
{
u=trakmap[z*32+x].u;
v=trakmap[z*32+x].v;
glTexCoord2f(u,v+0.125);
glVertex3f (x,0,(z+1));
glTexCoord2f(u+0.125,v+0.125);
glVertex3f ((x+1),0,(z+1));
glTexCoord2f(u+0.125,v);
glVertex3f ((x+1),0,z);
glTexCoord2f(u,v);
glVertex3f (x,0,z);
}
}

But when it draws there are some fuzz between those quads.

dorbie
01-14-2002, 01:35 AM
Hmm, I thought you meant z fighting but glancing at the code it doesn't look like they overlap. Perhaps you are seeing aliasing artifacts. Look for aliasing, anti-aliasing information online to see what I mean.

Try running at a higher resolution to improve things.