Portfolio

OPENGL CONTROL

Posted in DOTNET with 644 views.

Using interops I managed to use .NET with managed C++ code to use OpenGL within C#. Fully customizable to fit the application needs which it comes with a handy OpenGLPanel control that would be easily dropped to the form.

One project required me to use OpenGL, so I decided to attempt using it within C# .NET since it would be a great adventure.I used interops to use managed C++ within my .NET application. I could of used existing C# OpenGL like TAU.OpenGL or CSGL but I wanted to make a library from scratch so I would expand my learning in the .NET community.

Another reason why I wanted to make my own library is simply because it customized for what I wish my library to be.

My dynamic link library acts as a control. I include it within my references and a OpenGL Panel is visible in my control toolbox. When I drag and drop that control to my form, it will act as a OpenGL window.

Currently it has basic functionality, but the codebase will increase over time!

The code will be included shortly.