Help with WinRT/UWP (Windows 10) nothing is rendered

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
ptp
Gnoblar
Posts: 2
Joined: Tue Feb 05, 2019 2:56 am

Help with WinRT/UWP (Windows 10) nothing is rendered

Post by ptp » Thu Feb 07, 2019 12:37 am

Ogre Version: :1.11.5:
Operating System: :Windows 10/UWP:
Render System: :D3D11:

Hello Everyone!

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:

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 found a relevant post here in the forum:
viewtopic.php?t=93550

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.
0 x

Post Reply