README 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. -------------------------
  2. ---- three.js README ----
  3. -------------------------
  4. Slightly modified "mesh.h" so that compressor:
  5. - compiles with latest MinGW on Windows 64-bit
  6. (had to replace %z size_t formatting option)
  7. - dumps to stderr scaling and offset parameters
  8. Also for convenience added pre-build executable for Windows.
  9. Latest version of compressor can be downloaded at webgl-loader repository:
  10. http://code.google.com/p/webgl-loader/
  11. --------------------------------------------
  12. ---- Original README from webgl-loader -----
  13. --------------------------------------------
  14. Usage: ./objcompress in.obj [out.utf8]
  15. If 'out' is specified, then attempt to write out a compressed,
  16. UTF-8 version to 'out.'
  17. If not, write a JSON version to STDOUT.
  18. Building:
  19. Since there are no external dependences outside of the C/C++ standard
  20. libraries, you can pretty much build this however you please. I've
  21. included a cheeky way to do this on POSIX-like systems by including a
  22. build shell script at the top of the file itself. You can build by
  23. making the .cc file executable, and running it on the command line.