"Hello World" in OpenGL 2.0, with matrix transformations
Switch branches/tags
Nothing to show
Clone or download
jckarter Merge pull request #1 from skeeto/typo-fix
In rotate_x, use argument rather than uniform.
Latest commit 1a705d8 Dec 3, 2015
Permalink
Failed to load latest commit information.
Makefile.MacOSX add a "hello-gl-dummy" version that just contains the glut setup code Mar 21, 2010
Makefile.Mingw trim needless whitespace from Makefile.Mingw Mar 27, 2010
Makefile.Unix add -lm to link command in Makefile.Unix Oct 3, 2010
Nmakefile.Windows another stupid typo in the Nmakefile Mar 27, 2010
README url; license May 11, 2012
hello-gl-dummy.c hello-gl-dummy.c: need to glutSwapBuffers() in stubbed-out render() Mar 28, 2010
hello-gl.c Merge ../hello-gl Apr 25, 2010
hello-gl.f.glsl pad out vertex array to four-element vectors, and pass timer instead … Mar 29, 2010
hello-gl.v.glsl typo in fade_factor calculation Apr 4, 2010
hello1.tga hello world opengl program Mar 19, 2010
hello2.tga hello world opengl program Mar 19, 2010
naive-perspective-rotation.v.glsl more vertex shaders for the tutorial Apr 4, 2010
orthographic-rotation.v.glsl more vertex shaders for the tutorial Apr 4, 2010
perspective-rotation.v.glsl more vertex shaders for the tutorial Apr 4, 2010
rotation.v.glsl typo in fade_factor calculation Apr 4, 2010
util.c util.c:file_contents: windows text files have fewer characters than b… Mar 28, 2010
util.h break out boring parts into a util.c file Mar 20, 2010
view-frustum-rotation.v.glsl In rotate_x, use argument rather than uniform. Nov 29, 2015
window-object-scaled-rotation.v.glsl more vertex shaders for the tutorial Apr 4, 2010
window-scaled-rotation.v.glsl more vertex shaders for the tutorial Apr 4, 2010

README

This is the source code for the "hello world" OpenGL application described in
chapter 3 of Joe Groff's OpenGL tutorial: 

http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Chapter-3:-3D-transformation-and-projection.html

You will need the GLUT <http://www.opengl.org/resources/libraries/glut/> and
GLEW <http://glew.sourceforge.net/> libraries to compile this program. It also
requires OpenGL 2.0 or later.

Do whatever you like with this source code.