soil

Is there a way to split one texture into an array of them using SOIL in C++?

I'm using SOIL in my project, and I need to take in a single texture, and than convert it into an array of textures using different parts of the first texture. (To use a sprite sheet). I'm using SDL and OpenGL by the way. ...

OpenGL,SOIL library and a textured rectangular

I'm trying to make a simple textured rectangular in OpenGL using SOIL and GLUT. This is my Display function (executed in main by glutDisplayFunc(Display)): void Display () { GLuint tex_2d; glMatrixMode (GL_MODELVIEW); glLoadIdentity (); glClear (GL_COLOR_BUFFER_BIT); glClearColor (1.0,1.0,1.0,1.0); gluLookAt (e...

Compiling OpenGL SOIL on Mac OS X

How would I link in or compile SOIL (http://lonesock.net/soil.html) into my C++ OpenGL project on Mac OS X? ...