mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
occ-visual
This commit is contained in:
parent
777f9c65f2
commit
b8d71dd7a5
@ -336,7 +336,4 @@ namespace netgen
|
||||
return sqrt(cosalpha + 1.)/(min2(l1,l2)*(1.-cosalpha));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -74,12 +74,6 @@ void VisualSceneGeometry :: DrawScene ()
|
||||
double transp = vispar.transp;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
glMaterialf (GL_FRONT_AND_BACK, GL_SHININESS, shine);
|
||||
glLogicOp (GL_COPY);
|
||||
|
||||
|
@ -80,6 +80,8 @@ namespace netgen
|
||||
glMaterialf (GL_FRONT_AND_BACK, GL_SHININESS, shine);
|
||||
glLogicOp (GL_COPY);
|
||||
|
||||
glEnable (GL_NORMALIZE);
|
||||
|
||||
float mat_col[] = { 0.2f, 0.2f, 0.8f, 1.0f};
|
||||
glMaterialfv (GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, mat_col);
|
||||
|
||||
|
@ -2035,9 +2035,11 @@ namespace netgen
|
||||
vsol->soltype==SOL_VIRTUALFUNCTION)
|
||||
*/
|
||||
|
||||
// if (autoscale)
|
||||
// GetMinMax (vecfunction, 0, minval, maxval);
|
||||
|
||||
/*
|
||||
// was commented out, JS Apr 2009
|
||||
if (autoscale && !scalfunction)
|
||||
GetMinMax (vecfunction, 0, minval, maxval);
|
||||
*/
|
||||
glColor3d (1.0, 1.0, 1.0);
|
||||
// glPolygonMode (GL_FRONT_AND_BACK, GL_FILL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user