Hi,
Another question i have is that i have designed a map with a rectangle for the ground and rectangles as the walls. I have noticed that unless you look the wall stright on then where the floor and wall meet looks all jaggered, is there any way to get rid of this.
Jaggies are there simply because a diagonal line is a very hard thing to draw with a set of horizontaly and verticaly aligned dots (pixels on your monitor). There is only one real solution to this problem: Antialiasing, what this does is fills in half tones of the various colours along the edge of the lines so that they appear smoother and seem to blend into the next colour slightly. There are two ways of doing this:
Use OpenGLs antialiasing - this isn’t very good, and you probably won’t be happy with the results, however it does work on almost all computers.
If you have a modern graphics card, you can turn full screen antialiasing on, this is usualy very good quality, but only modern graphics cards have the power to do it.
Try just increasing the size/resolution of the window you’re rendering to. If it isn’t aliasing but depthbuffer precision (Does it flicker when you change view/rotate, if it does it’s probably the depth buffer) you should bring the near and far planes closer together. Push the near plane out (put a larger zNear in gluLookat) and bring the far plane in.
Uhhh, that’s a bit different than the anti-aliasing he wants. You can enable FSAA through the control panel for your video card, if it supports it. I think the ARB_multisample extension is what you are supposed to use with OpenGL, but I believe it is currently only supported by the GeForce3, and maybe the Voodoo5.