View Full Version : see-thru tile problems

05-27-2002, 04:33 PM
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?

05-27-2002, 05:28 PM
Did you enable Z testing and update? Did you request a depth buffer when creating your context/pixel format?

05-27-2002, 05:31 PM
This is a cross post.

See the other incarnation (http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/008707.html) , loads of stuff over there http://www.opengl.org/discussion_boards/ubb/smile.gif