Jump to content
  • Advertisement
Sign in to follow this  

LibSOL - Simple OpenGL Layer

This topic is 4508 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I wrote LibSOL as a small and simple framework to get your OpenGL applications up and running in as little time as possible, and size matters. My Windows build of LibSOL comes down to a 10.5 kilobyte dynamic link library, if thats not impressive I don't know what is. It currently runs on both Windows, and Linux. If someone could port it to Mac OS X that would be great, I do not have the resources to do that. Both mouse and keyboard input work too. So please give it a try! :) Note that there are no prebuilt binaries available for download, you will have to compile them. Here is a code example:
#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

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

	//Main loop
	while(SOL_Update()) {

	//Destroy the window

	return 0;

Project webpage: http://libsol.sf.net/ EDIT: Fixed the link.

Share this post

Link to post
Share on other sites
Looks really nice. You ought to add support for controlling the seutp of the stencil buffer, alpha buffer, etc...

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!