opentk icon indicating copy to clipboard operation
opentk copied to clipboard

I Need OpenTK with only Windows Support. No Math, No Audio. Only Windows + GLControl

Open AlexeyGapon opened this issue 9 years ago • 2 comments

Hello i need for my project OpenGL + C#. OpenTK is great but it is too complecated. Is there a chance to get a OpenTK with no strong name dependencies, no Crosspaltform support audio and math.

I need only OpenGL + WinForms Control. I need to change the name of the lnamespace and add my own math, audio and so on. How can i do that? Or may be there is version only OpenGL with all stuff + GLControl only for windows.

So i could add it to my project and change class names, remove unused code. And rebuild it with my project as one pice.

AlexeyGapon avatar Jun 20 '15 23:06 AlexeyGapon

First, the official repository has now moved to: https://github.com/opentk/opentk/

Second, you'd have to download the source code and start stripping away anything you didn't want by yourself. There isn't any existing way to remove the core functionality of OpenTK.

The math classes have very closely coupled with the OpenGL bindings, as there are overloads for a lot of functions that use the Vector/Matrix classes.

By changing OpenTK and not using it as the library it's supposed to be, you're also going to miss out on any bugfixes or changes made because you can't just drop in a new .dll

Third, even after changing the namespaces and moving things around, you'd still have to retain the copyright notice as per the MIT License at the top of each file in OpenTK.

Robmaister avatar Jun 21 '15 15:06 Robmaister

I see. Thank you!

AlexeyGapon avatar Jun 21 '15 18:06 AlexeyGapon