Page 1 of 1
D3D10 Renderer
Posted: Fri Jan 11, 2008 13:51
by rajkosto
I ported the D3D9 renderer to D3D10, and I'm not really an expert in d3d, I might have done some things badly or suboptimal.
The source code is at the bottom, i use only vs2008 so i only have those project files, i don't know how to use your lua based premake system.
And it can't load TGA files because d3dx10 removed that.
http://www.mediafire.com/?10tiy9wlo4c
Posted: Fri Jan 11, 2008 19:44
by rajkosto
windowed mode with original 800x600 (note : the unmodified samples DO NOT create a 800x600 viewport, they create a 800x600 window which includes the title bar and stuff, in d3d10 if you create a smaller viewport than your swapchain it gets horribly blurry, so make sure you use a rect and AdjustWindowRect for overlapping and then use rc.right - rc.left, rc.bottom - rc.top for the window size)
EDIT : SORRY FOR ALL THAT LADS, IVE FIXED IT, JUST HAD TO REMOVE THE HALF PIXEL OFFSET THAT WAS REQUIRED FOR D3D9
THE SOURCE IN THE FIRST POST IS NOW OK
Posted: Sat Jan 12, 2008 08:44
by CrazyEddie
This is great
I can't test it since I do not have Windows Vista - but great work nonetheless.
Just to confirm - is it ok to incorporate this into CEGUI SVN at some stage if we so desire?
CE.
Posted: Sat Jan 12, 2008 13:04
by rajkosto
yes sure, just need to make the premake files and stuff
i can give you my hacked up version of the samplehelper dll so that samples can work with d3d10 too
Posted: Thu Apr 24, 2008 16:04
by Cypher
Does anyone have a mirror of this? I'd really really appreciate if someone could post one. Thanks.
Posted: Thu Apr 24, 2008 18:58
by CrazyEddie
Hi,
was it not you that I gave the link to on IRC last weekend? Or does my memory fail me?
http://pdt.myby.co.uk/cegui/files/d3d10renderer.zip
CE
Posted: Thu Apr 24, 2008 19:27
by Cypher
It was me, I fail and I lost it.
Fast reply. Thanks, that's a huge help.
I love your work btw, CEGUI has saved me a ridiculous amount of time in my project, you have no idea. Do you have a paypal address I can donate to?
Posted: Fri Apr 25, 2008 08:53
by CrazyEddie
hehe
Thanks for the kind words about CEGUI - it is always appreciated, and I'm happy that you have found the library useful.
As for donations, I'm going to try and get that set up again so they go through via the sourceforge donations system. In the mean time if you're truly desperate to lighten your wallet, you are free to donate directly via PayPal to:
ice-drezday@users.sourceforge.net
We are, of course, very appreciative of any and all donations made to the project.
CE.
Posted: Mon Jul 21, 2008 13:15
by rajkosto
oh cool you added this into the 0.6.1 branch
awesome
Posted: Tue Jul 22, 2008 08:27
by CrazyEddie
Yeah
Thanks again for contributing - it's much appreciated.
CE.
Posted: Tue Nov 04, 2008 09:16
by rise.worlds
good!
i like.