diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-21 17:29:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-21 17:29:28 +0000 |
commit | ef2ee92ba9a13edf8ae31e3941f8a47dae5e928e (patch) | |
tree | 5bef718b5f900818966788c4553a415a9cd7d3b9 /Build/source/utils/asymptote/doc/asymptote.texi | |
parent | 9474b7db3211261c19db160af542aa1a855659b6 (diff) |
asy 2.59 sources
git-svn-id: svn://tug.org/texlive/trunk@52473 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/doc/asymptote.texi')
-rw-r--r-- | Build/source/utils/asymptote/doc/asymptote.texi | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Build/source/utils/asymptote/doc/asymptote.texi b/Build/source/utils/asymptote/doc/asymptote.texi index d19742bb380..47620441392 100644 --- a/Build/source/utils/asymptote/doc/asymptote.texi +++ b/Build/source/utils/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} |