Finally, a DirectX 10 video driver for Irrlicht
Re: Finally, a DirectX 10 video driver for Irrlicht
Just curious if any progress has been made in this area?
Re: Finally, a DirectX 10 video driver for Irrlicht
I look forward to the new version of Irrlicht with these characteristics
Re: Finally, a DirectX 10 video driver for Irrlicht
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).
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
probably just an oversight the defines are quite a recent adition
Re: Finally, a DirectX 10 video driver for Irrlicht
@melAlso, i have experimented and got satisfactory results creating the SPHERE_MAP shader, and the REFLECTION_MAP
should come after soon enough.
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
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
hi,
that is the exact error?
maybe the sdk is not up to date?
http://msdn.microsoft.com/en-us/windows ... 52363.aspx
regards
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
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
works fine here. which files are missing?
edit: maybe this is relevant? http://msdn.microsoft.com/library/windo ... 63275.aspx
edit: maybe this is relevant? http://msdn.microsoft.com/library/windo ... 63275.aspx
Re: Finally, a DirectX 10 video driver for Irrlicht
So which is the correct SDK, the latest DX11 or older one from 2010?
Re: Finally, a DirectX 10 video driver for Irrlicht
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
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
I have Windows 7 64-bit though.
Re: Finally, a DirectX 10 video driver for Irrlicht
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
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
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
and also i'm unable to compile geometry shaders with the driver