Page 23 of 51

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Wed Aug 07, 2013 7:05 pm
by bdpdonp
Just curious if any progress has been made in this area?

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Wed Aug 14, 2013 4:55 pm
by ledgarl
I look forward to the new version of Irrlicht with these characteristics :)

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Fri Nov 29, 2013 6:55 pm
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).

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Wed Dec 04, 2013 9:20 pm
by Granyte
probably just an oversight the defines are quite a recent adition

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 05, 2013 1:36 pm
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

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 1:41 am
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.

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 2:13 am
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

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 12:22 pm
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

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 2:43 pm
by zerochen
works fine here. which files are missing?

edit: maybe this is relevant? http://msdn.microsoft.com/library/windo ... 63275.aspx

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 3:36 pm
by robmar
So which is the correct SDK, the latest DX11 or older one from 2010?

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 3:52 pm
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

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 4:13 pm
by robmar
I have Windows 7 64-bit though.

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 4:18 pm
by robmar
and it looks like there are problems with windows 7.1 sdk:-http://social.msdn.microsoft.com/Search ... earch&ac=2

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 5:13 pm
by zerochen
I have win7 64 bit too. You can use the win sdk 8.1 without risk.

Re: Finally, a DirectX 10 video driver for Irrlicht

Posted: Thu Dec 26, 2013 6:52 pm
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