This topic is now archived and is closed to further replies.

Problem in Displaying Graphics

This topic is 5747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am new in OpenGL. I tried drawing a Square and a triangle, with the triangle in front of the square with a distance of 0.01f in the z axis. The problem is that when i rotated the view to the back, the triangle is still in front of the square, which shouldn''t be the case. The grahics generated seems to integrate each other producing some weird lines on the triangle too. Can anyone tell me what is wrong? I just want the triangle to appear sticking on to the square...

Share this post

Link to post
Share on other sites