Hey. I'm new to OpenGL, though I'm a decently experienced programmer. I'm coding what's basically a particle physics simulator. I'm building wiredrawing 3D shapes to represent the detector. I've drawn two concentric cylinders and some boxes. The problem is that, when the graphics window comes up, some of the edges aren't displayed, and there are some "extra" solid-filled shapes on the edges. I've posted images, since I'm not sure exactly how to describe this problem. I have searched all over, but haven't been able to find a solutions to this problem, or even anyone with the same problem. The problem can get better or worse when I rotate the 3D shapes (that's visible in the images I've posted.) I've also attached code.
Like I said, I'm a beginning OpenGL user, though a decently advanced programmer. I've borrowed a lot of this code, so I'm not sure where to start in looking for a solution to the problem. Any help would be appreciated. For your information, I'm developing on Fedora 15 Linux running on a VirtualBox VM (Windows 7 host). I actually didn't have all the same problems (I had some) when I was running it on a previous version of Fedora.
Okay, I've tried to attach the pictures, but it keeps telling me that the file size is bigger than 400-something KB, even though it's a 53 KB GIF file. Here's a link to somewhere I have the images.
http://www.scribd.com/doc/57071144/Polygon-Problems
I'll put my code in a reply to this post.



