poly2tri/README

40 lines
699 B
Plaintext
Raw Normal View History

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
2010-01-22 20:52:28 +01:00
- GLFW (http://glfw.sf.net)
- Python
2010-01-21 15:28:16 +01:00
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
----------------------------------------------
2010-01-22 20:52:28 +01:00
p2t <filename> <center-x> <center-y> <zoom>
2010-01-21 15:28:16 +01:00
Example:
2010-01-22 20:52:28 +01:00
./p2t dude.dat 300 500 2.0