OpenTK an excellent replacement for OpenGL in c#

The Open Toolkit is an advanced, low-level C# library that wraps OpenGL, OpenCL and OpenAL.It is suitable for games, scientific applications and any other project that requires 3d graphics, audio or compute functionality. In short its called OpenTK

It is not enough to tell what is OpenTk by these definition. Those who addicted with dotnet framework for them it is like a dream to use all of the power of OpenGL and OpenAl . To create fastest game with OpenGL with power of C# its really a dream we just need to download some small size dll and add them in the project, not to take the tension of huge library of OpenGL.

It is not the fast C# implementation of OpenGL but it is the best. There are some previous like csgl , taoframwork etc. but they incomplete and bound by some limitation . And now they are completely unable to keep with dotnetframework.

Every OpenGL function we can call by GL class. like  “glVertex2f(-2.0,-2.0) ” of opengl used in OpenTk as “GL.Vertex2(-2.0,-2.0)”
It has a very nice and flexible GUI options Cross-platform  GLControl (Windows.Forms) which can easily add in visual studio toolbox , GLWidget which is another rich and useful componnent for (GTK#) and WPFControl classes. And there is also a Native, high-performance GameWindow which is designed specifically for games u can develop a game faster than u think.

It also has a very useful api collection like  3D math toolkit supplies Vector, Matrix, Quaternion and Bezier structs. Input API provides Keyboard, Mouse and Joystick interfaces. Display API for multiple monitors. OpenTK.Compatibility supports Tao framework applications.

And if u want to think about platform in dependency it supports  32- and 64-bit versions of Windows, Linux and Mac OS X. No need for mismanaged libraries – compile once, run everywhere. and the gr8 thing is you are free to use, modify and redistribute the source code. Suitable for open- and closed-source projects alike.

So for C# i m sure u cant find anything better than OpenTK to replace OpenGL. but if u want to develop really professional level game i have to tell u that u are not in right track. Cpp is far better than C# for that. And u direly want to do that in C# use direct x or XNA.

Thanks for reading it

Advertisements

About kishor datta gupta

Graduate Research Assistant at University of Memphis Software Engineer at Silicon Orchard LTD. Former Research Assistant at Lamar University Former Software Engineer at Samsung R&D Institute Bangladesh Studies Ph.D. Computer Science at University of Memphis Studied Masters of Science in Computer Sciences at Lamar University Studied BSC in CSE at Khulna University of Engineering and Technology Studied HSC (completed) at Chittagang college 04-06 Studied High school at ST. Placid's High School'04 Studied Junior Secondary School at Saint Mary's School Lives in Memphis, Tennessee
This entry was posted in C#, OpenTK, Winform app and tagged , , , , . Bookmark the permalink.

2 Responses to OpenTK an excellent replacement for OpenGL in c#

  1. subseth says:

    Thank you very much for this conclusion about GL support in C#. Especialy thanks for the last paragraph.

  2. Mahantesh says:

    I wanted to develop a CAD like application in c#.when i searched ,every where they have suggested to use openTk,but from past two weeks i couldn’t find how to draw a simple line using it.so how do i use this openTk dll in my application?i have come till setting up GlControl on my form.so can you help in further process ?

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s