diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-21 03:00:45 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-21 03:00:45 +0000 |
commit | 7da4243862494d1fc7478956362f4da6d80f4f7e (patch) | |
tree | 30922972d98c2056ecbed0a1c43b3b3a3758bf58 /graphics/asymptote/doc/asymptote.texi | |
parent | 8fa38617045e3aa88b163fdc2fd683d72559b6d5 (diff) |
CTAN sync 201910210300
Diffstat (limited to 'graphics/asymptote/doc/asymptote.texi')
-rw-r--r-- | graphics/asymptote/doc/asymptote.texi | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/graphics/asymptote/doc/asymptote.texi b/graphics/asymptote/doc/asymptote.texi index d19742bb38..4762044139 100644 --- a/graphics/asymptote/doc/asymptote.texi +++ b/graphics/asymptote/doc/asymptote.texi @@ -513,6 +513,7 @@ texcommand dvips dvisvgm convert +asygl @end verbatim @noindent @@ -7874,11 +7875,11 @@ The examples @code{@uref{http://asymptote.sourceforge.net/gallery/3Dgraphs/elevation.html,,elevation}@uref{http://asymptote.sourceforge.net/gallery/3Dgraphs/elevation.asy,,.asy}} and @code{@uref{http://asymptote.sourceforge.net/gallery/3Dwebgl/sphericalharmonic.html,,sphericalharmonic}@uref{http://asymptote.sourceforge.net/gallery/3Dwebgl/sphericalharmonic.asy,,.asy}} illustrate how to draw a surface with patch-dependent colors. The examples @code{@uref{http://asymptote.sourceforge.net/gallery/3Dwebgl/vertexshading.html,,vertexshading}@uref{http://asymptote.sourceforge.net/gallery/3Dwebgl/vertexshading.asy,,.asy}} and @code{@uref{http://asymptote.sourceforge.net/gallery/3Dgraphs/smoothelevation.html,,smoothelevation}@uref{http://asymptote.sourceforge.net/gallery/3Dgraphs/smoothelevation.asy,,.asy}} illustrate -vertex-dependent colors, which is supported for both -@code{Asymptote}'s native @code{OpenGL} renderer and two-dimensional -projections. Since the @acronym{PRC} output format does not currently support -vertex shading of Bezier surfaces, @acronym{PRC} patches are shaded -with the mean of the four vertex colors. +vertex-dependent colors, which are supported by +@code{Asymptote}'s native @code{OpenGL}/@code{WebGL} renderers +and the two-dimensional vector output format (@code{settings.render=0}). Since +the @acronym{PRC} output format does not currently support vertex +shading of Bezier surfaces, @acronym{PRC} patches are shaded with the mean of the four vertex colors. @cindex @code{surface} @cindex @code{planar} @@ -8048,18 +8049,17 @@ Normally, @code{WebGL} files generated by @code{Asymptote} are dynamically remeshed to fit the browser window dimensions. However, the setting @code{absolute=true} can be used to force the image to be rendered at its designed size (accounting for multiple device pixels -per @code{css} pixel). This setting should not be used when -embedding a @code{WebGL} file within another @acronym{HTML} document. +per @code{css} pixel). The interactive @code{WebGL} files produced by @code{Asymptote} use the default mouse and (many of the same) key bindings as the @code{OpenGL} renderer. By default, viewing the 3D @acronym{HTML} files generated by Asymptote requires -network access to download the @code{asygl} rendering library, which +network access to download the @code{AsyGL} rendering library, which is normally cached by the browser for future use. However, the setting @code{offline=true} can be used to embed this -small (about 42kB) library within a stand-alone @acronym{HTML} file +small (about 48kB) library within a stand-alone @acronym{HTML} file that can be viewed offline. @cindex @code{antialias} |