https://github.com/imamhs/openobj3d
A simple obj 3D file format parser and 3D mesh loader library for C
https://github.com/imamhs/openobj3d
3d-files 3d-mesh file-loader obj-parser opengl-tutorial
Last synced: 10 months ago
JSON representation
A simple obj 3D file format parser and 3D mesh loader library for C
- Host: GitHub
- URL: https://github.com/imamhs/openobj3d
- Owner: imamhs
- License: zlib
- Created: 2020-06-07T06:35:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-15T11:41:11.000Z (over 2 years ago)
- Last Synced: 2025-01-13T12:48:47.721Z (11 months ago)
- Topics: 3d-files, 3d-mesh, file-loader, obj-parser, opengl-tutorial
- Language: C
- Size: 59.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: License
Awesome Lists containing this project
README
OpenOBJ3D
--------------------------------------------------------------------------------------
This is a simple obj 3D file format parser and 3D mesh loader library.
Currently, texture and material both needs to be present in the obj file to be able load
mesh data into the program. See openobj3d.h for mesh definition. The example program shows
how to load an obj file into OpenGL program.
OpenOBJ3D is written in C, but should work with C++ natively.
To install OpenOBJ3D, execute build.sh script in the terminal.
After installing the library to compile your code using gcc just add -lopenobj3d in the compile command, e.g: gcc main.c /usr/lib/x86_64-linux-gnu/openobj3d.so
This library is distributed under zlib license. Please read License for more information
Enjoy!
Imam Hossain (emamhd@gmail.com)