Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 450 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 450 Bytes

obj2js

It is a simple wavefront .obj file converter into javascript file which contains javascript arrays.

Created arrays' name are vertices, normals, textureCoords, quads and triangles.

Usage

python3 obj2js.py example_input.obj example_output.js

Summary:
Vertices Count: 48
Normals Count: 36
Textures Coordinat Count: 24
Quads Count: 36
Triangles Count: 0