{"id":30691233,"url":"https://github.com/jtsiomb/meshfile","last_synced_at":"2025-09-02T03:46:09.624Z","repository":{"id":269337977,"uuid":"907030319","full_name":"jtsiomb/meshfile","owner":"jtsiomb","description":"Simple C library for reading/writing 3D mesh file formats.","archived":false,"fork":false,"pushed_at":"2025-04-04T06:50:59.000Z","size":127,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T07:33:48.320Z","etag":null,"topics":["3ds-loader","gltf","gltf-loader","mesh-loading","obj-loader","stl-loader","wavefront-obj"],"latest_commit_sha":null,"homepage":"http://nuclear.mutantstargoat.com/sw/meshfile/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtsiomb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-22T16:07:31.000Z","updated_at":"2025-04-04T06:51:03.000Z","dependencies_parsed_at":"2024-12-22T21:22:22.686Z","dependency_job_id":"6174216f-4405-417d-aac4-41c20cf76f5b","html_url":"https://github.com/jtsiomb/meshfile","commit_stats":null,"previous_names":["jtsiomb/meshfile"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jtsiomb/meshfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsiomb%2Fmeshfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsiomb%2Fmeshfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsiomb%2Fmeshfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsiomb%2Fmeshfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtsiomb","download_url":"https://codeload.github.com/jtsiomb/meshfile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtsiomb%2Fmeshfile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273227418,"owners_count":25067685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3ds-loader","gltf","gltf-loader","mesh-loading","obj-loader","stl-loader","wavefront-obj"],"created_at":"2025-09-02T03:46:05.511Z","updated_at":"2025-09-02T03:46:09.619Z","avatar_url":"https://github.com/jtsiomb.png","language":"C","readme":"meshfile library\n================\n\n![GNU/Linux build status](https://github.com/jtsiomb/meshfile/actions/workflows/build_gnulinux.yml/badge.svg)\n![Windows (MinGW) build status](https://github.com/jtsiomb/meshfile/actions/workflows/build_win_mingw.yml/badge.svg)\n\nAbout\n-----\nMeshfile is a simple C library for reading and writing 3D mesh file formats. It\nreads/writes:\n\n - Indexed triangle meshes, multiple objects per file, with a number of optional\n   pre-defined vertex attributes. No quads, n-gons, strips, or fans.\n - Materials with a number of common pre-defined material attributes, each\n   optionally combined with a texture map (filename/path).\n - Optional transformation node hierarchy.\n\nAnimations are explicitly outside of the scope of this library.\n\nMeshfile is very simple to use, and comes with two example programs:\n - meshview: an OpenGL 3D model viewer\n - meshconv: a converter between any of the supported 3D file formats\n\nFile formats\n------------\nHere's a list of currently supported file formats, and any caveats for each one.\n\n - Wavefront OBJ\n - JTF (Just Triangle Faces): http://runtimeterror.com/tech/jtf\n - GLTF (OpenGL Transmission Format): currently read-only\n - 3DS (3D Studio)\n - STL (Stereolithography): binary only\n\nDownload\n--------\nProject website: http://nuclear.mutantstargoat.com/sw/meshfile\nGithub source code repo: https://github.com/jtsiomb/meshfile\n\nYou can find all the meshfile releases at the project website, and the github\nreleases page:\n - http://nuclear.mutantstargoat.com/sw/meshfile/releases\n - https://github.com/jtsiomb/meshfile/releases\n\nYou can also obtain the latest source code directly from the git repo:\n`git clone https://github.com/jtsiomb/meshfile.git`\n\n\nUsing meshfile\n--------------\nThere are two ways to use meshfile:\n 1. build and install it system-wide (`make \u0026\u0026 make install`). Then just include\n    `meshfile.h` in your program and link with `-lmeshfile`.\n 2. drop the contents of `src` and `include` directories into a subdir of your\n    program and build it as part of your own build. It has no dependencies, so\n    it should be as easy as just adding the list of `.c` files to your build.\n\nMeshfile being released under the terms of the GNU LGPL, the second method is\nonly possible if your program is free software.\n\nPlease note that before v1.0 is released, there is no guarantee for API/ABI\nstability.\n\nLicense\n-------\nCopyright (C) 2025 John Tsiombikas \u003cnuclear@mutantstargoat.com\u003e\n\nThis program is free software. Feel free to run, modify and/or redistribute\nunder the terms of the GNU Lesser General Public License v3, or at your option\nany later version published by the Free Software Foundation. \nSee COPYING and COPYING.LESSER for details.\n\nBuild\n-----\nTo build meshfile on UNIX, simply run `make`. The meshfile library has zero\ndependencies other than libc. Run `make install` as root to install it under the\n`/usr/local` prefix. You can change the prefix by editing the first line of the\n`Makefile`.\n\nThere's also an example mesh viewer program as part of the meshfile\ndistribution. To build and install that change into `meshview` and run `make`\nand `make install` again. For the meshview dependencies and build instructions,\nrefer to the `meshview/README.md` file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtsiomb%2Fmeshfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtsiomb%2Fmeshfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtsiomb%2Fmeshfile/lists"}