Finally, a DirectX 10 video driver for Irrlicht

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Granyte »

my suggestion for a quick prototyping use the visual studio 2012 solution and downgrade the platform to vc10 (visual studio 2010)

ill fix the solutions after the en of the week when my session ends
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

I hate Microsoft, really truly I do!

I don´t have VS 2012, and I don´t like to have it forced on me just so Microsoft can charge again for 99% the same software!

They´re also forcing the "upgrade" from DirectShow to MediaFoundation, which still doesn´t even support mpeg2!

Capitalism is evil!

I´ll wait for the fix on VS2010 I guess ;)
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Granyte »

You can open the vs2012 solution with vs2010 and then change it's property so that it compile with vs2010

•Right Click project
•Select Properties
•Select Configuration Properties
•General
•Platform Toolset

When you get to Platform Toolset, click on the v110 value which will be in the right column. You will see a drop down appear which will allow you to select v90, v100, or inherit. Of course, v100 is the correct answer.



I only used vs2012 for a month befor turning it around because it was really terrible right now i'm test driving vs2013
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

Tried that, setting Toolset to V100, and it compiled with errors.

Checked it again, and I see that in D3DCommon.h _MSC_VER is causing all the D3D stuff to be removed.

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */

#ifndef __ID3D10Blob_FWD_DEFINED__
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Granyte »

your problem is else where because mxc_ver 1020 is something like vs 2008
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

Its from the file at this path:-

c:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\D3Dcommon.h
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Nadro »

On svn you can get new revision, where multiple vertex buffers are supported (exclude video drivers). D3D9 and D3D11 drivers was disabled in last commit (compilation crash). I'll send fix for those drivers soon (with support for draw multiple vertex buffers).
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

Good to know that you are making progress. If I could get a compiled version I could start testing at least.
Seven
Posts: 1034
Joined: Mon Nov 14, 2005 2:03 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Seven »

using vc2013 and receiving "SHWBufferLink' : base class undefined" error
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Nadro »

In last commits logs you can find an info that D3D11 and D3D9 drivers are broken and disabled at default. You have to use older revision or wait for a fix.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

This is strange because people had this working before, endovian or something also had a release with DX11 working with most of the samples. So why are things seeming to go backwards?
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Nadro »

Because in the last time I changed vertex and hardware buffers handling (required eg. for an geometry instancing). Those changes affects video drivers too, thats why I had to temporairly disable D3D9 and D3D11 drivers. Of course everyone can prepare patch which will fix a current state. 1-2 weeks and all drivers should works as before, just new features will be available.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

Okay understood. Looking forward to testing the DX11 driver when ready...
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Nadro »

In the latest commit I fixed D3D9 driver. Fix for D3D11 will be available soon.

I'll be nice to see an updated for a current revision Zerochen's/Granyte's D3D9 instancing patch.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Granyte »

ill cheq how much the update break my patches and try to split my 3d texture and instancing patch while updating them to this revision
Post Reply