diff --git a/t/Tao-Presentations.ddd b/t/Tao-Presentations.ddd new file mode 100644 index 00000000..d5bad9e8 --- /dev/null +++ b/t/Tao-Presentations.ddd @@ -0,0 +1,68 @@ +// **************************************************************************** +// hello_world.ddd Tao project +// **************************************************************************** +// +// File Description: +// +// Original hello world with Tao Presentations. +// http://www.taodyne.com/shop/en/blog/3-getting-started-with-tao-presentations +// +// +// +// **************************************************************************** +// (C) 1992-2010 Christophe de Dinechin +// (C) 2010 Jérôme Forissier +// (C) 2010 Catherine Burvelle +// (C) 2010 Taodyne SAS +// **************************************************************************** + +color "white" +milkyway 10000 +rotatez -23 +earth 400 +hello_world 440 + + +milkyway R -> +// ---------------------------------------------------------------------------- +// Draw the Milky Way +// ---------------------------------------------------------------------------- + locally + texture_wrap true, true + texture_transform {scale 5, 5, 5} + texture "milkyway.jpg" + rotatey 0.02 * page_time + 100 + scale 1, -1, 1 + sphere R + + +earth R -> +// ---------------------------------------------------------------------------- +// Draw Earth +// ---------------------------------------------------------------------------- + locally + texture "earth.bmp" + texture_wrap true, true + rotatey 5 * page_time + 250 + sphere 0, 0, 0, R + + +hello_world R -> +// ---------------------------------------------------------------------------- +// Draw "hello world" text +// ---------------------------------------------------------------------------- + locally + frame_texture 1900, 600, + color 1, 1, 1, 1 + reset_transform + // If font Arial Unicode installed, it will be used. + // Otherwise, unifont will be used (unifont is packaged + // with Tao presentations). + font "Arial Unicode MS", "unifont", 72 + move_to -800, -9, 0 + text "Hello World! or Καλημέρα κόσμε; or こんにちは 世界" + rotatey -11 * page_time + 180 + color 20% , 20% , 20% , 70% + sphere 0, 0, 0, R - 30 + color 100% , 90% , 20% , 90% + sphere 0, 0, 0, R diff --git a/t/images/earth.bmp b/t/images/earth.bmp new file mode 100644 index 00000000..1869bb07 Binary files /dev/null and b/t/images/earth.bmp differ diff --git a/t/images/milkyway.jpg b/t/images/milkyway.jpg new file mode 100644 index 00000000..9381f3bb Binary files /dev/null and b/t/images/milkyway.jpg differ