acgessler / assimp2json

JSON exporter for Open Asset Import Library to make 3D models accessible from JS/WebGl
http://assimp.sf.net
Other
188 stars 44 forks source link

How to convert the OBJMTL models into json?? #3

Closed jothikannan closed 10 years ago

jothikannan commented 10 years ago

How can we convert the OBJMTL models into json, any command available to do it?? because the models should be here in object.obj and object.mtl files, how can we combine them and convert it into json??

acgessler commented 10 years ago

Build assimp2json as in the instruction and follow the documentation. Pass in the OBJ file, the importer fetches the MTL file automatically.