1.)I have a really simple program displaing 2 triangles but it won’t display them if the z-coordinates are higher than 0 even when I set depth buffer
Where is the problem ?
2.)How can I set the screen coordinates ? I don’t want to use floating point numbers frequently(-1,1,-1,1,-1,1).glOrtho doesn’t seem to work