Rendering Ogre inside WPF and drawing controls | C# Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
r0ut
Halfling
Posts: 44
Joined: Mon Feb 22, 2021 6:25 pm
x 2

Rendering Ogre inside WPF and drawing controls | C#

Post by r0ut »

Ogre Version: 1.12.11
Operating System: Windows 10 Pro x64
Render System: DX11

Is there a way to render Ogre inside an WPF application like Mogro did? If yes, how can I achieve that? Is there a step-by-step guide?
Basically I want to be able to place WPF buttons above the render
r0ut
Halfling
Posts: 44
Joined: Mon Feb 22, 2021 6:25 pm
x 2

Re: Rendering Ogre inside WPF and drawing controls | C#

Post by r0ut »

paroj wrote: Wed Feb 24, 2021 2:38 pm does this help? https://github.com/OGRECave/ogre/blob/m ... informs.cs
Sadly no. It pops up a new window and it uses Windows Forms. I wanted to render my 3D objects inside an small area of my WPF application (not the on the whole window) so I can use my labels, textboxes and buttons
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Rendering Ogre inside WPF and drawing controls | C#

Post by paroj »

r0ut
Halfling
Posts: 44
Joined: Mon Feb 22, 2021 6:25 pm
x 2

Re: Rendering Ogre inside WPF and drawing controls | C#

Post by r0ut »

Yeah. I thought I could skip Mogro with the new C# Bindings in Ogro
Post Reply