see-thru tile problems

I have this terrain editor that I made and it’s based off triangle tiles right, so when you look at it from one direction and when u look at it from the back all the tiles are see thru, sort of, i took a picture… here is from the back, which is f’d up: http://members.cox.net/evilremy/q1.jpg
and here is from the front which is perfectly fine: http://members.cox.net/evilremy/q2.jpg
if anyone knows why it’s doing this I would greatly appreciate it, thanks.

here are some more pics for you to ponder over, first set looking from back to front, second set looking from front to back with the same map… http://members.cox.net/evilremy/p1.jpg http://members.cox.net/evilremy/p2.jpg http://members.cox.net/evilremy/p3.jpg
http://members.cox.net/evilremy/p4.jpg http://members.cox.net/evilremy/p5.jpg http://members.cox.net/evilremy/p6.jpg

Anyone have a clue?

Did you enable Z testing and update? Did you request a depth buffer when creating your context/pixel format?

This is a cross post.

See the other incarnation , loads of stuff over there