I only started programming OpenGl and im already stuck. So I was wondering if maybe one of you guys could help me?
Im drawing a pyramide and rotating it. And either its not displayed ( when i enable GL_DEPTH_TEST) or its displayed but the deepth isnt correct( when i enable the testing). I tried using glDepthFunc and glDepthRange in different but it dosent fix the problem. What am i doing wrong?
THX in advance,
dave