Opened 3 years ago

Closed 3 years ago

#12591 closed enhancement (fixed)


Reported by: Bruce Dubbs Owned by: ken@…
Priority: normal Milestone: 9.1
Component: BOOK Version: SVN
Severity: normal Keywords:


New minor version.

Change History (10)

comment:1 by Bruce Dubbs, 3 years ago

Summary: asymptote-2.55asymptote-2.56

Now version 2.56.

comment:2 by ken@…, 3 years ago

Release Notes for Version 2.54

Support for generating and embedding interactive 3D WebGL vector graphics within an HTML file has been added, allowing Asymptote figures to be displayed on modern mobile and desktop browsers. The OpenGL rendering routines were further optimized, yielding higher frame rates and lower memory usage. The view position for perspective projection was fixed. The default value of file word() was fixed. Installation issues were addressed. A new digits setting controls the default output file precision. A hanging pipe was fixed. The popcount function was extended to systems that lack 64-bit integers. The order of PRC quad colours was fixed. If lighting is enabled, vertex colors are now ignored in PRC images; when drawing a surface s, use draw(s,prc() ? nolight : currentlight); to disable lighting manually and recover the old behaviour.

(Ken: I assume svg will not work without the impenetrabel dvisvgm)

Release Notes for Version 2.55

An initialization bug in the OpenGL renderer and portability issues were fixed.

Release Notes for Version 2.56

An array bounds error was fixed. WebGL output now supports background colors, including transparent backgrounds. Preprocessor conditionals were fixed. Scrolling of webgl images is now disabled within the viewport.

Also, from a post by Karl Berry on tlbuild:

John (Bowman) has made more efforts to ease the asymptote build. The current release (2.56) is in the TeX Live source tree now. If you have a chance, please try it. (But don't commit new binaries anywhere -- we won't update the released TL until next year.)

comment:3 by ken@…, 3 years ago

It sounds as if the version in upstream texlive is somewhat cut-down.

I'm monitoring tlbuild (e.g. re alternative configure switches) and waiting to see if any of the patches which John Bowman has offered to people with problems end up in yet another release.

comment:4 by ken@…, 3 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

comment:5 by ken@…, 3 years ago

Summary: asymptote-2.56asymptote-2.58

Release Notes for Version 2.57 Scenes with lighting disabled are rendered correctly in WebGL. Attempting to output HTML for 2D pictures produces an SVG file. A conditional was removed from the fragment shaders. A viewportshift option was added to the WebGL driver; the home (h) option now forces a remesh. The version number was removed from the local offline copy of asygl. A numerical degeneracy in the conic sections intersection routine was fixed. A workaround for the broken XDR headers under MacOS X was implemented. An issue with animations was fixed. The --version option displays a list of compiled-in features. Release Notes for Version 2.58 Intersection points in geometry.asy are now returned in currentcoordsys; a numerical precision issue was also fixed. Ambiguous function signatures in geometry.asy are resolved by requiring explicit casts when converting general forms to special cases. The xasy editor selection is now consistent. Building the shared library is supported again. A bug in rendering indexed triangle arrays was fixed. Execution errors in support utilities are now handled gracefully. Due to current limitations of dvisvgm (2.7.4), graphic() can only display SVG output (used by the xasy vector editor) for external vector EPS graphics (embedded images, PDF, PNG, and JPG formats are not yet supported). Building under CYGWIN with X11 is supported again. The --version option lists both enabled and disabled features. The GLX library is explicitly linked if present.

Comment from Karl Berry on tlbuild:

I committed the asymptote-2.58 sources to TeX Live. John says this release should be stable and has many enhancements over what we released with the original TL19. So if everyone is up for trying to compile it, and it succeeds, it seems like it would be worth updating now instead of waiting until next year.

comment:6 by ken@…, 3 years ago

Resolution: fixed
Status: assignedclosed

comment:7 by Bruce Dubbs, 3 years ago

Resolution: fixed
Status: closedreopened
Summary: asymptote-2.58asymptote-2.59

Now version 2.59.

comment:8 by ken@…, 3 years ago

Release notes for 2.59:

OpenGL memory allocation and transparency bugs introduced in version 2.54 were fixed. Rendering efficiency was improved. In view of limited GPU resources, only the required material uniforms are passed to each shader. The WebGL vertex and fragment shaders have been moved to the asygl library. Multiple embedded images now share a single WebGL context and shaders, to work around browser limitations. A bug in 3D arrows was fixed. Unavailable material attributes are now ignored. Miscellaneous Python support files were ported to Python3. The obsolete maxvertices setting was removed.

I'm inclined to treat this like cups-filters.

comment:9 by ken@…, 3 years ago

Looking at asymptote -version showed which of the various options were compiled in.

WebGL    3D HTML rendering
OpenGL   3D OpenGL rendering
GSL      GNU Scientific Library (special functions)
FFTW3    Fast Fourier transforms
XDR      external data representation (portable binary file format)
Readline interactive history and editing
Sigsegv  distinguish stack overflows from segmentation faults
GC       Boehm garbage collector


(i.e. all options). The WebGL code is apparently invoked if the output is specified as "html". For my example files, that works with the 'torus16' variant and uses javascript:


Can be viewed in firefox.

But with 'kleinbottle0' it tries to convert to svg (because it is 3D) and that of course fails (we don't have dvisvgm) after creating 512 (sic) png files. With 'kleinbottle4' it apparently creates an html file using javascript, but that does not display in firefox.

comment:10 by ken@…, 3 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.