Lightweight OBJ mesh file loader for C/C++?

batty picture batty · May 14, 2009 · Viewed 12.2k times · Source

I'm looking for a simple lightweight Wavefront OBJ mesh file reader for C or C++. (ie. given a mesh in OBJ format, read it in from a file, and make it accessible, preferably as a list of vertices and triangles.) Recommendations?

It doesn't need to support material properties or any other fancy data that might be present - just the geometry is fine.

Answer

jirkamat picture jirkamat · Jul 9, 2011

Open Asset Import Library looks very promising. Plenty of formats is supported.