[GSoC 2012] Complete the DirectX 11 render system

Threads related to Google Summer of Code
Post Reply
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

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.
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

I think I see what you mean, I will try to fix it.
Watch out for my OGRE related tweets here.
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

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.
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

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.
User avatar
Xplodwild
Goblin
Posts: 231
Joined: Thu Feb 12, 2009 3:49 pm
Location: France
x 13
Contact:

Re: [GSoC 2012] Complete the DirectX 11 render system

Post by Xplodwild »

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.
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

What render system?
Watch out for my OGRE related tweets here.
User avatar
Xplodwild
Goblin
Posts: 231
Joined: Thu Feb 12, 2009 3:49 pm
Location: France
x 13
Contact:

Re: [GSoC 2012] Complete the DirectX 11 render system

Post by Xplodwild »

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.
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

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.
User avatar
Xplodwild
Goblin
Posts: 231
Joined: Thu Feb 12, 2009 3:49 pm
Location: France
x 13
Contact:

Re: [GSoC 2012] Complete the DirectX 11 render system

Post by Xplodwild »

Okay thanks for the explanation.
I hope Deferred will be fixed soon :)
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

Why do you need it?
Watch out for my OGRE related tweets here.
User avatar
Xplodwild
Goblin
Posts: 231
Joined: Thu Feb 12, 2009 3:49 pm
Location: France
x 13
Contact:

Re: [GSoC 2012] Complete the DirectX 11 render system

Post by Xplodwild »

I'm using it in my project, so I'd love to see how it performs under DX11, and eventually enhance it.
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

Shouldn't be hard, I will add it to my todo list.
Watch out for my OGRE related tweets here.
User avatar
robert_sasu
Google Summer of Code Student
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

Post by robert_sasu »

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
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

Can you have a look at the "Facial Animation" sample?
Watch out for my OGRE related tweets here.
User avatar
robert_sasu
Google Summer of Code Student
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

Post by robert_sasu »

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
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

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.
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

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!

Image
Watch out for my OGRE related tweets here.
User avatar
Mind Calamity
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

Post by Mind Calamity »

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
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

Added the main items we did here to the road map.
Watch out for my OGRE related tweets here.
User avatar
robert_sasu
Google Summer of Code Student
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

Post by robert_sasu »

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.
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
User avatar
Eugene
OGRE Team Member
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

Post by Eugene »

Congratulations!
User avatar
ja0335
Gremlin
Posts: 154
Joined: Sun Jun 07, 2009 9:04 pm
Location: Bogotá, Colombia
x 4
Contact:

Re: [GSoC 2012] Complete the DirectX 11 render system

Post by ja0335 »

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?
Juan Camilo Acosta Arango
User avatar
ja0335
Gremlin
Posts: 154
Joined: Sun Jun 07, 2009 9:04 pm
Location: Bogotá, Colombia
x 4
Contact:

Re: [GSoC 2012] Complete the DirectX 11 render system

Post by ja0335 »

Hi,

Currently testing your work. :D

Image
Juan Camilo Acosta Arango
User avatar
Assaf Raman
OGRE Team Member
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

Post by Assaf Raman »

Use the official 1.9 branch code - all the code is there...
Watch out for my OGRE related tweets here.
Transporter
Minaton
Posts: 933
Joined: Mon Mar 05, 2012 11:37 am
Location: Germany
x 110

Re: [GSoC 2012] Complete the DirectX 11 render system

Post by Transporter »

Well, DirectX 11 is not working at my computer:
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)
And I have a DirectX11 graphic card:
nVidia Quadro 2000M
  • DirectX: 11
  • OpenGL: 4.3
  • Shader Model: 5.0
Edit 1: The DirectX 11 examples of the DirectX SDK are working!

Edit 2: It's only not working in debug configuration. But this is not a solution.
Post Reply