Skip to main content
gamedev.net
🔒 Locked

OpenGL using C#.NET

Started by Srinidhi 4 replies 2.6k views
Original Post
Srinidhi
Srinidhi
is it possible to code openGL in C# .NET. bcos i need to do some windowing + 3D stuffs ...any simple example or tutorial wud be of gr8 help
Kalasjniekof
Kalasjniekof
look into Tao
Quote:
from the Tao website
The Tao Framework is a collection of bindings and libraries to facilitate cross-platform games-related development utilizing the Mono and .NET platforms.

Currently supported are:

Cg - [Cg website (http://developer.nvidia.com/page/cg_main.html)]
DevIL - [DevIl website (http://openil.sourceforge.net)]
FreeGLUT - [FreeGlut website (http://freeglut.sourceforge.net)]
GLFW - [GLFW website (http://glfw.sourceforge.net/)]
GLU
ODE - [ODE website (http://www.ode.org/)]
OpenAL - [OpenAL website (http://openal.org/)]
OpenGL - [OpenGL website (http://opengl.org/)]
PhysicsFS - [PhysicsFS website (http://icculus.org/physfs/)]
SDL - [Sdl Website (http://www.libsdl.org)]
WGL

These libraries all run cross-platform and cross-runtime using Microsoft's .NET Runtime on Windows and Mono on Windows and non-Windows platforms.


Or, if you really want to, you can use P/Invoke.
bargasteh
bargasteh
Or you can have a look at this framwork, the basic version is free:

http://www.csharpopenglframework.com/
OpenGl + C++
Koetje
Koetje
For Tao you can use this excellent tutorial, found it alot of help to me (not much online documentation or anything)

www.taumuon.co.uk/jabuka

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.