SOL - Simple OpenGL Layer

Contents

Home
What is SOL?
Download
Example
License

SourceForge.net

SourceForge.net Logo
Project Page

Welcome!

Welcome to the Simple OpenGL Layer project page, I hope that you have the best of experiences with my software library.

What is LibSOL?

Simple OpenGL Layer (LibSOL) is an open-source C library written to lower the workload of the OpenGL application developer. LibSOL has three goals:

  • Ease of use.
  • Extreme small code. (Current Windows version requires 10 KB uncompressed.)
  • Even spread of platform support.

Example of LibSOL Usage

#include <SOL/SOL.h>
#include <GL/GL.h>

int main(int argc, char* argv[])
{
	//Make a structure of window properties
	static SOL_WINDOW window = {
			800,	//width
			600,	//height
			16,	//bits per pixel
			0};	//fullscreen, 1 = true
	
	//Create a window
	SOL_CreateWindow(&window);

	//Set the window caption
	SOL_SetWindowCaption("SOL Example Application");

	//Main loop
	while(SOL_Update()) {
		glClear(GL_COLOR_BUFFER_BIT);
	}

	//Destroy the window
	SOL_DestroyWindow();

	//Return
	return 0;
}

License

LibSOL is licensed under the Lesser GPL:

LESSER GENERAL PUBLIC LICENSE

SOL - Simple OpenGL Layer
Copyright (C) 2006 John DiSanti.

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA


Copyright © 2006 John DiSanti.