Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 671 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 671 Bytes

3jsbin2obj

Convert three.js binary models to wavefront .obj format

The binary file specified on the command line will be read and the processed output will go to standard out. This can be redirected to a file if needed.

Processing data and statistics will be output to standard error.

Syntax :

3jsbin <filename.bin> > <filename.obj>

Where :

  • <filename.bin> The three.js binary file
  • <filename.obj> The output wavefront .obj file

Notes :

  • All values are assumed to be little-endian
  • A default materials file (tex.mtl) will be added to the .obj
  • Material indexes are not processed and are instead allocated a number with prefix "Texture_"