Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
d84aa90f
Commit
d84aa90f
authored
20 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
nicer stippling patterns
parent
110ca529
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Graphics/Axes.cpp
+4
-4
4 additions, 4 deletions
Graphics/Axes.cpp
Graphics/Geom.cpp
+7
-7
7 additions, 7 deletions
Graphics/Geom.cpp
doc/VERSIONS
+3
-2
3 additions, 2 deletions
doc/VERSIONS
doc/gmsh.html
+2
-3
2 additions, 3 deletions
doc/gmsh.html
with
16 additions
and
16 deletions
Graphics/Axes.cpp
+
4
−
4
View file @
d84aa90f
// $Id: Axes.cpp,v 1.2
2
2004-1
1-01 15:10:36
geuzaine Exp $
// $Id: Axes.cpp,v 1.2
3
2004-1
2-21 03:13:02
geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -97,7 +97,8 @@ void Draw_Axes(double s)
glEnd
();
glEnable
(
GL_LINE_STIPPLE
);
glLineStipple
(
2
,
0x0F0F
);
glLineStipple
(
1
,
0x087F
);
gl2psEnable
(
GL2PS_LINE_STIPPLE
);
glBegin
(
GL_LINES
);
if
(
CTX
.
range
[
2
]
!=
0.
)
{
glVertex3d
(
f
,
0.
,
0.
);
...
...
@@ -115,7 +116,7 @@ void Draw_Axes(double s)
glVertex3d
(
f
,
0.
,
0.
);
glEnd
();
glDisable
(
GL_LINE_STIPPLE
);
gl2psDisable
(
GL2PS_LINE_STIPPLE
);
}
void
Draw_SmallAxes
(
void
)
...
...
@@ -160,5 +161,4 @@ void Draw_SmallAxes(void)
Draw_String
(
"Y"
);
glRasterPos2d
(
cx
+
zx
+
o
,
cy
+
zy
+
o
);
Draw_String
(
"Z"
);
}
This diff is collapsed.
Click to expand it.
Graphics/Geom.cpp
+
7
−
7
View file @
d84aa90f
// $Id: Geom.cpp,v 1.7
4
2004-12-
07 04:52:26
geuzaine Exp $
// $Id: Geom.cpp,v 1.7
5
2004-12-
21 03:13:02
geuzaine Exp $
//
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
//
...
...
@@ -478,7 +478,7 @@ void Draw_Plane_Surface(Surface * s)
if
(
CTX
.
geom
.
surfaces
)
{
glEnable
(
GL_LINE_STIPPLE
);
glLineStipple
(
1
,
0x
0F0
F
);
glLineStipple
(
1
,
0x
1F1
F
);
gl2psEnable
(
GL2PS_LINE_STIPPLE
);
glBegin
(
GL_LINES
);
for
(
i
=
0
;
i
<
List_Nbr
(
s
->
Orientations
);
i
++
)
{
...
...
@@ -543,7 +543,7 @@ void Draw_NonPlane_Surface(Surface * s)
}
else
{
glEnable
(
GL_LINE_STIPPLE
);
glLineStipple
(
1
,
0x
0F0
F
);
glLineStipple
(
1
,
0x
1F1
F
);
gl2psEnable
(
GL2PS_LINE_STIPPLE
);
int
N
=
50
;
glBegin
(
GL_LINE_STRIP
);
...
...
@@ -613,14 +613,14 @@ void Draw_Surface(void *a, void *b)
}
if
(
s
->
ipar
[
4
])
{
glLineWidth
(
CTX
.
geom
.
line_sel_width
);
gl2psLineWidth
(
CTX
.
geom
.
line_sel_width
*
glLineWidth
(
CTX
.
geom
.
line_sel_width
/
2.
);
gl2psLineWidth
(
CTX
.
geom
.
line_sel_width
/
2.
*
CTX
.
print
.
eps_line_width_factor
);
glColor4ubv
((
GLubyte
*
)
&
CTX
.
color
.
geom
.
surface_sel
);
}
else
{
glLineWidth
(
CTX
.
geom
.
line_width
);
gl2psLineWidth
(
CTX
.
geom
.
line_width
*
CTX
.
print
.
eps_line_width_factor
);
glLineWidth
(
CTX
.
geom
.
line_width
/
2.
);
gl2psLineWidth
(
CTX
.
geom
.
line_width
/
2.
*
CTX
.
print
.
eps_line_width_factor
);
glColor4ubv
((
GLubyte
*
)
&
CTX
.
color
.
geom
.
surface
);
}
...
...
This diff is collapsed.
Click to expand it.
doc/VERSIONS
+
3
−
2
View file @
d84aa90f
$Id: VERSIONS,v 1.27
5
2004-12-
13 15:58:39
geuzaine Exp $
$Id: VERSIONS,v 1.27
6
2004-12-
21 03:13:02
geuzaine Exp $
New in 1.57: generalized displacement maps to display arbitrary view
types; the arrows representing a vector field can now also be colored
...
...
@@ -14,7 +14,8 @@ triangular/tetrahadral meshes; the solver interface now supports
TCP/IP connections; new generalized raise mode (allows to use complex
expressions to offset post-processing maps); upgraded netgen kernel to
version 4.4; new optional TIME list in parsed views to specify the
values of the time steps; various small bug fixes and enhancements;
values of the time steps; several bug fixes in the Elliptic mesh
algorithm; various other small bug fixes and enhancements;
New in 1.56: new post-processing option to draw a scalar view raised
by a displacement view without using Plugin(DisplacementRaise) (makes
...
...
This diff is collapsed.
Click to expand it.
doc/gmsh.html
+
2
−
3
View file @
d84aa90f
...
...
@@ -174,9 +174,8 @@ thumbnail"></a>
<li>
Mesh cut:
<a
href=
"/gmsh/gallery/cut2.png"
>
pict1
</a>
.
<li>
Streamlines:
<a
href=
"/gmsh/gallery/streamline.jpg"
>
pict1
</a>
,
<a
href=
"/gmsh/gallery/f16_stream.jpg"
>
pict2
</a>
,
<a
href=
"/gmsh/gallery/f18_stream.jpg"
>
pict3
</a>
<a
href=
"/gmsh/gallery/f16_stream.jpg"
>
pict1
</a>
,
<a
href=
"/gmsh/gallery/f18_stream.jpg"
>
pict2
</a>
(P. Geuzaine).
<li>
Lenna as background mesh:
<a
href=
"/gmsh/gallery/lenna.gif"
>
pict1
</a>
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment