2010-01-21 17:20:56 +01:00
|
|
|
==================
|
2010-01-21 15:28:16 +01:00
|
|
|
INSTALLATION GUIDE
|
|
|
|
==================
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
|
|
|
Core poly2tri lib:
|
2010-01-21 17:20:56 +01:00
|
|
|
- Standard Template Library
|
2010-01-21 15:28:16 +01:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2010-01-21 17:20:56 +01:00
|
|
|
Building the Testbed
|
2010-01-21 15:28:16 +01:00
|
|
|
----------------------------------------------
|
|
|
|
|
|
|
|
Posix/MSYS environment:
|
|
|
|
|
|
|
|
./waf configure
|
|
|
|
./waf build
|
|
|
|
|
|
|
|
Windows command line:
|
|
|
|
|
|
|
|
python waf configure
|
|
|
|
python waf build
|
|
|
|
|
|
|
|
running the examples
|
|
|
|
----------------------------------------------
|
|
|
|
|
|
|
|
p2t <data file> <zoom>
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
2010-01-21 17:20:56 +01:00
|
|
|
./build/default/p2t testbed/data/dude.dat 1.0
|