Create your own C ++ OpenGL 3D editor and use it as a WinForms or WPF control in C #

I want to create a simple 3D editor program, and I don't like programming windows in C ++. But I don't want to mess with managed code when using OpenGL. Thus, in native C ++, you can create a control on which the surface of an OpenGL 3D drawing will be placed without any other controls, as well as with an interface (methods and properties) and use it as a control in WinForms, or even better, WPF application?

+3
source share
5 answers

You can also use managed C ++. I created a simple OpenGL control for WinForms that fits your requirements. You can find more information about this here .

+5
source

Should there be OpenGL? Consider using XNA, which will allow you to use C # and DirectX. Otherwise, I suggest you find the C # shell for OpenGL. Here are two wrappers at http://www.opengl.org/resources/bindings/ .

+1
source

. , ++, OpenGL, opengl ui, winform wpf, .

++, . OpenGL, ++. ++ , OpenGL 3D, - ( , ), winform wpf?

WPF . wpf ui. . (WPF), opengl wpf.

, XNA http://www.opentk.com/(if OpenGL). Tao Framework .

+1

Ogre 3D (http://www.ogre3d.org). - ++ Open GL, DirectX. Qt, MFC .NET. .

0

, , ++, #

-1

Source: https://habr.com/ru/post/1769985/


All Articles