From: Thorsten R. <ni...@gm...> - 2001-02-09 00:52:47
|
Hi again, just a simple question: Does somebody know how to render two quads with the same coords values _without_ gfx issues? Dependant on camera position both quads will intersect each other in "small triangles" (some fragments are drawn from the first quad, other parts from the second). I have to enable GL_DEPTH_TEST by other reasons. I've found something about a glPolygonOffset() but I don't understand the docu. After (trial and error) playing with the arguments it works when the quads lies parallel to the x- and y-axis. But when rotating ... Also glDepthFunc(GL_LEQUAL) doesn't solve the problem. Any ideas ? Is it too easy ? Please give me a hint ... ciao, Thorsten |