non-transparent clipping plane

This commit is contained in:
Joachim Schoeberl 2013-06-06 14:47:05 +00:00
parent 18df3bbaf4
commit b021185fb8

View File

@ -453,7 +453,7 @@ namespace netgen
{
// Martin
// orig:
// glCallList (clipplanelist_scal);
glCallList (clipplanelist_scal);
// transparent experiments
// see http://wiki.delphigl.com/index.php/Blenden
@ -475,7 +475,8 @@ namespace netgen
*/
/*
// latest transparent version ...
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_DEPTH_TEST);
@ -495,7 +496,7 @@ namespace netgen
// glCallList (clipplanelist_scal);
glEnable(GL_DEPTH_TEST);
glDisable(GL_BLEND);
*/
// end test
}
if (clipsolution == 2)