draw 3d and 2d local coordinates

This commit is contained in:
Christopher Lackner 2019-09-21 22:41:01 +02:00
parent cd78f0e440
commit d080f516cc

View File

@ -1609,9 +1609,8 @@ namespace netgen
if (multithread.drawing) if (multithread.drawing)
{ {
// vssurfacemeshing.Render(); // vssurfacemeshing.DrawScene();
// Render (); Render ();
Render();
if (wait || multithread.testmode) if (wait || multithread.testmode)
{ {
@ -1648,7 +1647,7 @@ namespace netgen
center = Point<3>(0,0,-5); center = Point<3>(0,0,-5);
rad = 0.1; rad = 0.1;
CalcTransformationMatrices(); // CalcTransformationMatrices();
changeval = loclines.Size(); changeval = loclines.Size();
} }
@ -1688,7 +1687,7 @@ namespace netgen
/*
float mat_col[] = { 0.2, 0.2, 0.8, 1 }; float mat_col[] = { 0.2, 0.2, 0.8, 1 };
glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, mat_col); glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, mat_col);
@ -1751,9 +1750,9 @@ namespace netgen
glPopMatrix(); glPopMatrix();
*/
float mat_colp[] = { 1, 0, 0, 1 }; // float mat_colp[] = { 1, 0, 0, 1 };
float mat_col2d1[] = { 1, 0.5, 0.5, 1 }; float mat_col2d1[] = { 1, 0.5, 0.5, 1 };
float mat_col2d[] = { 1, 1, 1, 1 }; float mat_col2d[] = { 1, 1, 1, 1 };