[Gmsh] Postprocessing high-order fields - strange colors
cgeuzaine at ulg.ac.be
Wed Jan 4 12:02:48 CET 2017
> On 22 Dec 2016, at 18:52, Grégory LEGRAIN <gregory.legrain at ec-nantes.fr> wrote:
> I have also seen this in the last version of gmsh (even for P1 fields). It seems linked to the lighting : if you swap the viewpoint from +z to -z, everything is OK.
> Alternatively, you can also disable lighting in the options of the view.
The default lighting option changed in recent builds, from "two-side" to "single side" : beside being faster, it also allows to see when surfaces are not oriented correctly.
You can restore "two-side" lighting in Options->Color->Use two-side lighting.
Adaptive visualization can indeed change the orientation of the mesh: we will fix this.
> Best regards,
> Le 21/12/2016 à 19:09, Martin Vymazal a écrit :
>> when I open a field stored in gmsh on high-order elements (i.e. at least P2) and click on Tools -> Options -> Adapt visualization grid, the colors in the plot suddenly become much darker (observed with recent builds of gmsh). These colors are then preserved when I save the plot to a file (say png). Could you please fix this. Thank you.
>> Best regards,
>> gmsh mailing list
>> gmsh at onelab.info
> gmsh mailing list
> gmsh at onelab.info
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
More information about the gmsh