mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-13 06:30:34 +05:00
non-transparent clipping plane
This commit is contained in:
parent
18df3bbaf4
commit
b021185fb8
@ -453,7 +453,7 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
// Martin
|
// Martin
|
||||||
// orig:
|
// orig:
|
||||||
// glCallList (clipplanelist_scal);
|
glCallList (clipplanelist_scal);
|
||||||
|
|
||||||
// transparent experiments
|
// transparent experiments
|
||||||
// see http://wiki.delphigl.com/index.php/Blenden
|
// 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);
|
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
|
||||||
glEnable(GL_BLEND);
|
glEnable(GL_BLEND);
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
@ -495,7 +496,7 @@ namespace netgen
|
|||||||
// glCallList (clipplanelist_scal);
|
// glCallList (clipplanelist_scal);
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
|
*/
|
||||||
// end test
|
// end test
|
||||||
}
|
}
|
||||||
if (clipsolution == 2)
|
if (clipsolution == 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user