> Is it possible to perform a GL Scissor function over a certain range of Z? > For instance, to create the effect of anything having a Z of greater than 1 > being scissored, but anything under not being affected (or vice versa)?
from http://www.khronos.org/opengles/documentation/opengles1_0/html/glScissor.html: > void glScissor(GLint x, GLint y, GLsizei width, GLsizei height) > Parameters > > x, y > Specify the lower left corner of the scissor box, in pixels. The > initial value is (0, 0). > > width, height > Specify the width and height of the scissor box. When a GL context is > first attached to a surface (e.g. window), width and height are set to the > dimensions of that surface. so no. glScissor is strictly in screen space (X/Y only). To clip near/far, you'd use glFrustum with appropriate near/far clip planes, glClipPlane, or a fragment shader that discards fragments outside the desired depth. (in decreasing order of efficiency). -- Christopher Wright [email protected]
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

