Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/littlstar/soil
Simple OpenGL Image Library
https://github.com/littlstar/soil
c clib image library opengl texture
Last synced: 5 days ago
JSON representation
Simple OpenGL Image Library
- Host: GitHub
- URL: https://github.com/littlstar/soil
- Owner: littlstar
- License: mit
- Created: 2016-04-02T22:59:34.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-17T10:50:39.000Z (over 1 year ago)
- Last Synced: 2024-12-19T03:09:32.831Z (14 days ago)
- Topics: c, clib, image, library, opengl, texture
- Language: C
- Size: 107 KB
- Stars: 175
- Watchers: 13
- Forks: 52
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Simple OpenGL Image Library (SOIL)
==================================## Introduction
SOIL is a tiny C library used primarily for uploading textures into OpenGL.
It is based on `stb_image` version 1.16, the public domain code from Sean
Barrett (found here). It has been extended to load TGA and DDS files, and
to perform common functions needed in loading OpenGL textures. SOIL can
also be used to save and load images in a variety of formats.## Installation
With [clib](https://github.com/clibs/clib):
```sh
$ clib install littlstar/soil --save
```From source:
```sh
$ make
$ make install
```## Usage
SOIL is meant to be used as a static library (as it's tiny and in the public domain).
Simply `#include ` in your C or C++ file, link in the static
library, and then use any of SOIL's functions. The file `