[Gmsh] generation of screenshots in non-interactive mode

Tom De Vuyst tom.devuyst at cenaero.be
Tue Apr 28 17:05:33 CEST 2009


Hi,

I have a question regarding the generation of screenshots in non-interactive mode.

Executing the tutorial file t8.geo:

  gmsh t8.geo 

generates images.

However doing this in non-interactive 'batch' mode:

  gmsh t8.geo -

does not, and the following message is printed:

  Warning : Offscreen rendering not available in this version

Can the batch mode be used to generate images? In the version history the line
referring to OSMesa seems to suggest it should:

2.0 (Feb 5, 2007): new geometry and mesh databases, with support for
STEP and IGES import via OpenCascade; complete rewrite of geometry and
mesh drawing code; complete rewrite of mesh I/O layer (with new native
binary MSH format and support for import/export of I-deas UNV, Nastran
BDF, STL, Medit MESH and VRML 1.0 files); added support for incomplete
second order elements; new 2D and 3D meshing algorithms; improved
integration of Netgen and TetGen algorithms; removed anisotropic
meshing algorithm (as well as attractors); removed explicit region
number specification in extrusions; option changes in the graphical
interface are now applied instantaneously; added support for offscreen
rendering using OSMesa; added support for SVG output; added string
labels for Physical entities; lots of other improvements all over the
place.

Regards,

Tom De Vuyst

-- 


----------------------------------------------------------------

Dr. Tom DE VUYST

Virtual Manufacturing Group
Cenaero                    

Bâtiment Éole                      |  Tel : +32 (0)71 91 93 63
Rue des Frères Wright, 29          |  Fax : +32 (0)71 91 93 31  
B-6041 GOSSELIES, BELGIUM          | 

Visit our web site at www.cenaero.be

CENAERO bénéficie du soutien de la Région Wallonne et des fonds 
structurels FEDER et FSE de l'Union Européenne

---------------------------------------------------------------
+-+-+- Disclaimer
http://www.cenaero.be/disclaimer