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
bdpdonp
Posts: 68
Joined: Sat Oct 10, 2009 6:35 am

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by bdpdonp »

Just curious if any progress has been made in this area?
ledgarl
Posts: 30
Joined: Wed Oct 25, 2006 1:58 pm
Location: Bogota,Colombia

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by ledgarl »

I look forward to the new version of Irrlicht with these characteristics :)
AReichl
Posts: 269
Joined: Wed Jul 13, 2011 2:34 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by AReichl »

about D3D_FEATURE_LEVEL_11_1:

you already have a conditional compile statement:

#if WINVER>=0x0800
D3D_FEATURE_LEVEL RequestedLevels[] = { D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_11_0,
D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_10_0 };
#else
D3D_FEATURE_LEVEL RequestedLevels[] = { D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_10_1,
D3D_FEATURE_LEVEL_10_0 };
#endif

meaning: if no Win8-SDK installed, then ignore D3D_FEATURE_LEVEL_11_1.

But some lines below you use D3D_FEATURE_LEVEL_11_1, so there then is a compile error.

Can't you just use the same condition as above? Like this:

sprintf(msg, "Using %s device, feature level %s",
(DriverType == D3D_DRIVER_TYPE_HARDWARE) ? "hardware" : "warp",
#if WINVER>=0x0800
( FeatureLevel == D3D_FEATURE_LEVEL_11_1 ) ? "11.1" :
#endif
(FeatureLevel == D3D_FEATURE_LEVEL_11_0) ? "11.0" :
(FeatureLevel == D3D_FEATURE_LEVEL_10_1) ? "10.1" : "10.0");

If i do so, then i can compile with my "old" DirectX-SDK (June 2010).
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Granyte »

probably just an oversight the defines are quite a recent adition
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by zerochen »

Also, i have experimented and got satisfactory results creating the SPHERE_MAP shader, and the REFLECTION_MAP
should come after soon enough.
@mel
can you provide a patch for it before we will lose the changes?

@AReichl

i remember that i added this because the 11.1 feature level doesnt work on my win7 64bit system. i throuht it was a problem of the new win sdk (at that time it was new).

regards
zerochen

edit: ah, i changed that already but never post the patch.

http://www.file-upload.net/download-836 ... patch.html
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

Just downloaded the last version of this driver and the examples fail to create the DX11 device. Usinf Windows 7 64-bit with latest DX driver updates.
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by zerochen »

hi,

that is the exact error?

maybe the sdk is not up to date?
http://msdn.microsoft.com/en-us/windows ... 52363.aspx

regards
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Granyte »

Actualy the windows 8 sdk is unusable it lack several include files and when you try to install dxsdk on top of it to fill in it just fails
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by zerochen »

works fine here. which files are missing?

edit: maybe this is relevant? http://msdn.microsoft.com/library/windo ... 63275.aspx
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

So which is the correct SDK, the latest DX11 or older one from 2010?
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by zerochen »

that one that is shipped with the win sdk 8. you can download here as i wrote earlier. http://msdn.microsoft.com/en-us/windows ... 52363.aspx

the win sdk 8.1 works too: http://msdn.microsoft.com/en-US/windows ... p/aa904949
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

I have Windows 7 64-bit though.
robmar
Posts: 1125
Joined: Sun Aug 14, 2011 11:30 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by robmar »

and it looks like there are problems with windows 7.1 sdk:-http://social.msdn.microsoft.com/Search ... earch&ac=2
zerochen
Posts: 273
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by zerochen »

I have win7 64 bit too. You can use the win sdk 8.1 without risk.
Granyte
Posts: 850
Joined: Tue Jan 25, 2011 11:07 pm
Contact:

Re: Finally, a DirectX 10 video driver for Irrlicht

Post by Granyte »

I run windows 8.1 and both my machine failed to compile irrlicht with missing d3dCompile.h


and also i'm unable to compile geometry shaders with the driver
Post Reply