From 1c348a9829ef3039e75b2343db6198922ca8a6f2 Mon Sep 17 00:00:00 2001 From: zzzzrrr Date: Thu, 21 Jan 2010 09:28:16 -0500 Subject: [PATCH] added readme/setup guide --- README | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..e72d3f9 --- /dev/null +++ b/README @@ -0,0 +1,40 @@ +================== +INSTALLATION GUIDE +================== + +Dependencies +------------ + + Core poly2tri lib: + - Standard Template Library + + Testbed: + - gcc + - OpenGL + - GLFW (http://glfw.sf.net) + - Python + +Waf (http://code.google.com/p/waf/) is used to compile the testbed, and +the Python waf script (86kb) is included in the repositoty. + +Building the testbed +---------------------------------------------- + +Posix/MSYS environment: + + ./waf configure + ./waf build + +Windows command line: + + python waf configure + python waf build + +running the examples +---------------------------------------------- + +p2t + +Example: + + ./build/default/p2.exe testbed/data/dude.dat 1.0 \ No newline at end of file