   Screwed up rendering
  Anyone got this kind of screwed-up render? It's supposed to be 3 shaded triangles ( 1 on top of two other ). Each triangle is composed of three colors ( Red, Green and Blue ). The background color should be black, not red ( well, the first time it is rendered, the background is black, but in all subsequent renderings, the background becomes red ).I have the latest drivers for my video cards ( GeForceFx 5600 & GeForce 4 Go ) so I can guess the problem does not lie there.If someone can give me a hint or point somewhere the problem could be, that would be greatly appreciated.   
  It kind of looks like you're getting z-fighting with a gigantic red quad.  Check for stray vertices maybe?  Also, make sure that you are clearing everything correctly (color and possibly depth buffer).If I had to guess, I'd say that you are attempting to clear the screen using a big quad and are forgetting to reset the color to black in your render loop.  You should really use glClear here or at least move the quad back away from the triangles.  The problem is that the big quad is being drawn in virtually the same spot (as far as the depth buffer is concerned) as the triangles and is some spots the quad wins while in other spots the triangles win.   ;  Are you using SDL as a framework?If so, then make sure you are using glClear to clear.  NOT SDL_FillRect(screen, NULL, 0);.  I've tried that out of curiousity and it messed up, it looked SIMILIAR to that, so I can't guarentee anything.C++   ;  First of all, I'm not using the SDL framework. I'm coding with the OpenGL API directly in my renderer framework.Second, I clear the buffers using the glClear command. The only polygons I draw on the screen are those 3 triangles using a display list ( I call the display list 3 times at different positions ).I'm wondering if I scrapped something with my code. I guess there is a certain order to follow when you call the API methods when rendering. When I run the demos on NeHe, the rendering is OK.   ;  Post the rendering code, sounds like the problem is in there.   ;  just out of curiosity how many bits its your depth buffer and also do u have fog enabled?   ;  I use a 16-bit depth buffer. When I looked in my code what was the depth, I remarked I did not enabled it because right now, I do not need it. Could this be the problem? I guess I'm gonnas find out by testing it.   ;  And the fog is disabled... ( forgot to mention it in my last post ^_^ )   ;  What are you using to setup the perpective view matrix.  Make sure that the near isn't 0 because it could cause problems like this.   