Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 732
batty Avatar asked May 14 '09 03:05

batty


1 Answers

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

like image 83
jirkamat Avatar answered Oct 14 '22 14:10

jirkamat