Forked from
gmsh / gmsh
Source project has a limited visibility.
-
Christophe Geuzaine authored
- new DecomposeInSimplex plugin - new "Combine Views" command in the parser - cleaned up View::tranform and View::smooth (+small bug fix for SLs) - better check for transparency sorting - make depend - new View.AlphaChannel option to change the transparency globally for a given view (instead of having to change the colormap by hand every time) With all the above, we can now generate very nice (and correct) transparent iso-surfaces: Merge "../tutorial/view3.pos"; minIso = 0; maxIso = 2; nbIso = 7; Plugin(CutMap).iView = 0; For i In {1:nbIso} Plugin(CutMap).A = (maxIso-minIso)/nbIso * i; Plugin(CutMap).Run; EndFor Delete View[0]; Combine Views; For i In {1:nbIso} Delete View[0]; EndFor Plugin(DecomposeInSimplex).iView = 0; Plugin(DecomposeInSimplex).Run; View[0].AlphaChannel = 0.6;
Christophe Geuzaine authored- new DecomposeInSimplex plugin - new "Combine Views" command in the parser - cleaned up View::tranform and View::smooth (+small bug fix for SLs) - better check for transparency sorting - make depend - new View.AlphaChannel option to change the transparency globally for a given view (instead of having to change the colormap by hand every time) With all the above, we can now generate very nice (and correct) transparent iso-surfaces: Merge "../tutorial/view3.pos"; minIso = 0; maxIso = 2; nbIso = 7; Plugin(CutMap).iView = 0; For i In {1:nbIso} Plugin(CutMap).A = (maxIso-minIso)/nbIso * i; Plugin(CutMap).Run; EndFor Delete View[0]; Combine Views; For i In {1:nbIso} Delete View[0]; EndFor Plugin(DecomposeInSimplex).iView = 0; Plugin(DecomposeInSimplex).Run; View[0].AlphaChannel = 0.6;