I have a scene drawn in openGL (openGl 1.1 win32).
I use glClipPlane to hide foreground objects to allow the user to see/edit distance parts. The selection is done natively without using openGL.
But the glClipPlane applies to all openGL elements - coordinate icons, gridlines etc and even elements drawn in gluOrtho2D on top - scale bars, selection boxes etc.
Is there anyway to selective override the clipplanes to allow these elements to be drawn while clipping the main scene?