History: Mogre and WPF
Source of version: 5
Copy to clipboard
!!WPF
WPF is a modern SDK created by Microsoft for building GUIs in Windows. Many powerful Windows applications today, including Visual Studio 2010 and later, are built using WPF. WPF makes it easy to create sophisticated GUI controls that are composed of other controls. It also has support for animation, styling, and data binding. It optionally supports a declarative UI layout through a XML format called XAML.
UI toolkits for games are often simpler and less featureful than desktop-grade UI toolkits. Incorporating WPF into a Mogre application allows a developer to have a sophisticated UI and leverage the vast wealth of WPF resources available.
!!Methods of Combining WPF and Mogre
There are several ways of using WPF and Mogre together. Note that most are in an experimental state.
* __Mogre In WPF__: WPF supports D3DImage, which shows a D3D texture inside WPF.
** Article: [http://www.codeproject.com/Articles/29190/Blend-the-OGRE-Graphics-Engine-into-your-WPF-proje|Blend the OGRE Graphics Engine into your WPF projects]
** Project: [https://bitbucket.org/JaredThirsk/mogreinwpf/wiki/Home|MogreInWpf]
** Project: [https://bitbucket.org/Hormis/doublebufferedd3dimage/|Double buffered D3DImage] technique. D3DImage based Mogre and WPF interop at high FPS.
* __WPF in Mogre__:
** Article: [http://www.codeproject.com/Articles/59790/Use-a-screenshot-of-a-WPF-visual-as-a-texture-in-M|Use a screenshot of a WPF visual as a texture in Mogre]
* __WPF on Mogre__: A WPF window is layered on top of a standard WinForms window.
** Project: [https://bitbucket.org/Hormis/windowsinput/|Windowsinput by Hormis]
!!Interaction with Mogre
... how interaction works (Add both ways, which was describes by Hormis) ...
!!Example projects
... List the currently existing projects here (including link) and add a short description ...
!!See also
__Further information__
* forum link 1
* forum link 2
__GUI alternatives__
* ((Miyagi)) - Pure C# GUI system
* ((MyGUI)) - This GUI system has a .NET wrapper, which can be used for Mogre
* ((-GUI|GUI)) - An overview for Ogre GUI systems