1.0.0 • Published 9 years ago
obj-json-parser v1.0.0
obj-parser
This is a NodeJS module that takes OBJ and MTL files (output from Maya, Blender ,etc.) and serializes the data to a JSON file.
The JSON file has the following schema:
{
"vertices": [...],
"normals": [...],
"uvs": [...],
"specularPower": 96.5,
"ambient": [0, 0, 0],
"diffuse": [0.5, 0.5, 0.5],
"specular": [0.5, 0.5, 0.5],
"alpha": 1
}
Some values may be missing from the JSON file, depending on what was provided by the OBJ and MTL files.
1.0.0
9 years ago