7

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.

batty
  • 7,528
  • 9
  • 31
  • 30
  • Please take a look at [MeshLib](https://github.com/MeshInspector/MeshLib#readme), specifically you need the function `MR::MeshLoad::fromObj` – Fedor Oct 25 '22 at 17:13

1 Answers1

3

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

jirkamat
  • 1,776
  • 2
  • 15
  • 17