View Full Version : openGL with c++/cli.NET
11-27-2008, 02:16 AM
Hi, I'm new in OpenGL and I have one question. I make application in c++.net and I need to show 3D space and draw planes and lines. My question : is OpenGL can work under c++.net and can I use GLUT or something other?
11-27-2008, 09:24 AM
Ckeck out the Tao bindings and the OpenTK library.
11-27-2008, 10:18 AM
11-27-2008, 12:23 PM
If you are using C++/CLI (in /clr or /clr:pure modes) or Managed C++ then you can use OpenGL in same way as from native code. No need to use managed libraries.
11-28-2008, 07:22 AM
That's a good strategy since it exposes some optimization possibilities in marshaling your own data. There's some overhead in passing huge arrays to GL through interop and API interaction in general either way though...
I really like the fact that you can bind and use OpenGL directly in C# (can't really do that with DX without an awful lot of work).
11-29-2008, 05:01 PM
There is Managed D3D10 http://www.codeplex.com/MD3D10, which is used also in FX Composer. It also has .NET wrappers for D3D9
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.