summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/galleon.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/galleon.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/galleon.asy14
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf/doc/asymptote/examples/galleon.asy b/Master/texmf/doc/asymptote/examples/galleon.asy
new file mode 100644
index 00000000000..6cd0f4545df
--- /dev/null
+++ b/Master/texmf/doc/asymptote/examples/galleon.asy
@@ -0,0 +1,14 @@
+import obj;
+
+size(15cm);
+currentprojection=orthographic(0,2,5,up=Y);
+
+// A compressed version of the required data file may be obtained from:
+// http://www.cs.technion.ac.il/~irit/data/Viewpoint/galleon.obj.gz
+
+pen[] surfacepen={darkred,brown,darkred+orange,heavyred,heavyred,darkred+orange,
+ palegreen+blue+lightgrey,darkred,darkred,yellow,darkred,white,
+ white,white,white,white,white};
+surfacepen.cyclic(true);
+
+draw(obj("galleon.obj",verbose=false,surfacepen));