Thats It!! I had a near plane value of 0.000001f and I changed it to 0.1f
which fixed all my problems
> Is GL_DEPTH_TEST enabled when you draw the axes? Are the axes drawn with
> same projection matrix as the rest of your scene? If you are using
> gluPerspective, do you have a positive (non-zero) near plane value? There
> are also about a million other things in OpenGL that could be causing
> Those are my best three guesses.
> -Paul Martz
> Hewlett Packard Workstation Systems Lab
> Remove DONTSPAM to reply
> > I'm rendering a scene and I'm drawing the X,Y,and Z axis. The problem is
> > that the some parts of the axis's can be seen through objects that I'm
> > rendering. These objects are polygon meshes drawn using alot of
> > DEPTH_TEST is enabled so I don't know what the problem. Plus, I'm using
> > gl*3fv function forms so all alpha's should be 1.
> > Any suggestions?
> > Thanks
> > Graham