Operating System: :Windows 10/UWP:
Render System: :D3D11:
I'm trying to setup Ogre with a WinRT/UWP (windows 10) Visual Studio 2017 project.
I followed this tutorial:
http://michaelcummings.net/mathoms/gett ... -projects/
I create a basic DirectX11 Xaml project, and i adapted the code to Ogre requirements: Create Root, Load plugins, Resources etc etc.
I'm using the following code:
I found a relevant post here in the forum:
Code: Select all
Ogre::NameValuePairList miscParams; miscParams["windowType"] = "SwapChainPanel"; miscParams["externalWindowHandle"] = Ogre::StringConverter::toString((size_t)reinterpret_cast<void*>(swap_chain_panel_)); mOgreRenderWindow = mOgreRoot->createRenderWindow("SampleOgreApp RenderWindow", 0, 0, false, &miscParams);
I posted this question (with less details) but the post is not visible.
RenderOne returns true, but nothing is displayed.
I'm struggling for a few days, definitely i need help !
Any tips, code fragments or a demo/sample project will be highly appreciated.
Thanks for reading this.