make coding in OpenGL easier
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
common
include
CMakeLists.txt
README.md

README.md

GLeasier

This project is the result from my OpenGL learning experience. We always have to setup too many things before we can actually draw something. This library does most of that. Well, for a condition.

You will use glfw3, glew, assimp, opencv(to load images and pre-processing them).

Here is an template of drawing procedures:

int main(int argc, char **argv)
{
	context contx(width, height, "window");

	ShaderMan shader("vs.glsl", "fs.glsl");
	
	DrawObj cubes(&shader);
	contx.append_drawObj(&cubes);
	//init() and run() functions handles all the complexities
	contx.init();
	contx.run();
}

An example to render shadows with this project. Shadow mapping

Instance by changing only one line one-line-instancing