This project is read-only.
Project Description
PInvoke OpenGL in managed code. Generate classes from official spec at http://www.opengl.org/registry/.

Using Example:
using gl=ManagedOpenGL.OpenGLNative;
/*....*/
gl.Begin( BeginMode.Quads );
				
gl.TexCoord2f( 0, 1 );
gl.Vertex3f( -20, -20, 0 );
				
gl.TexCoord2f( 1, 1 );
gl.Vertex3f( +20, -20, 0 );
				
gl.TexCoord2f( 1, 0 );
gl.Vertex3f( +20, +20, 0 );
				
gl.TexCoord2f( 0, 0 );
gl.Vertex3f( -20, +20, 0 );

gl.End();

Screen Shots:
CubeMap:
CubeMap.jpg

Normal Map:
NormalMap.jpg

Brick Shader:
BrickShader.jpg

Render To Texture:
RenderToTexture.jpg

Env Cube Map:
EnvCubeMap1.jpg EnvCubeMap2.jpg

Last edited Dec 27, 2008 at 1:30 PM by werwolf, version 8