Visualization Module (-V) — Neper 4.8.0 documentation
Visualization Module (-V) — Neper 4.8.0 documentation
Virtually any detail of the visualization can be set. For example, all entities (tessellation
polyhedra, faces, edges, vertices, seeds and crystals, 3D, 2D, 1D and 0D mesh elements and
nodes, and points) can be assigned a particular color, size, transparency, etc. (options -data* ),
the visibility of the different entities can be adjusted (options -show* ), or slice views can be
generated (option -slicemesh ). This different capabilities make it possible to carry out
standard or advanced visualizations but also post-processing.
Note
The specification of colors, etc. via options -data* and visibility via options -show* is
common to all spaces.
Standard, real space visualizations (default -space real ) are achieved using the POV-Ray ray
tracing renderer to produce high-quality (raster) PNG images. The parameters of the “scene”
are assigned default values, but can also be fine-tuned, such as the light positions, camera
position and angle, projection type, etc. (options -camera* and -light* ).
Pole figure and inverse pole figure visualizations (option -space pf ) are achieved using the
Asymptote vector graphics rendered to produce high-quality (raster) PNG images (by default)
or high-quality (vectorial) PDF images. Data can be represented as symbols or a density field,
and can be superimposed. Orientation trajectories can be plotted (option -step ).
In contrast to other modules, module -V can generate several outputs on the same run (using
option -print several times); command arguments are therefore read in batches, stopping at
each print to generate an output.
======================== N e p e r =======================
Info : A software package for polycrystal generation and meshing.
Info : Version 4.0.0
Info : Built with: gsl|muparser|opengjk|openmp|nlopt|libscotch (full)
Info : Running on 8 threads.
Info : <https://neper.info>
Info : Copyright (C) 2003-2021, and GNU GPL'd, by Romain Quey.
Info : No initialization file found (`/home/rquey/.neperrc').
Info : ---------------------------------------------------------------
Info : MODULE -V loaded with arguments:
Info : [ini file] (none)
Info : [com line] n10-id1.tess,n10-id1.msh -dataelsetcol id -print img
Info : ---------------------------------------------------------------
Info : Loading tessellation...
Info : [i] Parsing file `n10-id1.tess'...
Info : [i] Parsed file `n10-id1.tess'.
Info : Loading mesh...
Info : [i] Parsing file `n10-id1.msh'...
Info : [i] Parsed file `n10-id1.msh'.
Info : Reconstructing mesh...
Info : Reading data (elset3d, col)...
Info : Printing image...
Info : [o] Writing file `img.pov'...
Info : - Printing mesh...
Info : > Reducing data...
Info : . 3D...
Info : . 2D...
Info : . Number of 3D elt faces reduced by 90% (to 418).
Info : . Number of 3D elt edges reduced by 50% (to 627).
Info : . Number of 0D elts reduced by 100% (to 0).
Info : [o] Wrote file `img.pov'.
Info : - Generating png file (1200x900 pixels)...
Info : [o] Writing file `img.png'...
Info : [o] Wrote file `img.png'.
Info : Printing scale...
Info : Elapsed time: 1.546 secs.
========================================================================
Arguments
Prerequisites
-povray <binary>
Specify the POV-Ray command or the path to the POV-Ray binary (for generating
standard PNG images).
-asymptote <binary>
Specify the Asymptote command or the path to the Asymptote binary (for generating pole
figures).
Default value: asy .
Input Data
<file_name1>,<file_name2>,...
For ori , the descriptor can be specified (see Rotations and Orientations, default
rodrigues ).
Note
Default value: -.
-crysym <crysym>
Note
Default value: value read in the inputs when defined, and cubic otherwise.
When a simulation directory is loaded as input, it is possible to specify the simulation step to
consider.
-step <step>
0 : initial state;
any step number;
all : all steps;
a list of steps combined with , ; a range of values can also be specified using - . An
example is 0-10,20 (for steps 0 to 10, and 20).
Note
Several steps can be specified in the case of -space [i]pf , to plot orientation
trajectories.
Default value: 0 .
The data internal to the simulation directory have the same status as internal data (such as,
for instance, the nominal element orientations stored in the mesh file) and can therefore be
loaded (with options -data* ) more simply than with standard external files. For example,
coloring elements from orientations can be done using -step 2 -dataeltcol ori .
Space Options
The following option enables the definition of the space in which data (simulation,
tessellation, mesh, point, etc.) are represented. The space is most generally real (physical)
space, real , but can be defined as pole figure space, pf , or tree space, tree . Tree space
shows a tree-like structure of a simulation directory.
-space <space>
Specify the space in which data are represented, which can be:
The following option enables the definition of the cell data itself (pole figure space only):
-datacell <type>:<value>
Specify the cell data type and value, which can be:
ori : orientations;
vector:<res> : a vectorial result from the Simulation Directory (.sim).
-datacellweight <weight>
Specify the cell weights, which can be:
a real value;
an expression based on the variables described in Tessellation Keys, such as x or
vol , or in a Simulation Directory (.sim), which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
Note
The following options enable the definition of the properties (color and size) of the
tessellation cells or entities (polyhedra, faces, edges and vertices), seeds and crystals. Crystals
are plotted at the centers of their respective cells, shaped according to the Crystal Symmetry
and have the same volumes as their respective cells. This can be done either directly, by
providing one or several values (e.g. the RGB channel values for color) or indirectly, e.g. using
scalar values that are converted in color using a given color scheme. In this case (and for real-
type data), a scale image is also generated, and its properties (minimum, maximum and tick
values) can be specified.
For each entity, all attributes can be set, although the may not apply in certain spaces (see
option -space ). Specifically, -data{cell,poly,face}rad do not apply in real space.
-data{cell,poly,face,edge,ver,seed,crystal,vox,voidvox,{crystal,cell,vox}edge}col
<color>
Specify the colors, which can be done in two main different ways.
Maps).
Colors can be set from data using an argument of the general form <data_type>:
<data_value> , which can be shortened to <data_value> in the frequent case where the data
type can be unambiguously determined from the data value. The possibilities are:
int:<data_value> : integer values represented using a color palette, which can be:
an integer value;
an expression based on the variables defined in Tessellation Keys, such as id or
mode , or in a Simulation Directory (.sim), which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
real:<data_value> : real values represented using a smooth color scale, which can be:
a real value;
an expression based on the variables described in Tessellation Keys, such as x or
vol , or in a Simulation Directory (.sim), which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
ori:<data_value> : crystal orientations (when applicable), which can be:
orientation : an orientation (see Rotations and Orientations);
internal : internal orientations;
file(<file_name>,[des=<descriptor>]) : individual values to load from a Data File (see
Rotations and Orientations).
disori:<data_value> (only for vox ): crystal disorientations (the rotation with respect to
the nominal cell orientation, when applicable), which can be:
<disorientation> : a disorientation (see Rotations and Orientations);
Note
Default value: id for cells and crystals, white for faces, black for edges and vertices,
gray for seeds, voxels and void voxels, black for voxel edges.
-data{cell,poly,face,edge,ver,seed,crystal,vox}colscheme <col_scheme>
Specify the color scheme used to get colors from the data loaded with option -
For integer values, the color scheme is palette , as described in Color Map for Integer
Values;
For real values, the available color schemes are described in Color Maps for Real
Values;
For crystal orientations (cubic symmetry is assumed), the color scheme can be:
ipf[(<dir>)] : IPF coloring using direction <dir> , which can be x , y or z
(default z );
rodrigues[(<max>)] : Rodrigues vector coloring, where <max> is the half-length along
a direction (default is the fundamental region);
axis : rotation axis coloring;
angle[(<max>)] : rotation angle coloring, where <max> is the maximum angle (in
radian (default is the fundamental region);
axis-angle[(<max>[,absolute])] for rotation axis / angle coloring, where <max> is the
maximum angle (in radian) and absolute makes it so that the absolute values of the
axis components are used.
Default value: palette for integer values, viridis for real values, and rodrigues for
crystal orientations.
-data{cell,poly,face,edge,ver,seed,crystal}trs <transparency>
a real value;
an expression based on the variables described in Tessellation Keys, such as x or
vol , or in a Simulation Directory (.sim), which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
-data{cell,poly,face,edge,ver,seed,crystal,{crystal,cell,vox}edge}rad <rad>
a real value;
an expression based on the variables described in Tessellation Keys, such as x or
vol , or in a Simulation Directory (.sim), which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
Note
-data{cell,poly,face,edge,ver,seed,crystal,vox}scale <scale>
Specify the scale relative to the -data...col real data, which can be:
When only minimal and maximal values are specified, the scale ticks are set automatically.
When intermediate values are specified, the scale ticks are the specified values.
The scale ticks have the same format as the minimal value.
-data{cell,poly,face,edge,ver,seed,crystal,vox}scaletitle <title>
Specify the title of the scale relative to the -data...col real data.
Default value: -.
-datacellsymbol <symbol>
Specify the symbol representing the cells (only for -space pf ), which can be:
a symbol to apply to all cells (see below);
file(<file_name>) : individual values to load from a Data File.
A symbol can be (all arguments are optional, and the radius is taken from option -
data<entity>rad if defined):
-dataelsetweight <weight>
a real value;
an expression based on the variables described in Tessellation Keys, such as x or
vol , or in a Simulation Directory (.sim), which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
Note
The following options enable the definition of the properties (color, size, etc.) of the mesh
entities (3D, 2D, 1D and 0D elements and elsets, nodes, and full mesh). elt and elset refer
to the elements and elsets of higher dimensions. The dimension can be also be specified
explicitly, as in elt2d or elset2d . node represents all nodes, and mesh the full mesh. This
can be done either directly, by providing one or several values (e.g. the RGB channel values
for color) or indirectly, e.g. using scalar values that are converted in color using a given color
scheme. In this case (and for real-type data), a scale image is also generated, and its properties
(minimum, maximum and tick values) can be specified.
-data{elt,elset,node,elt{0-3}d,elset{0-3}d,elt{2,3}dedge,mesh}col <color>
Specify the colors, which can be done in two main different ways.
Colors can be set from data using an argument of the general form <data_type>:
<data_value> , which can be shortened to <data_value> in the frequent case where the data
type can be unambiguously determined from the data value. The possibilities are:
int:<data_value> : integer values represented using a color palette, which can be:
an integer value;
an expression based on the variables defined in Tessellation Keys, such as id or
mode , or in a Simulation Directory (.sim), which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
real:<data_value> : real values represented using a smooth color scale, which can be:
a real value;
an expression based on the variables described in Tessellation Keys, such as x or
vol , or in a Simulation Directory (.sim), which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
vector:<data_value> : vectorial values (only for VTK output), which can be:
a simulation result (see Simulation Results);
file(<file_name>) : individual values to load from a Data File.
tensor:<data_value> : tensorial values (only for VTK output), which can be:
a simulation result (see Simulation Results);
file(<file_name>) : individual values to load from a Data File. The file can contain
either 9 components or only 6 components, in which case Voigt notation is
assumed.
ori:<data_value> : crystal orientations (when applicable), which can be:
an orientation (see Rotations and Orientations);
internal : internal orientations;
file(<file_name>,[des=<descriptor>]) : individual orientations to load from a Data
File (see Rotations and Orientations).
The color schemes used to determine the colors from the data can be fine-tuned using
options -dataeltcolscheme or -dataelsetcolscheme .
Default value: -dataelsetcol id (elsets of higher dimension colored, other elsets white,
element edges black)
-data{elt,elset,node,elt{0-3}d,elset{0-3}d}colscheme <col_scheme>
Specify the color scheme used to get colors from the data loaded with option -
For integer values, the color scheme is palette , as described in Color Map for Integer
Values;
For real values, the available color schemes are described in Color Maps for Real
Values;
For crystal orientations (cubic symmetry is assumed), the color scheme can be:
ipf[(<dir>)] : IPF coloring using direction <dir> , which can be x , y or z
(default z );
rodrigues[(<max>)] : Rodrigues vector coloring, where <max> is the half-length along
a direction (default is the fundamental region);
axis : rotation axis coloring;
angle[(<max>)] : rotation angle coloring, where <max> is the maximum angle (in
radian (default is the fundamental region);
axis-angle[(<max>[,absolute])] for rotation axis / angle coloring, where <max> is the
maximum angle (in radian) and absolute makes it so that the absolute values of the
axis components are used.
Default value: palette for integer values, viridis for real values, and rodrigues for
crystal orientations.
-data{elt,elset,node,elt{0-3}d,elset{0-3}d}scale <scale>
Specify the scale relative to the -data...col real data, which can be:
When only minimal and maximal values are specified, the scale ticks are set automatically.
When intermediate values are specified, the scale ticks are the specified values.
The scale ticks have the same format as the minimal value.
-data{elt,elset,node,elt{0-3}d,elset{0-3}d}scaletitle <title>
Specify the title of the scale relative to the -data...col real data.
Default value: -.
-data{elt{0,1}d,node,elt{2,3}dedge,elset{0-3}d}rad <rad>
a real value;
file(<file_name>) : individual values to load values from a Data File (not for *edge* ).
-datanodecoo <coo>
Specify the coordinates of the nodes, which can be done in two main different ways.
Coordinates can be specified directly as follows:
Coordinates can be set from data using an argument of the general form <data_type>:
<data_value> :
Default value: -.
-datanodecoofact <fact>
Specify the value of the scaling factor to apply to the displacements of the nodes.
Default value: 1 .
Custom Input Data Loading and Rendering Options
The following options enable the definition of the properties (color, shape, size, etc.) of
custom inputs. This can be done either directly, by providing one or several values (e.g. the
RGB channel values for color) or indirectly, e.g. using scalar values that are converted in color
using a given color scheme. In this case (and for real-type data), a scale image is also
generated, and its properties (minimum, maximum and tick values) can be specified.
-data<input>col <color>
Specify the colors of the input points, which can be done in two main different ways.
Maps).
Colors can be set from data using an argument of the general form <data_type>:
<data_value> , which can be shortened to <data_value> in the frequent case where the data
type can be unambiguously determined from the data value. The possibilities are:
int:<data_value> : integer values represented using a color palette, which can be:
an integer value;
an expression based on the variables defined in Point Keys, such as id or cell ,
which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
real:<data_value> : real values represented using a smooth color scale, which can be:
a real value;
an expression based on the variables described in Point Keys, such as x or y ,
which allows to define individual values;
file(<file_name>) : individual values to load from a Data File.
Default value: id .
-data<input>colscheme <col_scheme>
Specify the color scheme used to get colors from the data loaded with option -
For integer values, the color scheme is palette , as described in Color Map for Integer
Values;
For real values, the available color schemes are described in Color Maps for Real
Values;
Default value: palette for integer values and viridis for real values.
-data<input>trs <transparency>
Specify the transparency of the input points (a value from 0 to 1), which can be:
a real value;
file(<file_name>) : individual values to load from a Data File.
Default value: 0 .
-data<input>scale <scale>
Specify the scale relative to the -data<input>col real data, which can be:
When only minimal and maximal values are specified, the scale ticks are set automatically.
When intermediate values are specified, the scale ticks are the specified values.
The scale ticks have the same format as the minimal value.
-data<input>scaletitle <title>
Specify the title of the scale relative to the -data<input>col real data.
Default value: -.
-data<input>coo <coo>
Specify the coordinates of the input points, which can be done in two main different ways.
Coordinates can be set from data using an argument of the general form <data_type>:
<data_value> :
Default value: -.
-data<input>coofact <fact>
Specify the value of the scaling factor to apply to the displacements of the input points.
Default value: 1 .
-data<input>rad <rad>
a real value;
file(<file_name>) : individual values to load from a Data File (not for *edge* ).
-data<input>symbol <symbol>
Specify the symbol representing the input points, which can be:
A symbol can be (all arguments are optional, and the radius is taken from option -
data<entity>rad if defined):
-data<input>edgerad <rad>
Specify the radius of the input point edges (represented as symbols), which can be any real
value (≥ 0).
Default value: 0 .
-data<input>edgecol <color>
Specify the color of the input point edges (represented as symbols), which can be a color
as described in Colors and Color Maps.
-datacsyscoo <coo_x>:<coo_y>:<coo_z>
-datacsyslength <length>
-datacsysrad <rad>
-datacsyslabel <label_x>:<label_y>:<label_z>
Note
A LaTeX (mathematical) syntax can be used, but is interprated as such only by the
Asymptote renderer.
-datacsyscol <color>
Specify the color of the coordinate system, which can be a color as described in Colors
and Color Maps.
Default value: 32:32:32 .
-datacsysfontsize <size>
Set the font size of the labels of the coordinate system axes.
Default value: 1 .
Show Options
-show{tess,tesr,mesh,meshslice,csys,scale} <logical>
Default value: 1 for the more informative data (mesh slice > mesh > tessellation) and
0 for others.
-show{cell,poly,face,edge,ver,seed,crystal,faceinter,vox} <logical>
1 or all : all;
an expression based on the Tessellation Keys or Raster Tessellation Keys, which allows
to define individual values;
file(<file_name>) : individual values to load from a Data File;
0 or none : none.
Default value: all for cells and edges, none for others.
The following options apply to the entities of the mesh. The options apply to 3D elements
( elt3d ) and element sets ( elset3d ), 2D elements ( elt2d ) and element sets ( elset2d ), 1D
elements ( elt1d ) and element sets ( elset1d ), 0D elements ( elt0d ) and element sets
( elset0d ), and nodes ( nodes ). Also note that the elt and elset can be used to denote the
highest-dimension elements and elsets.
-show{elt,elset,elt{0-3}d,elset{0-3}d,node} <logical>
1 or all : all;
an expression based on the Mesh Keys, which allows to define individual values;
file(<file_name>) : individual values to load from a Data File;
0 or none : none.
Default value: 1 if highest mesh dimension is 3 and 0 otherwise.
-show<input> <logical>
Show or hide the points of a custom input. The argument can be:
1 or all : all;
an expression based on the Point Keys, which allows to define individual values;
file(<file_name>) : individual values to load from a Data File;
0 or none : none.
Default value: 1 .
Slice Options
-slicemesh <plane1>,<plane2>,...
Plot one (or several) slice(s) of the mesh. A slicing plane is defined by its equation, such as
x=0 or 0.12*x+0.34*y+0.56*z=0.78 .
Default value: -.
Camera Options
-cameracoo <coo_x>:<coo_y>:<coo_z>
Specify the coordinates of the camera. The coordinates can be defined as expressions
based on the following variables:
x , y and z : the center of the tessellation or mesh (if both a tessellation and a mesh
have been loaded, the mesh is considered);
length : the average length of the domain ( 1 for a unit cube);
vx , vy and vz : the coordinates of the shift vector, which are equal to 3.462 ,
-5.770 and 4.327 , respectively in 3D, and 0 , 0 and 8 , respectively, in 2D.
-cameralookat <coo_x>:<coo_y>:<coo_z>
Specify the coordinates of the camera look-at point. The coordinates can be defined as
expressions based on the following variables:
x , y and z : the center of the tessellation or mesh (if both a tessellation and a mesh
have been loaded, the mesh is considered).
-cameraangle <angle>
Specify the opening angle of the camera along the horizontal direction (in degrees).
The opening angle along the vertical direction is determined from the opening along the
horizontal direction and the image size ratio.
Default value: 25 .
-camerasky <dir_x>:<dir_y>:<dir_z>
Specify the sky vector of the camera (vertical direction of the image).
-cameraprojection <projection>
Specify the type of projection of the camera, which can be perspective or orthographic .
These options set the lights (only for the POV-Ray renderer).
-lightambient <ambient>
Specify the amount of ambient light. Ambient light is light that is scattered everywhere in
the scene, and it ranges from 0 to 1 .
-lightsource <light1>:<light2>:...
-lightdiffuse <diffuse>
Specify the amount of diffuse reflection, i.e how much of the light coming directly from
any light sources is reflected by diffuse reflection. It ranges from 0 to 1 .
-lightreflection <reflection>
Note
Scene Options
-scenebackground <color>
Specify the color of the background, which can be any color as described in Colors and
Color Maps.
Most options apply to pole figures or inverse pole figures and can equivalently be called as -
pf... or -ipf... . For inverse pole figures, cubic crystal symmetry is assumed.
-[i]pfdir <dir1>:<dir2>
Specify the 2 reference coordinate system directions aligned with the horizontal and
vertical directions of the pole figure, respectively, which can be x , y , z , -x , -y or -
z .
Note
The resulting normal direction must be pointing upwards. To set the actual direction
labels, see option -datacsyslabel .
Specify the pole (for orientation input). It is a crystal (family) direction for pole figures and
a reference direction for inverse pole figures. A crystal family direction can be specified
using Miller indices (3 values, for cubic) or Miller-Bravais indices (4 values, for hexagonal).
Default value: 1:1:1 for -space pf and cubic crystal symmetry, 0:0:0:1 for -space pf
-[i]pfprojection <projection>
-pfshape <shape>
Specify the shape, which can be full (full circle) or quarter (quarter-circle, for
orthotropic symmetry).
-[i]pfmode <mode1>,<mode2>,...
Note
Modes are processed successively, so that the last one(s) are printed on top of the first
one(s). In the case of multiple inputs, density is applied only to the first input.
-[i]pfkernel <kernel>
Specify the kernel used to smooth pole directions when computing a pole density field,
which can be:
-[i]pfclustering <logical>
Specify whether data clustering (which speeds up density generation) should be used.
Note
Clustering is available only for standard pole figures ( -space pf -pfshape full ).
Clustering applies to all representation modes (see -[i]pfmode ) and slightly alters the
point positions. It should be disable for absolute accuracy.
Default value: 1 .
-[i]pfprojectionlabel <label>
Default value: stereo. proj. for -[i]pfprojection stereographic and equal-area. proj. for
-[i]pfprojection equal-area .
-[i]pfpolelabel <label>
Default value: {<h><k>[<i>]<l>} for PFs and {X,Y,Z} direction for IPFs.
Output Image Options
-imageformat <format1>,<format2>,...
-imagesize <size_x>:<size_y>
-povrayantialiasing <logical>
Specify whether antialiasing (which produces a smoother PNG image) should be used.
Default value: 1 .
Scripting Options
Create a loop of commands, as in -loop Z 0.1 0.1 0.9 -slicemesh "z=Z" -print zZ -endloop .
Default value: -.
Output Options
-outdir <dir1>,<dir2>,...
Specify the output directories (the first valid one is used), which can be:
a custom directory;
sim_dir : the standard location of the simulation directory, <dir.sim>/images/ , where
<format> is the image format (see option -imageformat ). sim_dir is only valid if a
simulation directory is loaded as input.
For example, to write to a simulation directory when loaded as input and to the local
directory in other cases, sim_dir,. (which may be placed in the initialization file).
Default value: . .
Print Options
-print <file_name>
Print the image. The file name should not include the extension.
Default value: -.
Advanced Options
-includepov <file_name1>[:<transformation1>:<transformation2>:...],
<file_name2>,...
Include objects to the image under the form of POV-Ray files and optionally apply it a
transformation. A transformation can be:
translate(<dist_x>,<dist_y>,<dist_z>) : translate by distances <dist_x> , <dist_y> and
<dist_z> along x , y and z , respectively;
scale(<fact_x>,<fact_y>,<fact_z>) : scale by <fact_x> , <fact_y> and <fact_z> along x ,
y and z , respectively;
rotate(<theta_x>,<theta_y>,<theta_z>) : rotate by angles thetax , thetay and thetaz
about x , y and z .
The rotation is read in POV-Ray style; i.e., according to the POV-Ray documentation:
Note that the order of the rotations does matter. Rotations occur about the x-axis
first, then the y-axis, then the z-axis. If you are not sure if this is what you
want, then you should only rotate on one axis at a time using multiple rotation
statements to get a correct rotation. Rotation is always performed relative to the
axis. Thus, if an object is some distance from the axis of rotation, it will not only
rotate but it will orbit about the axis as though it was swinging around on an
invisible string. POV-Ray uses a left-handed rotation system. Using the famous
"Computer Graphics Aerobics" exercise, you hold up your left hand and point your thumb
in the positive direction of the axis of rotation. Your fingers will curl in the
positive direction of rotation. Similarly, if you point your thumb in the negative
direction of the axis, your fingers will curl in the negative direction of
rotation.
Default value: -.
Output Files
A PNG image can be obtained from a POV-Ray file by invoking POV-Ray as follows (see the
POV-Ray documentation for details and further commands):
Images can be obtained from an Asymptote file by invoking Asymptote as follows (see the
Asymptote documentation for details and further commands):
Print out tessellation n10-id1.tess with cells colored from their identifiers and an image
size of 900 x 450 pixels:
Print out tessellation n10-id1.tess with cells colored from crystal orientations and semi-
transparency:
Print out mesh n10-id1.msh with elements colored from scalar values written in file v and
a scale ranging from 0 to 100:
Print out mesh n10-id1.msh with elements colored from nodal scalar values written in file
v and a scale ranging from 0 to 100:
Print out the 10 first cells of a 100-cell tessellation, colored from their identifiers and
semi-transparency, and with edges shown in red and vertices shown as green spheres of
radius 0.01:
Print out the interior element sets of mesh n100-id1.msh and show the 1D elements:
Print out slices of mesh n100-id1.msh , at z coordinates ranging from 0.1 to 0.9 by step of
0.1, each slice being printed in a separate file:
$ neper -V n100-id1.msh -dataelsetcol id -loop Z 0.1 0.1 0.9 -slicemesh "z=Z" -print imgZ -
endloop
Print out a deformed mesh colored by orientations, defined from a simulation directory:
Print out a deformed mesh colored by orientations, defined from a simulation directory;
generate an image at each deformation step:
$ neper -V mysim.sim -loop STEP 0 1 10 -step STEP -datanodecoo coo -dataeltcol ori -print
imgSTEP -endloop