summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/examples
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-10 16:06:35 +0000
committerKarl Berry <karl@freefriends.org>2019-08-10 16:06:35 +0000
commitbbb53f06c6f48d4c675d250829032e09f4065a86 (patch)
tree0583c905a5d67f3e1447456048b2e479311e4e83 /Build/source/utils/asymptote/examples
parentefd1dbbaa1332a9534c25024a0c295f423714851 (diff)
asy 2.52 sources
git-svn-id: svn://tug.org/texlive/trunk@51856 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/examples')
-rw-r--r--Build/source/utils/asymptote/examples/label3zoom.asy2
-rw-r--r--Build/source/utils/asymptote/examples/pdb.asy4
-rw-r--r--Build/source/utils/asymptote/examples/randompath3.asy2
-rw-r--r--Build/source/utils/asymptote/examples/teapot.asy4
4 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/utils/asymptote/examples/label3zoom.asy b/Build/source/utils/asymptote/examples/label3zoom.asy
index 7eafccd8fcd..cba4f98cb54 100644
--- a/Build/source/utils/asymptote/examples/label3zoom.asy
+++ b/Build/source/utils/asymptote/examples/label3zoom.asy
@@ -13,4 +13,4 @@ viewportshift=(0.813449720559684,-0.604674743165144),
autoadjust=false);
draw(scale3(4)*extrude("$\displaystyle\int\limits_{-\infty}^{+\infty}\!\! e^{-\alpha x^2}\!\!=\sqrt{\frac{\pi}{\alpha}}$",2Z),
- material(blue,ambientpen=mediumgray));
+ material(blue));
diff --git a/Build/source/utils/asymptote/examples/pdb.asy b/Build/source/utils/asymptote/examples/pdb.asy
index ad86d5172c4..41cd29faaf0 100644
--- a/Build/source/utils/asymptote/examples/pdb.asy
+++ b/Build/source/utils/asymptote/examples/pdb.asy
@@ -2,7 +2,7 @@ import three;
import cpkcolors;
// A sample Protein Data Bank file for this example is available from
-// http://ndbserver.rutgers.edu/ftp/NDB/coordinates/na-biol/100d.pdb1
+// http://ndbserver.rutgers.edu/files/ftp/NDB/coordinates/na-biol/100d.pdb1
currentlight=White;
//currentlight=nolight;
@@ -10,7 +10,7 @@ currentlight=White;
defaultrender.merge=true; // Fast low-quality rendering
//defaultrender.merge=false; // Slow high-quality rendering
bool pixel=false; // Set to true to draw dots as pixels.
-real width=10*linewidth(currentpen);
+real width=10;
size(200);
currentprojection=perspective(30,30,15);
diff --git a/Build/source/utils/asymptote/examples/randompath3.asy b/Build/source/utils/asymptote/examples/randompath3.asy
index 94f989b1fcb..b6666570b36 100644
--- a/Build/source/utils/asymptote/examples/randompath3.asy
+++ b/Build/source/utils/asymptote/examples/randompath3.asy
@@ -1,4 +1,4 @@
import three;
size(300);
-draw(randompath3(100),red,nolight);
+draw(randompath3(100),red);
diff --git a/Build/source/utils/asymptote/examples/teapot.asy b/Build/source/utils/asymptote/examples/teapot.asy
index 401ecec5ab9..bff93ace194 100644
--- a/Build/source/utils/asymptote/examples/teapot.asy
+++ b/Build/source/utils/asymptote/examples/teapot.asy
@@ -1,5 +1,5 @@
import three;
-
+import settings;
size(20cm);
currentprojection=perspective(250,-250,250);
@@ -169,4 +169,4 @@ triple[][][] Q={
}
};
-draw(surface(Q),blue,render(compression=Low));
+draw(surface(Q),material(blue, shininess=0.85, metallic=0),render(compression=Low));