diff options
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} |