This is libSOIL (Simple OpenGL Image Library) with modifications to the Makefile to let it install nicely on Mac OS X. By default, libSOIL.a will be installed in /usr/local/lib and the libSOIL headers will be installed in /usr/local/include/SOIL.
OpenGL Programming Guide for Mac. Drawing Offscreen. OpenGL applications may want to use OpenGL to render images without actually displaying them to the user. For example, an image processing application might render the image, then copy that image back to the application and save it to disk. They are easy to set up and save memory. Free 3D Engines, 2D Engines, Graphics Libraries / Source Code, Image Drawing Simple DirectMedia Layer. Simple DirectMedia Layer, or SDL, is a cross-platform C library that provides low level access to audio, keyboard, mouse, joystick and graphics hardware using OpenGL and Direct3D. Platforms supported include Windows, Mac OS X, Linux, iOS.
Stock Images
Forked from https://github.com/smibarber/libSOIL and incorporated changes from https://github.com/fenbf/SOIL_ext (commit 739ec6499f7befce10d3b6c37519c6b7fed6efea), which includes:
I have 5 libraries (one on a 128GB Mac, 4 on a 500GB external drive) and these are my steps:1- Make library on my mac the system library and upload all to iCloud.2- Make the smallest library on the external drive the system library and upload to iCloud without downloading the originals.3- Repeat 2 with the remaining Photo libraries on the external drive.4- Make the Library on my Mac the system library again and avoid downloading the originals.Now I have access to all my photos across: iPhone, iPad and all ma Macs.I will only download the original photos when there is enough space on my Mac. Merge itunes libraries from two macs mac. Great article!
Simple Opengl Image Library Machine
- [in progress] Added option to use immutable texture storage
- When possible (when extension is supported) library can create texture using glTextureStorage and then call glTexSubImage.
- See more here OpenGL wiki
- [done] Mipmap generation using glGenerateMipmap
- Original library scaled image to be POT and then used custom procedure to generate mipmaps. This can take some time.
- This change uses glGenerateMipmapEXT (if GL_EXT_framebuffer_object extension is available). This way Soil can create mipmaps for NPOT textures and use hardware support.
- New flag is added: SOIL_FLAG_GL_MIPMAPS. It can be passed to the SOIL_load_OGL_texture* procedures. If the extension (GL_EXT_framebuffer_object) is not supported then function uses the same process as when passing SOIL_FLAG_MIPMAPS.
- [done] upgraded to the version 1.33 of stb_image
- stb_image_write.c/.h were created. Those files contain missing functionality that was cut from the newer version of stbi (cut in 1.22)
- [done] Using only Modern OpenGL functionalities (when possible)
- CLAMP_TO_EDGE instead of GL_CLAMP
- glGetStringi instead of glGetString(GL_EXTENSIONS)
Clone this repo, make, make install. To install elsewhere, change the INCLUDEDIR and LIBDIR in the Makefile.
Simple Opengl Image Library Mac Download
Public domain.