Page 5 sur 6

Re: [New] Nouvelle version d'Asymptote

Posté : jeu. 30 juil. 2020, 18:13
par GM
=======================================
Mise à jour de la version git d'Asymptote utilisée sur le forum :

Figure asymptote 26b5903215211d26e6e599f665d07a2e
*** Pour masquer/découvrir le code Asymptote qui a permis de créer la figure, il faut cliquer dessus. ;-) ***

CODE ASYMPTOTE de la figure ci-dessus : Tout sélectionner
  1. label("Asymptote "+version.VERSION); // 2.67-66
  2. shipout(bbox(3mm,2bp+red));


Je rappelle que le forum n'est pas adapté pour y compiler des exemples 3D.
Pour évoquer de tels exemples, il faut se contenter de fournir le code entre des balises codes et non des balises asy.

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 29 août 2020, 08:55
par GM
Bonjour,

Je viens de réaliser que le numéro de version d'Asymptote n'apparait plus correctement lors de la création d'une figure Asymptote sur le forum.

Cela tient au fait que la commande "asy -version" ne renvoie plus simplement une ligne telle que celle-ci

Code : Tout sélectionner

Asymptote version 2.67-66 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]
mais qu'elle est complétée par plusieurs lignes d'informations (les options activées et désactivées) :

Code : Tout sélectionner

Asymptote version 2.67-66 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]

ENABLED OPTIONS:
GSL      GNU Scientific Library (special functions)
FFTW3    Fast Fourier transforms
XDR      external data representation (portable binary file format)
Readline interactive history and editing
GC       Boehm garbage collector

DISABLED OPTIONS:
WebGL    3D HTML rendering
OpenGL   3D OpenGL rendering
Sigsegv  distinguish stack overflows from segmentation faults
Au lieu de prendre les 19ème à 22ème caractères de la première ligne "Asymptote version 2.67-66 ...",
cela récupère les 19ème à 22ème caractères de la dernière ligne "Sigsegv distinguish stack ..."
donc au lieu de lire "Asymptote 2.67" au dessus de l'image, on lit actuellement "Asymptote sh s"

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 29 août 2020, 09:57
par GM
Vérification que l'ajout d'un grep 'version' au bon endroit rectifie correctement le problème soulevé ci-dessus.

Figure asymptote 5a5e9bd04cf4cf4de7113425211503e7
*** Pour masquer/découvrir le code Asymptote qui a permis de créer la figure, il faut cliquer dessus. ;-) ***

CODE ASYMPTOTE de la figure ci-dessus : Tout sélectionner
  1. label("Asymptote "+version.VERSION); // 2.67-66
  2. shipout(bbox(3mm,2bp+red));

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 29 août 2020, 10:22
par GM
Version 2.67 du 06/08 : https://sourceforge.net/projects/asymptote/files/2.67/
  • Support was added for importing and inputting URLs.
  • Compilation and 2D SVG to HTML conversion no longer requires the GLM library; 2D html output is fit to the canvas unless settings.absolute=true.
  • Diagnostics for dvisvgm were enabled; SVG clipping was fixed.
  • A -globalread setting (default true) was implemented.
  • Files are opened using the search path, which now includes the examples directory.
  • An invalid array dimensions error was fixed.
  • A WebGL resize event listener was added; the + and - keys now zoom in and out, rather than expanding and shrinking the viewport.
  • Remeshing on export is forced; unnecessary remeshing on zoom in AsyGL is avoided.
  • The triple dir(path3, path3) function was normalized.
  • The repositioning of OpenGL windows was fixed.
  • The copy constructors for path and path3 were fixed.
  • Asymptote errors no longer cause Xasy to hang.
  • A numerical precision issue was fixed.
  • A portable way of skipping whitespace was implemented; casts from empty strings now yield uninitialized values.
  • Interrupt handling under MacOS X was fixed.
  • A devicepixelratio setting was implemented.
  • The error location is displayed in the console.
  • Segmentation faults were fixed.
  • The documentation was updated and the code was reformatted.
  • A hang on exit under MSWindows was fixed.
  • Obsolete encoding modules were removed.


=======================================
Mise à jour de la version git d'Asymptote utilisée sur le forum :

Figure asymptote 006ea39f5d94fc6cdbe6f7582cc35f62
*** Pour masquer/découvrir le code Asymptote qui a permis de créer la figure, il faut cliquer dessus. ;-) ***

CODE ASYMPTOTE de la figure ci-dessus : Tout sélectionner
  1. label("Asymptote "+version.VERSION); // 2.68-16
  2. shipout(bbox(3mm,2bp+red));

Re: [New] Nouvelle version d'Asymptote

Posté : mer. 24 févr. 2021, 00:24
par GM
Version 2.68 du 23/11/2020 : https://sourceforge.net/projects/asymptote/files/2.68/
  • Floating point exceptions in OpenGL libraries are now masked.
  • A normalization used to render tubes was fixed.
  • A Label align(Label,dir) function was added for aligning label normals.
  • A new settings.compress=true option controls PDF image compression.
  • A bool isometry(transform) function was added.
  • Various bugs in the geometry module were fixed.
  • The transpose function ignores uninitialized elements.
  • Null fields are treated as undefined values in cvs mode and in line mode.
  • Uninitialized rendering variables were fixed.
  • A RELEASE variable was added.
  • Logarithmic graphs of surfaces are supported.
  • Files are opened without assuming an asy suffix.
  • Support for Ghostscript 9.53 was implemented.
  • The end argument of Margin functions is now optional.
  • A function cputime().change.clock that returns the high-resolution elapsed wall clock time was added.
  • A --disable-curl option was added.
  • The centering of slides was fixed.
  • Null characters and null strings are supported in the replace function.
  • Configuration without readline support was fixed.
  • In binary mode, an entire file can be read into a string.
  • The getc function now works properly when reading the NUL character.
  • Reproducible builds are supported.
Version 2.69 du 20/02/2021 : https://sourceforge.net/projects/asymptote/files/2.69/
  • A segmentation fault in subpath3 was fixed.
  • The fuzz parameter in bezulate was increased to handle font precision issues.
  • A missing above argument was added in plain_boxes.asy.
  • Scaling bugs in the palette module were fixed.
  • The contour module now respects picture scaling.
  • Bugs in reading null fields were fixed.
  • Orthographic scaling is now consistent with perspective scaling when keepAspect=false.
  • The obsolete everypage package was removed.
  • A compilation issue with LIBCURL and compilation warnings were fixed.

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 3 avr. 2021, 23:41
par GM
Version 2.70 du 30/03/2021 : https://sourceforge.net/projects/asymptote/files/2.70/
  • A stack overflow was fixed.
  • Under MSWindows, problems with SVG generation and Xasy installation were fixed.
  • Compiler warning messages were addressed.

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 25 déc. 2021, 12:13
par GM
Version 2.71 du 25/12/2021 : https://sourceforge.net/projects/asymptote/files/2.71/
  • Support for the portable compressed 3D vector file format V3D was added.
  • The default value of settings.prc was changed to false.
  • Efficient order-independent transparency was implemented for modern OpenGL platforms and the OSMesa offscreen rendering engine (with no interactive transparency support for Mac OS X and WebGL).
  • The WebGL library now uses WebGL2 if available.
  • Image-based lighting was implemented.
  • Many bug fixes and improvements were made to Xasy, allowing objects drawn with the graphical editor to be saved to and restored from a .xasy file, as well as being exportable to an .asy file.
  • A function was added to graph a parametric function with control points determined by the specified derivative.
  • The recommended PostScript viewer for MSWindows is now Sumatra PDF.
  • The workflow for generating transparent PDFs and PNGs was fixed.
  • Emacs lasy-mode was patched to work with Emacs >= 23. Support for the Language Server Protocol was added.
  • Compilation with COMPACT=0 is supported again.
  • All threads now return the same error code.
  • A remote command-line interface to http://asymptote.ualberta.ca is now available.

Re: [New] Nouvelle version d'Asymptote

Posté : mar. 28 déc. 2021, 01:33
par GM
Version 2.72 du 27/12/2021 : https://sourceforge.net/projects/asymptote/files/2.72/
  • WebGL2 is enabled by default only for examples that use image-based lighting.
  • Multiple output formats in threaded interactive mode are now handled correctly.
  • CPU partial sum indexing is used in the 3D transparency shader if the compute shader fails to compile.
Version 2.73 du 27/12/2021 : https://sourceforge.net/projects/asymptote/files/2.73/
  • The asygl library was updated to support embedding of WebGL and WebGL2 scenes on the same page.
Suite à un problème relatif à inlinetex, signalé par un utilisateur, John Bowman fait une suggestion en attendant la 2.74 :
John Bowman a écrit :Thank you for the clear explanation of the problem and solution. Users can wait for the 2.74 release or update three.asy now:
https://raw.githubusercontent.com/vecto ... /three.asy

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 8 janv. 2022, 18:45
par GM
Version 2.74 du 01/01/2022 : https://sourceforge.net/projects/asymptote/files/2.74/
  • Order-independent transparency is disabled if SSBO support is unavailable.
  • Embedded 3D renderings now work in inline TeX mode.
  • The tiling pen was fixed.
  • Support was added for filling contour plots by quantizing color density images.
  • Unwanted shifting in PDF output when using non-letter size paper was fixed.
  • Due to its limitations, the color.sty package was abandoned in favour of low-level specials.
  • The bounding box contributions of the linejoin and linecap qualifiers are now correctly taken into account.
  • The erase command is inhibited for svg and html output.
  • A crash on save in the lsp server was fixed. Links to the gallery were fixed in the documentation.
Version 2.75 du 07/01/2022 : https://sourceforge.net/projects/asymptote/files/2.75/
  • A 2D transparency bug was fixed. Vim support was improved.
  • To support PNG transparency, the default driver was changed from pngalpha to png16m and the pdflatex TeX engine is used instead of latex.
  • A pngdriver option was added.
  • To support WebGL, billboard labels are enabled when configured for offscreen rendering.
  • The subdivision crack work around for PRC output was removed.
  • Compilation without the tirpc library is supported again (but not recommended since the V3D format requires XDR support).

Re: [New] Nouvelle version d'Asymptote

Posté : dim. 1 mai 2022, 10:55
par GM
Je rattrape mon retard dans le détail des mises à jour :

Version 2.76 du 20/01/2022 : https://sourceforge.net/projects/asymptote/files/2.76/
  • WebGL and V3D bounds were fixed, along with the WebGL zoom and viewportshift.
  • Under the Asymptote Web Application, the currentprojection is now persistant; for other WebGL instances, the 'c' keyboard binding can be used to display the currentprojection.
  • The correct defaultfilename is set on reading V3D files from the command line.
  • Portability issues were addressed.
Version 2.77 du 22/01/2022 : https://sourceforge.net/projects/asymptote/files/2.77/
  • A buffer overflow in the partialsum transparency shader was fixed; the workload distribution over the GPU processors was improved.
Version 2.78 du 05/02/2022 : https://sourceforge.net/projects/asymptote/files/2.78/
  • The transparency shader was further optimized; an incorrect buffer size and export issues were fixed.
  • A substitute was implemented for a missing strnlen function.
Version 2.79 du 08/03/2022 : https://sourceforge.net/projects/asymptote/files/2.79/
  • The transparency shader was further optimized.
  • The tensorshade fillrule was fixed.
  • A compatibility fix was made to xasyBezierInterface.py.
  • A real operator ecast(rational r) was implemented up to maxDenominator=100000.
  • The dvisvgmMultipleFiles option, which speeds up xasy deconstruction with PDF TeX engines, was documented.
Version 2.80 du 06/04/2022 : https://sourceforge.net/projects/asymptote/files/2.80/
  • Compression of empty transparent pixel counts and other optimizations were implemented in the transparency shader.
  • A weighted least-squares fit was added.