What library would be good for loading .obj vertices, normals and texture coordinates?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/C_Programming

Our great sponsors
  • Zigi - Delete the most useless function ever: context switching.
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • tinyobjloader-c

    Header only tiny wavefront .obj loader in pure C99

  • fast_obj

    Fast C OBJ parser

    I wanted to say try writing your own like I did, then I remember I made it in c++ with string & stringstream std lib :(. I don't know how much would it take you to write it yourself, might try it myself. After a quick search I think this one has a pure c version: https://github.com/thisistherk/fast_obj

  • Zigi

    Delete the most useless function ever: context switching.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

  • assimp

    The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.

    I believe assimp is C. There is an example here.

  • lre

    [PROTOTYPE] A portable "LEGO-like" game engine written in ANSI C using a virtual filesystem

  • phylab

    A platform to teach students physics concepts

    https://github.com/osen/phylab/blob/master/src/re/Mesh.c (Tool to teach physics to uni students)

  • libobj

    A library for loading Alias Wavefront OBJ files.

  • obj2js

    This tool will convert an Alias Wavefront OBJ model into Javascript arrays that are suitable for loading directly with WebGL.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts