mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +05:00
draw 3d and 2d local coordinates
This commit is contained in:
parent
cd78f0e440
commit
d080f516cc
@ -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 };
|
||||||
|
Loading…
Reference in New Issue
Block a user