[GSoC 2012] Complete the DirectX 11 render system
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
What do you mean by "weird that WinRT support was merged in 1-9 before the D3D11 rendersystem itself" - where do you see that?
Watch out for my OGRE related tweets here.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
I think I see what you mean, I will try to fix it.
Watch out for my OGRE related tweets here.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
As I don't see the harm, I will just commit the d3d11 render system from the trunk to 1.9. I will do it in the next hour.
Watch out for my OGRE related tweets here.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
The difference is not that great, and the issue you found seems to be the only important one.
Watch out for my OGRE related tweets here.
-
- Goblin
- Posts: 231
- Joined: Thu Feb 12, 2009 3:49 pm
- Location: France
- x 13
Re: [GSoC 2012] Complete the DirectX 11 render system
I updated my Cg toolkit to 3.1, and rebuilt CgProgramManager but it still seems to fail. Open the Deferred Shading sample for example, it crashes when loading compositor. Same for Dual Quaternion Skinning sample. Samples with no shaders or pure HLSL works fine.
Code: Select all
13:36:14: WARNING: material DeferredShading/Shadows/Caster has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program DeferredShading/Shadows/CasterVP cannot be used - not supported.
13:36:14: CompositorChain: Compositor DeferredShading/GBuffer has no supported techniques.
13:36:14: WARNING: material DeferredShading/Post/ShowNormal has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program DeferredShading/post/vs cannot be used - not supported.
13:36:14: WARNING: material DeferredShading/Post/ShowNormal has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program DeferredShading/post/vs cannot be used - not supported.
13:36:14: CompositorChain: Compositor DeferredShading/ShowNormals has no supported techniques.
13:36:14: WARNING: material DeferredShading/Post/ShowDS has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program DeferredShading/post/vs cannot be used - not supported.
13:36:14: WARNING: material DeferredShading/Post/ShowDS has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program DeferredShading/post/vs cannot be used - not supported.
13:36:14: CompositorChain: Compositor DeferredShading/ShowDepthSpecular has no supported techniques.
13:36:14: WARNING: material DeferredShading/Post/ShowColour has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program DeferredShading/post/vs cannot be used - not supported.
13:36:14: WARNING: material DeferredShading/Post/ShowColour has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program DeferredShading/post/vs cannot be used - not supported.
13:36:14: CompositorChain: Compositor DeferredShading/ShowColour has no supported techniques.
13:36:14: WARNING: material ssao has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program ssao_vs cannot be used - not supported.
13:36:14: WARNING: material ssao has no supportable Techniques and will be blank. Explanation:
Pass 0: Vertex program ssao_vs cannot be used - not supported.
13:36:14: CompositorChain: Compositor DeferredShading/SSAO has no supported techniques.
Last edited by Xplodwild on Tue Aug 21, 2012 12:42 pm, edited 2 times in total.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
What render system?
Watch out for my OGRE related tweets here.
-
- Goblin
- Posts: 231
- Joined: Thu Feb 12, 2009 3:49 pm
- Location: France
- x 13
Re: [GSoC 2012] Complete the DirectX 11 render system
If I'm not mistaken Fresnel sample uses Cg too, but this one works.
I'm using D3D11 renderer, just synced from source, from the default branch. It works fine on D3D9.
I'm using D3D11 renderer, just synced from source, from the default branch. It works fine on D3D9.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
Yes, not all the samples work in the d3d11 render system. Sorry if that wasn't clear, I wrote in in the big commit comments:
7. Fixes to same samples so they will work with the d3d11 render system.
Note - the student didn't get to fix all the samples.
Watch out for my OGRE related tweets here.
-
- Goblin
- Posts: 231
- Joined: Thu Feb 12, 2009 3:49 pm
- Location: France
- x 13
Re: [GSoC 2012] Complete the DirectX 11 render system
Okay thanks for the explanation.
I hope Deferred will be fixed soon
I hope Deferred will be fixed soon

-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
Why do you need it?
Watch out for my OGRE related tweets here.
-
- Goblin
- Posts: 231
- Joined: Thu Feb 12, 2009 3:49 pm
- Location: France
- x 13
Re: [GSoC 2012] Complete the DirectX 11 render system
I'm using it in my project, so I'd love to see how it performs under DX11, and eventually enhance it.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
Shouldn't be hard, I will add it to my todo list.
Watch out for my OGRE related tweets here.
-
- Google Summer of Code Student
- Posts: 237
- Joined: Mon Apr 02, 2012 11:07 am
- x 42
Re: [GSoC 2012] Complete the DirectX 11 render system
I have discussed with Assaf Raman today, and because of some errors on the current fork (history, wrong commits), I will create a new fork and will continue to debug all the samples which are not working. Moreover, I will try to implement some more features to the directx 11 Render System. The multi-device support will be the first one, as from September I will have the possibility to work on a machine where I can test it. If you have any suggestions, what to implement to the Render System, or any other things please post it here, or the other thread which regards this render system (I will get notifications) and will answer
.

Google Summer of Code 2013 Student
Topic: "DirectX 11 & Tessellation samples"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Assaf Raman
Topic: "DirectX 11 & Tessellation samples"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Assaf Raman
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
Can you have a look at the "Facial Animation" sample?
Watch out for my OGRE related tweets here.
-
- Google Summer of Code Student
- Posts: 237
- Joined: Mon Apr 02, 2012 11:07 am
- x 42
Re: [GSoC 2012] Complete the DirectX 11 render system
Sure:-) I will try to debug it tonight or tomorrow:-)
Google Summer of Code 2013 Student
Topic: "DirectX 11 & Tessellation samples"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Assaf Raman
Topic: "DirectX 11 & Tessellation samples"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Assaf Raman
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
It is a parameters issue - change to manual - and see that if you change any of the default parameters - it has the issue.
Watch out for my OGRE related tweets here.
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
The student passed!
He did a great job, on time, and his code is now forever a part of OGRE code.
I hope he will also be a part of our small community in the future and I am looking foreword to working with him on this topic and many others.
Congratulation!

He did a great job, on time, and his code is now forever a part of OGRE code.
I hope he will also be a part of our small community in the future and I am looking foreword to working with him on this topic and many others.
Congratulation!

Watch out for my OGRE related tweets here.
-
- Ogre Magi
- Posts: 1255
- Joined: Sat Dec 25, 2010 2:55 pm
- Location: Macedonia
- x 81
Re: [GSoC 2012] Complete the DirectX 11 render system
Congratulations, robert! You did a great job! 

BitBucket username changed to iboshkov (from MindCalamity)
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
Do you need help? What have you tried?
- xavier
---------------------
HkOgre - a Havok Integration for OGRE | Simple SSAO | My Blog | My YouTube | My DeviantArt
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
Added the main items we did here to the road map.
Watch out for my OGRE related tweets here.
-
- Google Summer of Code Student
- Posts: 237
- Joined: Mon Apr 02, 2012 11:07 am
- x 42
Re: [GSoC 2012] Complete the DirectX 11 render system
Thanks for everything
. I will take a one week vacation (around 10 days) after that I will start to work again. Firstly I will try to do some bugfixes after that I will implement some more features to DirectX 11 Render System.
p.s. I haven't found yet the problem for the Facial sample, will work on after the holiday.

p.s. I haven't found yet the problem for the Facial sample, will work on after the holiday.
Google Summer of Code 2013 Student
Topic: "DirectX 11 & Tessellation samples"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Assaf Raman
Topic: "DirectX 11 & Tessellation samples"
Project links: Project thread, WIKI page, Code fork for the project
Mentor: Assaf Raman
-
- OGRE Team Member
- Posts: 185
- Joined: Mon Mar 24, 2008 4:54 pm
- Location: Kraków, Poland
- x 41
Re: [GSoC 2012] Complete the DirectX 11 render system
Congratulations!
-
- Gremlin
- Posts: 154
- Joined: Sun Jun 07, 2009 9:04 pm
- Location: Bogotá, Colombia
- x 4
Re: [GSoC 2012] Complete the DirectX 11 render system
Great job!!! congratulations.
I downloaded the src, and i want to try your progress there is something special i must to do, to compile and test the directx11 render system?
I downloaded the src, and i want to try your progress there is something special i must to do, to compile and test the directx11 render system?
Juan Camilo Acosta Arango
-
- Gremlin
- Posts: 154
- Joined: Sun Jun 07, 2009 9:04 pm
- Location: Bogotá, Colombia
- x 4
Re: [GSoC 2012] Complete the DirectX 11 render system
Hi,
Currently testing your work.

Currently testing your work.


Juan Camilo Acosta Arango
-
- OGRE Team Member
- Posts: 3092
- Joined: Tue Apr 11, 2006 3:58 pm
- Location: TLV, Israel
- x 76
Re: [GSoC 2012] Complete the DirectX 11 render system
Use the official 1.9 branch code - all the code is there...
Watch out for my OGRE related tweets here.
-
- Minaton
- Posts: 933
- Joined: Mon Mar 05, 2012 11:37 am
- Location: Germany
- x 110
Re: [GSoC 2012] Complete the DirectX 11 render system
Well, DirectX 11 is not working at my computer:
nVidia Quadro 2000M
Edit 2: It's only not working in debug configuration. But this is not a solution.
And I have a DirectX11 graphic card:08:55:20: D3D11 : Subsystem Initialising
08:55:20: OGRE EXCEPTION(7:InternalErrorException): Failed to create Direct3D11 object.
An undetermined error occurred
in D3D11RenderSystem::D3D11RenderSystem at ..\..\..\RenderSystems\Direct3D11\src\OgreD3D11RenderSystem.cpp (line 800)
nVidia Quadro 2000M
- DirectX: 11
- OpenGL: 4.3
- Shader Model: 5.0
Edit 2: It's only not working in debug configuration. But this is not a solution.