OpenGL and the .Net Framework, Quick Resources

Monday, February 27 2006

OpenGL Links and Resources

http://www.opengl.org/ - Home of OpenGL

OpenGL Forums on www.gamedev.net
http://www.gamedev.net/community/forums/forum.asp?forum_id=25

NeHe (Neon Helium Productions) on Gamedev.net, Basic Tutorial Series on OpenGL with Down-loadable C# and VB.Net Code.
http://nehe.gamedev.net/data/lessons/c_sharp/lesson01.zip

http://www.3d-seite.de/csopengl OpenGL.cs is a cSharp code file that wraps the Opengel functions, included is a list of the features and you can download it from the listed site.

  • Only one single C# 2.0 source file. No external assemblies or dlls.
  • No unsafe code.
  • Works only with .Net 2.0 because of Marshal.GetDelegateForFunctionPointer()
  • The prefix gl,glu or wgl is removed and replaced by the class name.
    e.g. gl.Begin(gl.Triangles);
  • Some Methods are overloaded for easier use.
    • gl.TexImage2D accepts Bitmap, Stream or filename.
    • gl.BufferData accepts all array types
    • gl.Gen* returns array or single value
    • gl.GetInfoLog returns string
    • ...
  • OpenGL.Context class wraps RC and DC handle

 

OpenGL Wrapper for C# (CSharp)
http://www.colinfahey.com/opengl_csharp/


OpenGl Engines for Managed Code

ExoEngine 3D Game Engine, An open source C# 3D game engine for Microsoft .NET based upon OpenGL and NVIDIA's Cg
http://www.exocortex.org/3dengine/

SDL.NET is a set of object-oriented CLS-compliant .NET bindings for the SDL gaming library and provides high-level access to audio, keyboard, mouse, joystick, TrueType fonts, various image formats, sound mixing, MPEG-1 movies, 2D video frame buffer and 3D hardware via OpenGL.

CsGL is OpenGL for the .Net Framework, providing support for OpenGL 1.1 - 1.4 and numerous extensions.
http://csgl.sourceforge.net/
http://sourceforge.net/projects/csgl
http://csgl.sourceforge.net/screenshots.html Screenshots

Unmanaged Code Tutorial Sites
Most of these sites are using C/C++ and these could either be used as a reference or for conversion to Managed Code. If any one does convert code please post so that others can learn.

http://www.spacesimulator.net/index.html

Codeproject and OpenGL

http://www.codeproject.com/csharp/sharpgl.asp
SharpGL, a C# OpenGL class library
SharpGL is a very simple, very powerful C# OpenGL class library, included is a Windows OpenGL control and Component, for editing directly in the visual environment.

http://www.codeproject.com/csharp/csOpenGL/csOpenGL_src.zip
Integrating C# and OpenGL - Don't want to wait anymore? Write your C# applications using OpenGL.

kick it on DotNetKicks.com kick it on gamedevkicks.com

Similar Posts

  1. DirectX SDK - August 2007 released
  2. XNA Codeplex Project Round up for the last Month
  3. Book Review - XNA Game Studio Creator's Guide
Clicky Web Analytics